I’m working on using a NodeMCU with Tasmoto to access the readings from Atlas Scientific pH, EC, and Temp sensors all connected to the NodeMCU via I2C.
Everything seems to be working. NodeMCU sees the sensors.
When troubleshooting with mosquitto_sub its showing it’s receiving the readings, and that I have the topic right:
{“Time”:“1970-01-01T01:35:12”,“EZO-1”:{“pH”:14.00},“EZO-2”:{“EC”:4.640},“EZO-3”:{“Temperature”:-1023.0},“TempUnit”:“C”}
I setup a MQTT input with three measurements. Ch0: pH; CH1: EC, CH3: Temperature.
Mycodo daemon is showing the errors:
Error processing message payload ‘{“Time”:“1970-01-01T01:32:12”,“EZO-1”:{“pH”:14.00},“EZO-2”:{“EC”:4.240},“EZO-3”:{“Temperature”:-1023.0},“TempUnit”:“C”}’: could not convert string to float: ‘{“Time”:“1970-01-01T01:32:12”,“EZO-1”:{“pH”:14.00},“EZO-2”:{“EC”:4.240},“EZO-3”:{“Temperature”:-1023.0},“TempUnit”:“C”}’
Any idea of the cause?