Installing Mycodo onto raspberry pi zero. Using 32bit OS. Everything loads without error until the end of the installation when I get problems installing infuxdb. I can run Mycodo at the end of the installation and even add inputs. However I am unable to get any readings from any of the inputs (CO2 monitor and temp/humidity sensors) which I am assuming is due to the data base not working.
I have attempted 4 seperate installations with two different SD cards (16GB and 64GB) all with the same result.
I have looked for the data base to see if it exists but canāt find it (basically cause I donāt know were to look/it is stored).
Checking the Mycodo Log I get this result:-
2023-04-26 15:07:39,451 - INFO - mycodo - Mycodo daemon v8.15.8 starting
2023-04-26 15:07:40,103 - INFO - mycodo.pyro_daemon - Starting Pyro5 daemon
2023-04-26 15:07:51,430 - INFO - mycodo.controllers.controller_output - Activated in 6782.3 ms
2023-04-26 15:07:51,932 - INFO - mycodo - All activated Conditional controllers started
2023-04-26 15:07:51,936 - INFO - mycodo - All activated Trigger controllers started
2023-04-26 15:08:02,876 - INFO - mycodo.controllers.controller_input_97708267 - Activated in 8229.8 ms
2023-04-26 15:08:13,870 - INFO - mycodo.controllers.controller_input_d40532e2 - Activated in 6542.3 ms
2023-04-26 15:08:13,876 - INFO - mycodo - All activated Input controllers started
2023-04-26 15:08:13,907 - INFO - mycodo - All activated PID controllers started
2023-04-26 15:08:13,919 - INFO - mycodo - All activated Function controllers started
2023-04-26 15:08:19,852 - INFO - mycodo.controllers.controller_widget - Activated in 5897.8 ms
2023-04-26 15:08:20,869 - INFO - mycodo - Mycodo daemon started in 41.408 seconds
If I tick the logging within the input function I get from the mycodo log:-
2023-04-26 15:07:39,451 - INFO - mycodo - Mycodo daemon v8.15.8 starting
2023-04-26 15:07:40,103 - INFO - mycodo.pyro_daemon - Starting Pyro5 daemon
2023-04-26 15:07:51,430 - INFO - mycodo.controllers.controller_output - Activated in 6782.3 ms
2023-04-26 15:07:51,932 - INFO - mycodo - All activated Conditional controllers started
2023-04-26 15:07:51,936 - INFO - mycodo - All activated Trigger controllers started
2023-04-26 15:08:02,876 - INFO - mycodo.controllers.controller_input_97708267 - Activated in 8229.8 ms
2023-04-26 15:08:13,870 - INFO - mycodo.controllers.controller_input_d40532e2 - Activated in 6542.3 ms
2023-04-26 15:08:13,876 - INFO - mycodo - All activated Input controllers started
2023-04-26 15:08:13,907 - INFO - mycodo - All activated PID controllers started
2023-04-26 15:08:13,919 - INFO - mycodo - All activated Function controllers started
2023-04-26 15:08:19,852 - INFO - mycodo.controllers.controller_widget - Activated in 5897.8 ms
2023-04-26 15:08:20,869 - INFO - mycodo - Mycodo daemon started in 41.408 seconds
2023-04-26 16:50:40,970 - INFO - mycodo.controllers.controller_input_97708267 - Deactivated in 99.5 ms
2023-04-26 16:51:12,510 - DEBUG - mycodo.controllers.controller_input_97708267 - get_measurement() found
2023-04-26 16:51:12,540 - DEBUG - mycodo.controllers.controller_input_97708267 - listener() not found
2023-04-26 16:51:12,544 - INFO - mycodo.controllers.controller_input_97708267 - Activated in 6475.9 ms
2023-04-26 16:51:13,396 - DEBUG - mycodo.controllers.controller_input_97708267 - Adding measurements to InfluxDB with ID 97708267-5b68-4419-8bb9-bc7ed9949f77: {0: {āmeasurementā: ātemperatureā, āunitā: āCā, āvalueā: 20.698100251773866, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 12, 630035)}, 1: {āmeasurementā: āhumidityā, āunitā: āpercentā, āvalueā: 74.90653849088274, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 12, 630240)}, 3: {āmeasurementā: āvapor_pressure_deficitā, āunitā: āPaā, āvalueā: 612.4658600360754, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 12, 630552)}}
2023-04-26 16:51:27,315 - DEBUG - mycodo.controllers.controller_input_97708267 - Adding measurements to InfluxDB with ID 97708267-5b68-4419-8bb9-bc7ed9949f77: {0: {āmeasurementā: ātemperatureā, āunitā: āCā, āvalueā: 20.698100251773866, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 26, 993409)}, 1: {āmeasurementā: āhumidityā, āunitā: āpercentā, āvalueā: 74.87907225146868, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 26, 993550)}, 3: {āmeasurementā: āvapor_pressure_deficitā, āunitā: āPaā, āvalueā: 613.1362392078995, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 26, 993850)}}
2023-04-26 16:51:45,540 - DEBUG - mycodo.controllers.controller_input_97708267 - Adding measurements to InfluxDB with ID 97708267-5b68-4419-8bb9-bc7ed9949f77: {0: {āmeasurementā: ātemperatureā, āunitā: āCā, āvalueā: 20.724803540093077, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 42, 5017)}, 1: {āmeasurementā: āhumidityā, āunitā: āpercentā, āvalueā: 74.9034866865034, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 42, 5162)}, 3: {āmeasurementā: āvapor_pressure_deficitā, āunitā: āPaā, āvalueā: 613.5480974693311, ātimestamp_utcā: datetime.datetime(2023, 4, 26, 6, 51, 42, 5462)}}
So I am assuming that something is being logged somewhere but it is just not available were Mycodo expects it to be.
I will add the outputs of the installation log as well as any further info I can find, but if anyone has any pointers on what I am doing wrong it would be appreciatedā¦