Hello,
i have received the ph buffer solutions.
Today i wanr to calibrate the ph sensor, but an error is shown,
Can somebody point me where to look for.
This is what appears after entering teperature and then hit start calibration.
Something bad happened but it’s probably not your fault. Letting the developers know about these issues is crucial to supporting Mycodo. Please submit a new issue on GitHub with the following diagnostic information and error traceback (copy the entire traceback):
Mycodo: 8.10.1
Alembic: d46e17d65f48
Model: Raspberry Pi 3 Model B Plus Rev 1.3
Release:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Firmware:
Feb 25 2021 12:12:09
Copyright (c) 2012 Broadcom
version 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) (release) (start)
Error (Full Traceback):
Traceback (most recent call last): File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py”, line 2447, in wsgi_app response = self.full_dispatch_request() File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py”, line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask_restx/api.py”, line 652, in error_router return original_handler(e) File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py”, line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/_compat.py”, line 39, in reraise raise value File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py”, line 1950, in full_dispatch_request rv = self.dispatch_request() File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py”, line 1936, in dispatch_request return self.view_functionsrule.endpoint File “/home/pi/Mycodo/env/lib/python3.7/site-packages/flask_login/utils.py”, line 272, in decorated_view return func(*args, **kwargs) File “/home/pi/Mycodo/mycodo/mycodo_flask/routes_calibration.py”, line 515, in setup_atlas_ph current_stage=‘temperature’, next_stage=next_stage) File “/home/pi/Mycodo/mycodo/mycodo_flask/routes_calibration.py”, line 710, in dual_commands_to_sensor first_cmd, set_amount=set_amount) File “/home/pi/Mycodo/mycodo/utils/atlas_calibration.py”, line 103, in calibrate err, msg = self.send_command(‘T,{:.2f}’.format(set_amount)) ValueError: Unknown format code ‘f’ for object of type ‘str’
2021-05-22 09:45:40,134 - INFO - mycodo.controllers.controller_input_e755ff3c - Deactivated in 55.3 ms
2021-05-22 09:46:51,470 - INFO - mycodo.devices.atlas_scientific_i2c_99_1 - Atlas Scientific Board: pH, Rev: 2, Firmware: 2.14
2021-05-22 09:46:54,063 - INFO - mycodo.controllers.controller_input_e755ff3c - Activated in 3372.4 ms
2021-05-22 09:50:24,080 - INFO - mycodo.controllers.controller_input_e755ff3c - Deactivated in 59.9 ms
2021-05-22 09:51:11,632 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Command returned: None
2021-05-22 09:51:22,810 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Command returned: None
2021-05-22 09:51:22,812 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Device Calibrated?: None
2021-05-22 09:56:15,084 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Command returned: None
2021-05-22 09:56:15,086 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Device Calibrated?: None
2021-05-22 09:56:23,834 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Command returned: None
2021-05-22 09:57:44,076 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Command returned: None
2021-05-22 09:57:44,077 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Device Calibrated?: None
2021-05-22 09:58:26,207 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Command returned: None
2021-05-22 09:58:26,209 - INFO - mycodo.inputs.atlas_ph_e755ff3c - Device Calibrated?: None
2021-05-22 09:58:40,238 - INFO - mycodo.devices.atlas_scientific_i2c_99_1 - Atlas Scientific Board: pH, Rev: 2, Firmware: 2.14
2021-05-22 09:58:42,839 - INFO - mycodo.controllers.controller_input_e755ff3c - Activated in 3791.9 ms
2021-05-22 10:04:12,595 - INFO - mycodo.controllers.controller_input_e755ff3c - Deactivated in 70.1 ms