Thank you for your response.
I will have a look to see what the difference is between the working outputs and non-working ones on the physical GPIO pin connection, as I think it must be that.
Regarding the startup, my log looks like there aren’t any problems…
Please see code below, with debugging also logged.
2021-11-09 08:12:01,760 - DEBUG - mycodo.outputs.on_off_gpio_e86004ba - output_on_off(off, 0, None, 0.0, 0.0, True)
2021-11-09 08:12:01,761 - DEBUG - mycodo.outputs.on_off_gpio_e86004ba - Output e86004ba-2893-4771-8773-22272e8ffad7 CH0 (Cooling pump v2) OFF at 2021-11-09 08:12:01. Output returned: success
2021-11-09 08:12:07,412 - INFO - mycodo.controllers.controller_conditional_c11e88a9 - Measuring room humidity. The value is 92.2
2021-11-09 08:12:07,563 - INFO - mycodo.controllers.controller_conditional_c11e88a9 - Humidifier already off
2021-11-09 08:12:07,563 - INFO - mycodo.controllers.controller_conditional_c11e88a9 - Humidity is right!
2021-11-09 08:12:08,112 - INFO - mycodo.controllers.controller_conditional_a9a75190 - Checking room humidity sensor. The value is 92.2
2021-11-09 10:21:45,147 - INFO - mycodo.daemon - Mycodo daemon v8.12.8 starting
2021-11-09 10:21:47,221 - INFO - mycodo.outputs.on_off_gpio_90af20f8 - Output setup on pin 7 and turned ON (ON=HIGH)
2021-11-09 10:21:47,222 - INFO - mycodo.outputs.on_off_gpio_90af20f8 - Initialized in 485.6 ms
2021-11-09 10:21:47,619 - INFO - mycodo.outputs.on_off_gpio_e04d8268 - Output setup on pin 24 and turned OFF (ON=HIGH)
2021-11-09 10:21:47,620 - INFO - mycodo.outputs.on_off_gpio_e04d8268 - Initialized in 393.8 ms
2021-11-09 10:21:48,030 - INFO - mycodo.outputs.on_off_gpio_ee1a9d84 - Output setup on pin 14 and turned OFF (ON=HIGH)
2021-11-09 10:21:48,031 - INFO - mycodo.outputs.on_off_gpio_ee1a9d84 - Initialized in 406.3 ms
2021-11-09 10:21:48,420 - INFO - mycodo.outputs.on_off_gpio_92c946a1 - Output setup on pin 8 and turned OFF (ON=LOW)
2021-11-09 10:21:48,421 - INFO - mycodo.outputs.on_off_gpio_92c946a1 - Initialized in 385.6 ms
2021-11-09 10:21:48,797 - INFO - mycodo.outputs.on_off_gpio_7c06098d - Output setup on pin 25 and turned OFF (ON=HIGH)
2021-11-09 10:21:48,798 - INFO - mycodo.outputs.on_off_gpio_7c06098d - Initialized in 373.3 ms
2021-11-09 10:21:49,189 - INFO - mycodo.outputs.on_off_gpio_e86004ba - Output setup on pin 23 and turned ON (ON=HIGH)
2021-11-09 10:21:49,189 - INFO - mycodo.outputs.on_off_gpio_e86004ba - Initialized in 387.4 ms
2021-11-09 10:21:49,580 - INFO - mycodo.outputs.on_off_gpio_cafa2b25 - Output setup on pin 15 and turned OFF (ON=HIGH)
2021-11-09 10:21:49,581 - INFO - mycodo.outputs.on_off_gpio_cafa2b25 - Initialized in 387.1 ms
2021-11-09 10:21:49,956 - INFO - mycodo.outputs.on_off_gpio_3703c706 - Output setup on pin 18 and turned OFF (ON=LOW)
2021-11-09 10:21:49,957 - INFO - mycodo.outputs.on_off_gpio_3703c706 - Initialized in 372.7 ms
2021-11-09 10:21:49,958 - INFO - mycodo.controllers.controller_output - Activated in 4029.3 ms
2021-11-09 10:21:51,087 - INFO - mycodo.controllers.controller_conditional_ab596204 - Activated in 161.3 ms
2021-11-09 10:21:51,645 - INFO - mycodo.controllers.controller_conditional_60c75509 - Activated in 150.5 ms
2021-11-09 10:21:52,235 - INFO - mycodo.controllers.controller_conditional_c11e88a9 - Activated in 206.3 ms
2021-11-09 10:21:52,802 - INFO - mycodo.controllers.controller_conditional_ab596204 - Checking room temp. The value is None
2021-11-09 10:21:53,205 - INFO - mycodo.controllers.controller_conditional_a9a75190 - Activated in 142.4 ms
2021-11-09 10:21:53,209 - INFO - mycodo.daemon - All activated Conditional controllers started
2021-11-09 10:21:53,858 - INFO - mycodo.controllers.controller_trigger_f1d69e19 - Activated in 233.7 ms
2021-11-09 10:21:54,780 - DEBUG - mycodo.outputs.on_off_gpio_ee1a9d84 - output_on_off(on, 0, sec, 0.0, 0.0, True)
2021-11-09 10:21:54,781 - DEBUG - mycodo.outputs.on_off_gpio_ee1a9d84 - Output ee1a9d84-87d9-431d-82b6-1862fdb9ef60 CH0 (Lights V2) ON at 2021-11-09 10:21:54.781100. Output returned: success
2021-11-09 10:21:54,928 - INFO - mycodo.controllers.controller_trigger_4868a54d - Activated in 385.4 ms
2021-11-09 10:21:54,937 - INFO - mycodo.daemon - All activated Trigger controllers started
2021-11-09 10:21:56,392 - INFO - mycodo.controllers.controller_input_0af2b21b - Activated in 695.1 ms
Lastly, before the output error as with the first log I sent, I get the following debug message as well.
2021-11-09 07:47:57,462 - DEBUG - mycodo.outputs.on_off_gpio_3703c706 - output_on_off(on, 0, sec, 0.0, 0.0, True)
2021-11-09 07:47:57,463 - ERROR - mycodo.outputs.on_off_gpio_3703c706 - State change error: The GPIO channel has not been set up as an OUTPUT
Traceback (most recent call last):
File “/home/pi/Mycodo/mycodo/outputs/on_off_gpio.py”, line 174, in output_switch
self.options_channels[‘on_state’][output_channel])
RuntimeError: The GPIO channel has not been set up as an OUTPUT
I am not sure if that additional debug info is helpful at all.
But will definately check the physical GPIO connections, as I know some are dedicated and some may have other functions, which as you state could be interfering.
Thanks again