-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Device Default State On/Off #1172
Comments
Is this a setting that can be set when using the Xiaomi gateway? |
I don't think so! I don't use the gateway for a long time, but I don't
recall seeing this option in the gateway!
I was thinking on something like.... If the device becomes online, set
state to on! For example! I can do this in the code, but in the core
zigbee2mqtt would make it more safe!
Thank you
…On Fri, Mar 1, 2019, 16:20 Koen Kanters ***@***.***> wrote:
Is this a setting that can be set when using the Xiaomi gateway?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALZXo95pogjwLkIrDsJj5LCnlat3gJ5aks5vSVNIgaJpZM4bZVDa>
.
|
I checked... in the MiHome App there is a option to restore the state to the previews one! That would work! |
Can you sniff the zigbee traffic while setting this option? http://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html |
Yes I'll do that tomorrow! Thank you
…On Sun, Mar 3, 2019, 20:14 Koen Kanters ***@***.***> wrote:
Can you sniff the zigbee traffic while setting this option?
http://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALZXo5b9j-T2KDSlmax2AvvdDtABn3QAks5vTC0PgaJpZM4bZVDa>
.
|
Hello, here is the packet capture From what I can see he changes the 3 atributs in a row |
@soloam I don't have your network keys, either give me the network key, or you can post screenshots with all info here. |
@Koenkk how can I send you a private message? |
|
Please try with the following changes: Koenkk/zigbee-herdsman-converters@49a728a In the capture, it sends 4 different values to the same cluster/attribute ID. We need to figure out the correct one.
After send each value, check if it uses the expected power on behavior. |
Hello @Koenkk I tried the chages, but it did not work. I publish the commands and I get this on the log
No changes in the power on Thank you |
When sniffing the command being send by zigbee2mqtt, Wireshark showed that the packet was malformed. It seems that zigbee-shepherd doesn't correctly from the octet string. Need to dive deeper here. |
a default state would also be nice for the tradfri lamps... |
@wimpie007 unfortunately TRADFRI lamps don't support this, it's something that has to be solved at the firmware level of the TRADFRI bulbs. |
coudnt we have a default state 'on' option? |
@wimpie007 as you are using device availability, this should be fetched once this device comes back online. Please try with zigbee2mqtt 1.2.0, if it's not working please report in #775 |
@Koenkk: indeed! works in 1.2.1! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I would like to pick this back up, as I also have a pair of ZNCZ02LM's and would like to be able to set the power-on behavior similarly.
But that fails with the message Any hints? 😃 |
@Thulinma implemented, will be available in the latest dev branch in a few hours, documentation: https://github.com/Koenkk/zigbee2mqtt.io/blob/develop/docs/devices/ZNCZ02LM.md#power-outage-memory |
Works like a charm, thanks! You just made my day 👍 |
@Koenkk I'm on latest Dev and I don't know why I'm getting It's very annoying to have to change the color back to daylight whenever the kids turn the lights off from the switch |
Hello @Thulinma , i have folow the instructions but it doesnt work : then push the switch on the plug from OFF to ON, then unplug / wait 5 secondes / plug again and the plug stay off. I have not the DEV version of zigbee2mqtt, does i need to install the "edge" version to make it works please? Thanks for your reply...i am stuck. |
Make sure you use the payload |
your the boss!!! a big thank you It as to be : payload: '{"power_outage_memory": true}' and after push the button "on" on the plug, i unplug / wait 5 seconds/ plug again, and...TADA! works as expected!! Thanks again! have a nice week end |
@Koenkk Is it possible to get this supported on the US version of the plug (ZNCZ12LM)? It supports the same features as the EU plug, but when using the same settings as the EU plug in a custom converter on the US plug, it gives the error
Thank you! |
@jusxon done! |
Thank you very much! |
I have a ZNCZ12LM showing firmware build date 12-24-2021. By date alone it appears to be a match for latest in zigbee-OTA - no other version info is exposed. On what firmware is this tested @jusxon ? It does not work for me. In attempting to toggle the value in
I also receive a similar error for
|
I'm seeing the same as @thekev with
Example logs:
|
Hello, I have some xiaomi plugs that I what always on as default, If I unplug them and then plug them, they stay off as default. Can I force ON?
Thank You
The text was updated successfully, but these errors were encountered: