Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger: timer does not work with PWM-output #865

Closed
grux77 opened this issue Oct 11, 2020 · 4 comments
Closed

Trigger: timer does not work with PWM-output #865

grux77 opened this issue Oct 11, 2020 · 4 comments
Labels

Comments

@grux77
Copy link

grux77 commented Oct 11, 2020

Linux RPi4 5.4.51-v7l+
Mycodo Version: 8.8.6
Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]
Database Version: 0e150fb8020b
Daemon RAM Usage: 53.58 MB
Frontend RAM Usage: 54.272 MB

I upgraded mycodo from 8.5.8 to 8.8.6. I use the Trigger: timer to switch the LED lighting in the aquarium. Everything works like before, only the triggers don't want to switch the PWM output.
No matter if daily span or duration. When I switch the PWM output manually, the LEDs light up.
The trigger switches ON/Off GPIO-output without any problems. It looks like the trigger doesn't like PWM outputs.
Debug log does not show any errors. Hardware is ok. I have the error on two pi boards.
I have already tried several PWM-hardware-pins and also Software-PWM-Pins:
manually everything is ok but the trigger timer does not switch.
Does anyone else have the problem or do I have to make additional settings in 8.8.6?
I've already reinstalled everything - without success.

@kizniche
Copy link
Owner

Thanks for the bug report. I'll look into it.

@kizniche
Copy link
Owner

I just pushed a fix that will be available in the next release.

@kizniche kizniche added the bug label Oct 19, 2020
@grux77
Copy link
Author

grux77 commented Oct 25, 2020

I've upgraded to master. It works fine again. Very good job as always!
PS: It's another bug, but I want to share my update:
I still can't get OLED Display 128x32 SD1306 [I2C] to run in master.

@kizniche
Copy link
Owner

Please keep discussions of issues to their respective thread: #842

@kizniche kizniche changed the title Trigger: timer does not work with PWP-output Trigger: timer does not work with PWM-output Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants