What dashboard are you using? (Web, iOS, Android)
Web and Android
What OS? (Jessie, Wheezy)
What Model Pi?
Please describe the bug / issue. Attaching any relevant screenshots would be very helpful!
This may be hard to describe. I have setup a salt water reef tank controller using 1-wire temp sensors and solid state relays. The controller handles heaters, fans, lights and more. The issue i’m seeing is that when the system is rebooted and comes back online the triggers do not work if the if/then statement is already valid. EXAMPLE: the power goes out and the the tank and controller go offline. When the power is restored the tank water has dropped to 77 degrees and is too cold. i have a trigger setup that says if the tank water temp is less than 78 turn the heater relay on then once the the water is greater than 79 degrees the heater relay goes off. The problem is the heater relay never turns on! The only way to get the system back to normal function is to heat the sensor up in my hand past the 79 degree point and then let it drop to below 78. this turns on the relay that controls the heater and the system goes back to normal function. FYI the icon shows that it knows its too cold and the relay is on but it is not.
This happens the same if i heat the sensor up to where the fan is running (higher than 81) and reboot/boot the pi. The pi should boot and say it’s too hot and turn the fan to cool the system but it does not. i have to cool it back to below the trigger point and then raise it back to have it function normal and set the fan pin to high.
My guesses as to whats going on.
1 The system boots and sees the temperature is out of range and sets the the trigger in the web/android system but doe not reach the pi because the pi is slow and not ready to receive the command. (does the system have a check to actually see if the pin is high? )
2 The system is not setting a default variable for the trigger and thus never triggers until one is set by causing a new one to be set (holding the temp probe and causing it to heat up)
3 You tell me.
Sorry this post was so long. It’s is really hard to explain the issue without all the detail.
Thanks - STEVE