-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
PowerOnState with LedMask Issue #5663
Comments
Is the same issue as #5594 ? |
Perhaps. They are both related to PowerOnState and both with Templates. But the operational behavior for my device is as expected after startup. Relays toggle, LEDs work, etc. The issue is only that the relays' state on reboot is not OFF. Based on the Log and the Mosquitto Log which show no FYI - I can only restart the device (i.e., I cannot cycle power without flipping a circuit breaker for the entire circuit in the house). Mike |
Perhaps the common element, based on @BostonMikeGetHub's testing, is PowerOnState 0 using web GUI restart. As I don't have a means to cycle power on my in wall receptacle, my testing has been exclusively done by web GUI restart. |
@meingraham, I think the issues are related to PowerOnState. Issue #5594 occurs when PowerOnState = 3. Issue #5663 occurs when PowerOnState = 0. |
Alrighty... hopefully Theo has enough information with the two scenarios to find the root cause. |
Let's gather both issues into one. If the issues result not to be related, we will reopen this one. |
BUG DESCRIPTION
I finally installed one of the Kesen KS-604S in the house (I was just testing before). I hadn't noticed this before, but it appears as though the
PowerOnState 0
setting is not taking effect. The relays that are ON when I restart the plug are coming back in the ON state after a restart.REQUESTED INFORMATION
status 0
:TO REPRODUCE
Configuration:
Template:
{"NAME":"KS-604S","GPIO":[56,255,255,17,57,18,255,255,22,21,32,23,255],"FLAG":0,"BASE":18}
LedState 1
LedMask 1
PowerRetain 0
PowerOnState 0
EXPECTED BEHAVIOUR
Relays power up in OFF state when
PowerOnState
set to 0SCREENSHOTS
N/A
ADDITIONAL INFORMATION
Rule
I have set
PowerRetain 0
. I checked and I don't believe this behavior is due to retained messages from my MQTT broker. I used MQTT-Explorer (the only retained message it showed was the LWT message) and also issued mosquitto_sub to record the messages going to the plug.mosquitto_sub
The text was updated successfully, but these errors were encountered: