Sensors sending data via MQTT. Was working until upgraded to 8.15.1
Sensors are publishing to MQTT broker:
{“Time”:“1970-01-01T00:28:16”,“EZO-1”:{“pH”:5.83},“EZO-2”:{“EC”:1736.000},“EZO-3”:{“Temperature”:19.9},“TempUnit”:“C”}
Put Input in debug mode.
Damon Log:
2023-01-15 23:18:45,336 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Found key: “EZO-1”.pH, value: 6.01
2023-01-15 23:18:45,344 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Adding measurement to influxdb: {0: {‘measurement’: ‘ion_concentration’, ‘unit’: ‘pH’, ‘value’: 6.01, ‘timestamp_utc’: datetime.datetime(2023, 1, 16, 4, 18, 45, 336097)}}
2023-01-15 23:18:45,362 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Searching JSON for “EZO-2”.EC
2023-01-15 23:18:45,368 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Found key: “EZO-2”.EC, value: 1741.0
2023-01-15 23:18:45,522 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Adding measurement to influxdb: {0: {‘measurement’: ‘ion_concentration’, ‘unit’: ‘pH’, ‘value’: 6.01, ‘timestamp_utc’: datetime.datetime(2023, 1, 16, 4, 18, 45, 336097)}, 1: {‘measurement’: None, ‘unit’: ‘ppm’, ‘value’: 940.14, ‘timestamp_utc’: datetime.datetime(2023, 1, 16, 4, 18, 45, 336097)}}
2023-01-15 23:18:45,530 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Searching JSON for “EZO-3”.Temperature
2023-01-15 23:18:45,532 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Found key: “EZO-3”.Temperature, value: 20.0
2023-01-15 23:18:45,616 - DEBUG - mycodo.inputs.mqtt_paho_json_530f5dbb - Adding measurement to influxdb: {0: {‘measurement’: ‘ion_concentration’, ‘unit’: ‘pH’, ‘value’: 6.01, ‘timestamp_utc’: datetime.datetime(2023, 1, 16, 4, 18, 45, 336097)}, 1: {‘measurement’: None, ‘unit’: ‘ppm’, ‘value’: 940.14, ‘timestamp_utc’: datetime.datetime(2023, 1, 16, 4, 18, 45, 336097)}, 2: {‘measurement’: None, ‘unit’: ‘F’, ‘value’: 68.0, ‘timestamp_utc’: datetime.datetime(2023, 1, 16, 4, 18, 45, 336097)}}
pH and Temperature are being logged, EC is not.
Ideas?