Hello Kyle , unfortunately i have an error that i don’t understand the ec and ph sensors keep breaking off the measurements.
I have to disconnect the raspberry from the power supply and reconnect it so that the measurements can be read again
Do I understand correctly that I made a mistake with the calibration and the sensor wants to be calibrated.
thank you very much for your time and your efforts.
2023-04-24 22:07:31,023 - DEBUG - mycodo.inputs.atlas_ec_ae1dba21 - Device Returned: success: 792.3,428,0.39,1.000
2023-04-24 22:07:31,046 - DEBUG - mycodo.controllers.controller_input_ae1dba21 - Adding measurements to InfluxDB with ID ae1dba21-c9d3-475b-8fb7-c0dfa9d2f7a3: {0: {‘measurement’: ‘electrical_conductivity’, ‘unit’: ‘uS_cm’, ‘value’: 792.3, ‘timestamp_utc’: datetime.datetime(2023, 4, 24, 20, 7, 31, 24342)}, 1: {‘measurement’: ‘total_dissolved_solids’, ‘unit’: ‘ppm’, ‘value’: 428.0, ‘timestamp_utc’: datetime.datetime(2023, 4, 24, 20, 7, 31, 24375)}, 2: {‘measurement’: ‘salinity’, ‘unit’: ‘ppt’, ‘value’: 0.39, ‘timestamp_utc’: datetime.datetime(2023, 4, 24, 20, 7, 31, 24401)}, 3: {‘measurement’: ‘specific_gravity’, ‘unit’: ‘unitless’, ‘value’: 1.0, ‘timestamp_utc’: datetime.datetime(2023, 4, 24, 20, 7, 31, 24426)}}
2023-04-24 22:07:53,595 - DEBUG - mycodo.inputs.atlas_ph_d9db2574 - pH sensor set to calibrate temperature
2023-04-24 22:07:53,754 - DEBUG - mycodo.inputs.atlas_ph_d9db2574 - Latest temperature used to calibrate: 22.75
2023-04-24 22:07:54,775 - DEBUG - mycodo.inputs.atlas_ph_d9db2574 - Calibration returned: ‘0’, ‘’
2023-04-24 22:07:55,282 - DEBUG - mycodo.inputs.atlas_ph_d9db2574 - Stored temperature value (‘success’, ‘\x01?T,22.75\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’)
2023-04-24 22:07:56,790 - DEBUG - mycodo.inputs.atlas_ph_d9db2574 - Device Returned: success: 6.020
2023-04-24 22:07:56,795 - DEBUG - mycodo.controllers.controller_input_d9db2574 - Adding measurements to InfluxDB with ID d9db2574-f46f-40e9-afba-4b0ef5fb473a: {0: {‘measurement’: ‘ion_concentration’, ‘unit’: ‘pH’, ‘value’: 6.02, ‘timestamp_utc’: datetime.datetime(2023, 4, 24, 20, 7, 56, 790679)}}
2023-04-24 22:07:58,320 - DEBUG - mycodo.inputs.atlas_ec_ae1dba21 - pH sensor set to calibrate temperature
2023-04-24 22:07:58,508 - DEBUG - mycodo.inputs.atlas_ec_ae1dba21 - Latest temperature used to calibrate: 22.75
2023-04-24 22:07:59,511 - DEBUG - mycodo.inputs.atlas_ec_ae1dba21 - Calibration returned: 1, [Errno 121] Remote I/O error
2023-04-24 22:07:59,512 - DEBUG - mycodo.inputs.atlas_ec_ae1dba21 - Device Returned: error: [Errno 121] Remote I/O error
2023-04-24 22:07:59,513 - DEBUG - mycodo.inputs.atlas_ec_ae1dba21 - Sensor read unsuccessful: [Errno 121] Remote I/O error