Hey,
Long story short:
I am struggling with the calibration of the pH probe of AtlasScientific. I am not sure whether there is a problem related to hardware or a software. i hope some of you had a similar issue and found a solution that also may fit in my case.
System information:
Click to view
Mycodo Version: 8.12.9
Python Version: 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110]
Database Version: 0187ea22dc4b
Linux raspberrypi 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: β β β β β β β β
10: β β β β β β β β β β β β β β β β
20: β β β β β β β β β β β β β β β β
30: β β β β β β β β β β β β β β β β
40: β β β β β β β β β β β β β β β β
50: β β β β β β β β β β β β β β β β
60: β β β 63 64 β 66 β β β β β β β β β
70: β β β β β β β β
[ 8.089005] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 8.089522] bcmgenet fd580000.ethernet eth0: Link is Down
[ 13.638173] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 14.081206] Bluetooth: Core ver 2.22
[ 14.081280] NET: Registered protocol family 31
[ 14.081287] Bluetooth: HCI device and connection manager initialized
[ 14.081303] Bluetooth: HCI socket layer initialized
[ 14.081313] Bluetooth: L2CAP socket layer initialized
[ 14.081329] Bluetooth: SCO socket layer initialized
[ 14.088121] Bluetooth: HCI UART driver ver 2.3
[ 14.088133] Bluetooth: HCI UART protocol H4 registered
[ 14.088200] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 14.088379] Bluetooth: HCI UART protocol Broadcom registered
[ 14.327514] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.327523] Bluetooth: BNEP filters: protocol multicast
[ 14.327537] Bluetooth: BNEP socket layer initialized
[ 14.343182] NET: Registered protocol family 38
[ 14.361931] cryptd: max_cpu_qlen set to 1000
[ 15.283760] ICMPv6: process `dhcpcdβ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[ 31.834848] vcc-sd: disabling
I am using the Whitebox Tentacle Shield T3 with a RaspberryPi4 in combination with the ezo circuits for pH, EC and temperature. Everything seems to run fine, I set up mycodo without problems and I am able to get signals from every sensor. The temperature readings are fine, as well as the calibration and readings for the EC sensor.
Long story:
I followed the instructions for the calibration procedure as described on the input screen. I used multiple brand new calibration kits from atlas scientific for this. I cleaned the probe with water between the different solutions. I let the probe in the solutions for about 2 minutes so that the measurement signal is stable before doing the calibration.
What did I do:
- Clearing the calibration
- Setting the temperature compensation manually (from the second attempt)
- Put the probe in the pH7 solution and doing the calibration
- Put the probe in the pH4 solution and doing the calibration
- Put the probe in the pH10 solution and doing the calibration
- Cross check if the measurement is still correct when putting back in the pH 4 solution
Below you can find multiple log files from the daemon and pictures of the measurment. I hope it is comprehensible for you.
What really makes me curious are these lines in the log files:
2022-02-18 19:06:00,317 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,mid,7.00
2022-02-18 19:06:00,319 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 19:06:00,320 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
This appeares after every calibration and tells me that the device is never calibrated completely?
Attempt 1: temperature compensation with sensor
2022-02-18 16:13:58,809 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.806
2022-02-18 16:13:59,824 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:14:01,345 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.993, 'timestamp_utc': None}}
2022-02-18 16:14:13,742 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.809
2022-02-18 16:14:14,757 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:14:16,268 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.991, 'timestamp_utc': None}}
2022-02-18 16:14:23,700 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,low,4.00
2022-02-18 16:14:23,701 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:14:23,703 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:14:28,766 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.81
2022-02-18 16:14:29,774 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:14:31,295 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 4.668, 'timestamp_utc': None}}
2022-02-18 16:14:43,798 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.813
2022-02-18 16:14:44,813 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:14:46,326 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 4.668, 'timestamp_utc': None}}
2022-02-18 16:14:58,830 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.814
2022-02-18 16:14:59,839 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:15:01,359 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 3.82, 'timestamp_utc': None}}
2022-02-18 16:15:13,754 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.815
2022-02-18 16:15:14,769 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:15:16,288 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 4.329, 'timestamp_utc': None}}
2022-02-18 16:15:28,793 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.815
2022-02-18 16:15:29,808 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:15:31,319 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 4.16, 'timestamp_utc': None}}
2022-02-18 16:21:43,824 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.829
2022-02-18 16:21:44,838 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:21:46,349 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.004, 'timestamp_utc': None}}
2022-02-18 16:21:58,743 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.83
2022-02-18 16:21:59,757 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:22:01,267 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.001, 'timestamp_utc': None}}
2022-02-18 16:22:13,792 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.83
2022-02-18 16:22:14,799 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:22:16,318 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.001, 'timestamp_utc': None}}
2022-02-18 16:22:21,156 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,high,10.00
2022-02-18 16:22:21,160 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:22:21,161 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:22:28,827 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.832
2022-02-18 16:22:29,842 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:22:31,363 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.946, 'timestamp_utc': None}}
2022-02-18 16:22:43,767 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.832
2022-02-18 16:22:44,775 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:22:46,296 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.0, 'timestamp_utc': None}}
2022-02-18 16:22:58,821 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.833
2022-02-18 16:22:59,828 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:23:01,349 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.925, 'timestamp_utc': None}}
2022-02-18 16:23:13,755 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.836
2022-02-18 16:23:14,770 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:23:16,291 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.0, 'timestamp_utc': None}}
Attempt 2: With manual temp compensation
2022-02-18 16:35:49,176 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,clear
2022-02-18 16:35:49,177 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:35:49,178 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:35:56,267 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - pH sensor set to calibrate temperature
2022-02-18 16:35:56,360 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.952
2022-02-18 16:35:57,367 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:35:58,888 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 16:36:11,222 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - pH sensor set to calibrate temperature
2022-02-18 16:36:11,287 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Latest temperature used to calibrate: 23.958
2022-02-18 16:36:12,302 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration returned: 0,
2022-02-18 16:36:13,823 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 16:36:51,850 - INFO - mycodo.controllers.controller_input_d046f8ee - Deactivated in 13.8 ms
2022-02-18 16:37:35,838 - INFO - mycodo.devices.atlas_scientific_i2c_99_1 - Atlas Scientific Board: pH, Rev: 2, Firmware: 2.14
2022-02-18 16:37:37,346 - INFO - mycodo.controllers.controller_input_d046f8ee - Activated in 2187.2 ms
2022-02-18 16:37:38,893 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 16:37:49,968 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,mid,7.00
2022-02-18 16:37:49,970 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:37:49,971 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:37:51,832 - ERROR - mycodo.inputs.atlas_ph_d046f8ee - Could not determine pH from returned string: ''
2022-02-18 16:37:51,833 - ERROR - mycodo.inputs.atlas_ph_d046f8ee - Cannot set a value of None. Must be a float or string representing a float. Check the sensor and Input module is working correctly.
2022-02-18 16:37:51,837 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {}
2022-02-18 16:38:06,876 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.0, 'timestamp_utc': None}}
2022-02-18 16:38:21,825 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.003, 'timestamp_utc': None}}
2022-02-18 16:38:36,862 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.003, 'timestamp_utc': None}}
2022-02-18 16:38:51,912 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.998, 'timestamp_utc': None}}
2022-02-18 16:39:06,853 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.995, 'timestamp_utc': None}}
2022-02-18 16:39:21,905 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.994, 'timestamp_utc': None}}
2022-02-18 16:39:36,850 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.993, 'timestamp_utc': None}}
2022-02-18 16:39:51,896 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.995, 'timestamp_utc': None}}
2022-02-18 16:40:06,839 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.995, 'timestamp_utc': None}}
2022-02-18 16:40:21,887 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.993, 'timestamp_utc': None}}
2022-02-18 16:40:24,382 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,low,4.00
2022-02-18 16:40:24,384 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:40:24,385 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:40:36,826 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 3.518, 'timestamp_utc': None}}
2022-02-18 16:40:51,880 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 3.518, 'timestamp_utc': None}}
2022-02-18 16:41:06,823 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 4.698, 'timestamp_utc': None}}
2022-02-18 16:41:21,882 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 3.046, 'timestamp_utc': None}}
2022-02-18 16:45:51,873 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.056, 'timestamp_utc': None}}
2022-02-18 16:46:06,816 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.292, 'timestamp_utc': None}}
2022-02-18 16:46:21,865 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.764, 'timestamp_utc': None}}
2022-02-18 16:46:32,620 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,high,10.00
2022-02-18 16:46:32,622 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:46:32,623 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:46:36,902 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 5.82, 'timestamp_utc': None}}
2022-02-18 16:46:51,856 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.973, 'timestamp_utc': None}}
2022-02-18 16:47:06,894 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.927, 'timestamp_utc': None}}
Attempt 3: Changed position of EZO circuit on tentacle shield
2022-02-18 16:57:33,073 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,clear
2022-02-18 16:57:33,075 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:57:33,076 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:57:36,788 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Compensation command: T,24.00
2022-02-18 16:57:36,789 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:57:42,768 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 16:57:47,365 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,mid,7.00
2022-02-18 16:57:47,367 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 16:57:47,368 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 16:57:57,726 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.0, 'timestamp_utc': None}}
2022-02-18 16:58:12,774 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.002, 'timestamp_utc': None}}
2022-02-18 17:03:42,739 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.004, 'timestamp_utc': None}}
2022-02-18 17:03:48,588 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,low,4.00
2022-02-18 17:03:48,589 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 17:03:48,590 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 17:03:57,691 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.005, 'timestamp_utc': None}}
2022-02-18 17:09:12,787 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.016, 'timestamp_utc': None}}
2022-02-18 17:09:13,598 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,high,10.00
2022-02-18 17:09:13,600 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 17:09:13,601 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 17:09:27,737 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 9.718, 'timestamp_utc': None}}
2022-02-18 17:11:42,783 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 9.99, 'timestamp_utc': None}}
2022-02-18 17:11:57,731 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 10.081, 'timestamp_utc': None}}
2022-02-18 17:12:57,722 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 8.404, 'timestamp_utc': None}}
2022-02-18 17:17:27,706 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 9.197, 'timestamp_utc': None}}
2022-02-18 17:18:57,714 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 10.239, 'timestamp_utc': None}}
2022-02-18 17:19:12,751 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 10.171, 'timestamp_utc': None}}
2022-02-18 17:19:27,705 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 9.537, 'timestamp_utc': None}}
2022-02-18 17:21:12,730 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 8.767, 'timestamp_utc': None}}
Attempt 4: Without extension cable
2022-02-18 19:04:31,962 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,clear
2022-02-18 19:04:31,963 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 19:04:31,964 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 19:04:33,905 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Compensation command: T,24.00
2022-02-18 19:04:33,906 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 19:04:42,767 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 19:05:42,712 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 19:05:57,746 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 14.0, 'timestamp_utc': None}}
2022-02-18 19:06:00,317 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,mid,7.00
2022-02-18 19:06:00,319 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 19:06:00,320 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 19:06:12,781 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.0, 'timestamp_utc': None}}
2022-02-18 19:06:27,727 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.001, 'timestamp_utc': None}}
2022-02-18 19:06:42,768 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.001, 'timestamp_utc': None}}
2022-02-18 19:10:27,780 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.985, 'timestamp_utc': None}}
2022-02-18 19:10:42,718 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.987, 'timestamp_utc': None}}
2022-02-18 19:10:45,192 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,low,4.00
2022-02-18 19:10:45,194 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 19:10:45,195 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 19:10:57,751 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 3.99, 'timestamp_utc': None}}
2022-02-18 19:11:12,684 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 4.273, 'timestamp_utc': None}}
2022-02-18 19:15:42,713 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 7.001, 'timestamp_utc': None}}
2022-02-18 19:15:57,757 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.752, 'timestamp_utc': None}}
2022-02-18 19:16:12,698 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.894, 'timestamp_utc': None}}
2022-02-18 19:16:22,612 - DEBUG - mycodo.inputs.atlas_ph_d046f8ee - Calibration command: Cal,high,10.00
2022-02-18 19:16:22,614 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Command returned: None
2022-02-18 19:16:22,615 - INFO - mycodo.inputs.atlas_ph_d046f8ee - Device Calibrated?: None
2022-02-18 19:16:27,741 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.752, 'timestamp_utc': None}}
2022-02-18 19:16:42,694 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.61, 'timestamp_utc': None}}
2022-02-18 19:16:57,735 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.966, 'timestamp_utc': None}}
2022-02-18 19:17:12,692 - DEBUG - mycodo.controllers.controller_input_d046f8ee - Adding measurements to InfluxDB with ID d046f8ee-403b-4608-953c-8623627e8a6f: {0: {'measurement': 'ion_concentration', 'unit': 'pH', 'value': 6.752, 'timestamp_utc': None}}
That am I doing wrong here? At first I thought it is a hardware problem, but the lines in the log files about the device to be not calibrated makes me think that it could also be a software problem?
I hope you have an idea on how to test or what may be the reason for this.
Thanks in advance.