[BUG]: Unprogrammed relays are activating randomly.
More info Please look first at the FAQ or Current Issues for more information. Or search in the closed tickets to see if it should been fixed in the past
Setup:
- TerrariumPI version: 4.8.1 (and 4.8.0)
- Install: [Manual]
- Raspberry PI: 3B+ and 4
- Qwiic Quad Relay module (i2C)
Describe the bug During continued operation of the system, the program triggers relays as intended. I have Relay 1 (R1) configured to weather for main lights, triggers on/off normally. R2 is heater pad via sensors, on/off as-needed. R3 is a cooling ventilation fan, comes on and stays on until manually turned off (Not sure what setting to change). R4, unassigned becomes triggered randomly and unsure as to why.
Expected behavior I would expect R3 to turn off when the temperature cools below the sensor range specified. I would expect R4 to never activate because it’s unassigned.
Screenshots
Additional context
Are you also able to upload the logfile in the folder log? As far as I know should al sensitive date being stripped from the logfile. So you could upload it here.
Else you can also mail it to [email protected] Then I can look in the logs to see if I can find something.
The code for this relay is dead simple, so there is not much I can change to it.
Do you have other I2C hardware in use?
I have not received a log file for further debugging. Else it will be hard to say what is causing this.. a log file could help a lot.
I apologize for the lengthy delay, I am away from my Pi at the moment and do not have it on the web to pull the log. I will be back physically at the Pi again this weekend to pull the log and upload here.
Any updates?
Any updates?
Any updates?
Having trouble with this... can't get in to pull the logs. https://github.com/theyosh/TerrariumPI/assets/105729168/153bc640-1c62-4448-8d09-57970d1fcd7e
Strange. Does this also happen on a desktop browser? I guess the image was of a Android with Chrome? And did you enter the credentials, or does the error occur before you can enter the credentials.
You can also download the logfile through ssh. It is located at /home/pi/TerrariumPI/log/terrariumpi.log WinSCP is a tool that can do it. Or FileZilla
Is this still happening? I do not have other people with login errors. Without a log file I can't do anything.
Is would like to close this issue if there are no updates anymore.
Yes, there are issues with the login still. The relays are also still doing the activation despite being unprogrammed. My next step is to reinstall everything and start over from scratch. Perhaps this will solve it.
Have a look at https://theyosh.github.io/TerrariumPI/faq/which-files-to-backup/ and https://theyosh.github.io/TerrariumPI/faq/restoring-backup-files/ for backup and restoring your database and calendar.
Any updates?
Do I really want to back it all up and "import" the relays acting the way they are if it's somehow a config setting I messed up? Genuine question.
Good point. Than make at least a backup. So you can use a SQlite editor to read out the old values from the backup database when you reconfigure your setup.
But if you are planning to start with a clean setup, can we close this issue? You can always reopen it when you have you setup up and running again.