Is your feature request related to a problem? Please describe
Aqara WS-EUK0# (and plenty other lumi devices) don't support disabling relay status LEDs permanently (only at night) and I would like to hack that feature
Describe the solution you'd like
Some lumi devices support _lumi_led_disablednight, which works as expected.
Obviously these devices work out when the night is by syncing time using genTime message (namely UTC time and timezone for WS-EUK04 switches); it doesn't appear that they need accurate time for any other purposes
WS-EUK04 and presumably other switches request time around midnight UTC
I have developed a PoC external converter which responds to the genTime requests with a fixed datetime of March 10, 2024 23:00:00 UTC+00:00 and a timezone of UTC+1.
This works with the following consequences:
Switch thinks it's nighttime
Switch requests current time from the coordinator every 1h
... which maintains the presumed state of constant night.
In combination with _lumi_led_disablednight this effectively disables LEDs on the switch (yay, new nice feature)
As long as any device requests time at any specific time of day and is timezone aware this method should apply as well (by setting a timezone that is actually at nighttime around the time sync time of day).
Describe alternatives you've considered
Obviously one could physically modify the device but the proposed hackish method doesn't void warranty
Additional context
I wish I could implement this myself but I don't code in JS. Maybe with a detailed explanation on how to do this cleanly I could make some progress. Obviously I volunteer for testing. My current external converter works for me well. Would you even accept such a hackish feature into the Koenkk/zigbee-herdsman-converters?
Is your feature request related to a problem? Please describe
Aqara WS-EUK0# (and plenty other lumi devices) don't support disabling relay status LEDs permanently (only at night) and I would like to hack that feature
Describe the solution you'd like
Describe alternatives you've considered
Obviously one could physically modify the device but the proposed hackish method doesn't void warranty
Additional context
I wish I could implement this myself but I don't code in JS. Maybe with a detailed explanation on how to do this cleanly I could make some progress. Obviously I volunteer for testing. My current external converter works for me well. Would you even accept such a hackish feature into the Koenkk/zigbee-herdsman-converters?