Habe heute den S4 und den p4d nach der Sommerpause wieder in Betrieb genommen.
Läuft alles, bis auf die Anzeige der 1W- und SMI260-Daten, s. die Warnings.
Hat einer einen Tip?
Code
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x1ea46aa' (28-082101ea46aa), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x352f4ed' (28-00000352f4ed), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x3f8e845' (28-000003f8e845), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x3f8edac' (28-000003f8edac), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x3f91bac' (28-000003f91bac), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x3f92507' (28-000003f92507), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x49bab02' (28-0000049bab02), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x49c867c' (28-0000049c867c), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x56766b8' (28-0000056766b8), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x567d1f9' (28-00000567d1f9), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x568660c' (28-00000568660c), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x5dde208' (28-000005dde208), skipping store
Sep 30 14:23:46 odroid-x2 p4d: Warning: Missing data stamp of 'W1:0x73db127' (3b-2c98073db127), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x01' (I Status), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x02' (I Energy), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x03' (I Power), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x04' (I Max Power), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x05' (I Power On), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x06' (I DC Voltage), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x07' (I Temperature DC/AC), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x08' (I Temperature DC/DC), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x09' (I Frequency), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x0a' (II Status), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x0b' (II Energy), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x0c' (II Power), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x0d' (II Max Power), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x0e' (II Power On), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x0f' (II DC Voltage), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x10' (II Temperature DC/AC), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x11' (II Temperature DC/DC), skipping store
Sep 30 14:24:46 odroid-x2 p4d: Warning: Missing data stamp of 'SMI260:0x12' (II Frequency), skipping store
Display More
Code
root@odroid-x2:/usr# service w1mqtt status
● w1mqtt.service - W1 to MQTT service
Loaded: loaded (/etc/systemd/system/w1mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-09-30 11:43:21 CEST; 3h 14min ago
Process: 10198 ExecStart=/usr/local/bin/w1mqtt $W1MQTT_OPTS (code=exited, status=0/SUCCESS)
Main PID: 10199 (w1mqtt)
CPU: 1min 9.920s
CGroup: /system.slice/w1mqtt.service
└─10199 /usr/local/bin/w1mqtt -u tcp://localhost:1883
Sep 30 11:54:34 odroid-x2 w1mqtt[10199]: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded
Sep 30 11:54:34 odroid-x2 w1mqtt[10199]: Error: mqtt_sync for connection '' failed, result was -2147483631 'MQTT_ERROR_SOCKET_ERROR'
Sep 30 11:54:34 odroid-x2 w1mqtt[10199]: MQTT: Publish W1 data to topic 'p4d2mqtt/w1'
Sep 30 11:54:34 odroid-x2 w1mqtt[10199]: Error: MQTT: Can't write to topic 'p4d2mqtt/w1', not connected
Sep 30 11:54:58 odroid-x2 w1mqtt[10199]: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded
Sep 30 11:54:58 odroid-x2 w1mqtt[10199]: Error: mqtt_sync for connection '' failed, result was -2147483631 'MQTT_ERROR_SOCKET_ERROR'
Sep 30 11:54:58 odroid-x2 w1mqtt[10199]: MQTT: Publish W1 data to topic 'p4d2mqtt/w1'
Sep 30 11:54:58 odroid-x2 w1mqtt[10199]: Error: MQTT: Can't write to topic 'p4d2mqtt/w1', not connected
Sep 30 11:55:21 odroid-x2 w1mqtt[10199]: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded
Sep 30 11:55:21 odroid-x2 w1mqtt[10199]: MQTT: Publish W1 data to topic 'p4d2mqtt/w1'
Display More
Code
root@odroid-x2:/etc/systemd/system# service smi260top4d status
● smi260top4d.service - SMI to p4d mqtt converter daemon
Loaded: loaded (/etc/systemd/system/smi260top4d.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-09-30 11:14:42 CEST; 3h 45min ago
Main PID: 5434 (smi260top4d)
CPU: 2.945s
CGroup: /system.slice/smi260top4d.service
└─5434 /usr/local/bin/smi260top4d -n -t -c /etc/p4d/smi260top4d.conf -u tcp://localhost:1883 >/dev/null
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: Error: mqtt_sync for connection '' failed, result was -2147483631 'MQTT_ERROR_SOCKET_ERROR'
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: ::recv() result was (4294967295) 'Transport endpoint is not connected'
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: Error: mqtt_sync for connection '' failed, result was -2147483631 'MQTT_ERROR_SOCKET_ERROR'
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: ::recv() result was (4294967295) 'Transport endpoint is not connected'
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: Error: mqtt_sync for connection '' failed, result was -2147483631 'MQTT_ERROR_SOCKET_ERROR'
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: MQTT: Connecting publisher to 'tcp://localhost:1883' succeeded
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: ::recv() result was (4294967295) 'Transport endpoint is not connected'
Sep 30 11:28:44 odroid-x2 smi260top4d[5434]: Error: mqtt_sync for connection '' failed, result was -2147483631 'MQTT_ERROR_SOCKET_ERROR'
Display More
Zusätzlich sensor Topics: p4d2mqtt/w1/#, p4d2mqtt/smi260