-
Notifications
You must be signed in to change notification settings - Fork 103
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
can’t get status light on or off at homekit #674
Comments
I also found this problem, how to solve it? |
Unfortunately I could not find a solution yet. for now i working with zigbee2mqtt that make the job automimic but show me as switch button |
I think I'm having the same problem. It is as if state changes aren't being forwarded to HomeKit, but state changes from HomeKit are being forwarded to other mqtt clients. My "device" has all the lights in the house (~60) and HomeKit generally shows the wrong state, but you can turn them on/off and then it is correct (until they are controlled via something other than HomeKit). |
I had the same problem due the difference between the status and the command. |
That wasn't my issue as my parser of the messages from HomeKit/homebridge-mqtt forces the text to lowercase and then checks for "off", "false", "0", or "0.0" to indicate an off state. I believe I just fixed my issue though by sending "0" or "1" back through mqtt to HomeKit/homebridge-mqtt. Now HomeKit correctly updates its app UI (albeit with ~1 second of latency) when my system changes the state of a light. So clearly whatever ends up actually parsing the value is sensitive to its representation. I'm fairly sure this used to work, so I'm wondering if HomeKit became less flexible somewhere along the way? Or maybe that was from before I was using homebridge-mqtt, as I was using a different MQTT-based HomeKit integration solution before. |
I have a problem updating the light switches. Works correctly when I turn on / off the light in the Home App on iOS or in the plugin accessories at homebridge-ui-x. However, it does not work as I turn it off I turn off the light with a physical switch on the wall, can’t get status that update on the homekit
i have zbmini L2.
it work great with zigbee2mqtt but i want to work with mqttthing because i get change from switch to light.
this is the code i make:
{
"type": "lightbulb",
"name": "תאורת כניסה",
"logMqtt": true,
"topics": {
"getOn": {
"topic": "zigbee2mqtt/0x3c2ef5fffeba1064",
"apply": "return JSON.parse(message).state"
},
"setOn": {
"topic": "zigbee2mqtt/0x3c2ef5fffeba1064/set"
}
},
"onValue": "ON",
"offValue": "OFF",
"accessory": "mqttthing"
},
{
The text was updated successfully, but these errors were encountered: