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
PID method Bezier curve does not function after upgrade #323
Comments
I'll check this out. Thanks for the detailed report. |
…f first point of Daily Bezier method
I found a bunch of issues with the latest release 5.4.1 so I pulled it until I can get the issues fixed and v5.4.2 released. I noticed you're running 5.3.3, which is a few versions old. Hopefully when you upgrade there will be less issues than that version. |
I got another version for 5.4.0 on different rpi. I'll try to simulate if the same behaviour |
I just realized I've been chasing a ghost. What's happening with PIDs and conditionals is expected behavior. If the relay is turned on (without a duration) it will trigger the conditional. If the relay is turned on with a duration it will trigger the conditional that is configured to be triggered for that duration. Because PIDs operate by turning on relays for durations, there would need to be a conditional set up for turning the relay on for a duration in order for it to trigger. |
I can add a third option to the "If State" that will be "On (any duration)", that way the conditionals will trigger for any on duration instead of a specific on duration. |
I just released v5.4.2 Update when yo have a chance and let me know if any of the issues you mentioned persist. |
v5.4.3 released that fixes an issue with Output conditional triggering |
Thank you. I upgraded 5.4.0 to 5.4.2
Upgraded to 5.4.3 and upgrade is successful but need to restart apache2 manually to bring up the webpage. upgrade.log, Last entry [2017-11-19 02:03:16] #### Compiling mycodo_wrapper http.log [Sun Nov 19 02:17:02.771348 2017] [ssl:warn] [pid 5421:tid 1996300288] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name |
Update: pi@raspberrypi:/var/log/mycodo $ sudo ~/Mycodo/env/bin/python ~/Mycodo/mycodo/my codo_daemon.py --debug |
fasteners is included in the requirements.txt and should not be an issue. It sounds like you have corrupted files. Use the following command to reinstall all python requirements. This tip is found in the Install Notes:
|
retried and all are okay now. running 5.4.3 |
Great! Thanks for testing. |
Mycodo Issue Report:
Problem Description
Please list: Previous version of mycodo for PID method Bezier curve is okay and after upgrade it always complain Method has ended.
It is weird why it will end.
Setting of Bezier curve which is the same as the previous version 5.2.2 of Mycodo.
Errors
Mycodo Log. Tried several times but it will deactivate PID. For immediate resolution disable PID Method and use static set point.
2017-11-18 12:43:22,007 - mycodo.sensor_7 - INFO - Activated in 214.9 ms
2017-11-18 12:43:57,978 - mycodo.pid_1 - INFO - Activated in 296.7 ms
2017-11-18 12:43:58,083 - mycodo.pid_1 - WARNING - Method has ended. Activate the PID controller to start it again.
2017-11-18 12:43:58,321 - mycodo.pid_1 - INFO - Deactivated in 341.5 ms
2017-11-18 12:44:35,392 - mycodo.pid_1 - INFO - Activated in 413.6 ms
2017-11-18 12:44:35,491 - mycodo.pid_1 - WARNING - Method has ended. Activate the PID controller to start it again.
2017-11-18 12:44:35,729 - mycodo.pid_1 - INFO - Deactivated in 334.9 ms
2017-11-18 12:47:02,512 - mycodo.pid_3 - INFO - Activated in 323.6 ms
2017-11-18 12:47:02,621 - mycodo.pid_3 - WARNING - Method has ended. Activate the PID controller to start it again.
2017-11-18 12:47:02,865 - mycodo.pid_3 - INFO - Deactivated in 352.5 ms
2017-11-18 12:48:56,210 - mycodo.pid_4 - INFO - Activated in 297.7 ms
2017-11-18 12:48:56,295 - mycodo.pid_4 - WARNING - Method has ended. Activate the PID controller to start it again.
2017-11-18 12:48:56,537 - mycodo.pid_4 - INFO - Deactivated in 325.9 ms
Steps to Reproduce the issue:
How can this issue be reproduced?
Additional Notes
Is there anything that should be added to make it easier
to address this issue?
Additional issue that i noticed is that using conditional relay.
Example:
PID setting with disabled PID method.
The text was updated successfully, but these errors were encountered: