Comments (10)
Update: Just tried to set up my second Phillips Hue bulb (same model, same firmware). This bulb doesn't work at all. Zigbee2MQTT log says No converter available for 'state' (ON)
when I try to turn it on or off...
from homebridge-z2m.
Does it work directly via MQTT to zigbee2mqtt?
It seems that it does not report all the right keys for the device in the status message.
from homebridge-z2m.
I've also updated my zigbee2mqtt installation today. For me it still works. Have you tried sending the command manually to see if that works, @marius-se ?
from homebridge-z2m.
Ah sorry, I didn't have the time yet to check. Now I'm back. Give me a second...
from homebridge-z2m.
Changing the color directly via mqtt seems to work.
mosquitto_pub -t zigbee2mqtt/0x0017880108ac9e9e/set -m '{"color":{"r":255, "g":0, "b":0}}'
...et voilà my rooms turns red.
from homebridge-z2m.
In the status MQTT message, do you also see a color property now?
I don't see it in the message you've shared before.
If it's not there then this plugin also won't know it exists right now (as mentioned in the read me).
from homebridge-z2m.
Yes, now it's:
zigbee2mqtt/0x0017880108ac9e9e', payload '{"brightness":254,"color":{"x":0.304580214170851,"y":0.31468018726472},"color_temp":140,"linkquality":44,"state":"ON","update_available":false}
Also the color controls appeared in my Home app after I manually changed the color via mqtt for the first time.
from homebridge-z2m.
Unfortunately, a downside is that the device must have published its data before the plugin knows how HomeKit could use it
Now I get what you meant with this line. Weird tho that it only sends the data after a manual mqtt pub.
from homebridge-z2m.
I've seen it with some devices before, but indeed it is weird.
Not 100% sure if it's a configuration thing or some kind of glitch.
Luckily the latest version of zigbee2mqtt includes a newer API which can list the features/properties of a device via the new exposes
field.
As mentioned in some other issues, this will make it easier for this plugin to show the right characteristics from the get go.
Hopefully I'll have some time to refactor some stuff and integrate this new field soon. Then I can remove that sentence from the read me file. 😉
from homebridge-z2m.
Awesome thanks! I have to say I'm really happy with the plugin. A couple of months earlier and I'd have had to switch to Hass (to use zigbee2mqtt)
from homebridge-z2m.
Related Issues (20)
- [Device] Niko Wireless Zigbee Switch (battery, single button) HOT 4
- [Bug] Failed to process MQTT message on 'zigbee2mqtt/bridge/devices'. (Maybe check the MQTT version?) HOT 10
- [Bug] problem after upgrading zigbee2mqtt to 1.35 HOT 37
- [Bug] HOT 1
- CI: set-output is deprecated
- [Bug] TypeError: Cannot read properties of undefined (reading 'getCharacteristic') HOT 8
- Ikea SOMRIG Switch activities not reaching Homebridge [Bug] HOT 5
- [Bug] Can not get new devices into HomeKit after upgrading to 1.35 and 1.9.3 HOT 2
- [Bug] plugin crashes HOT 4
- [Device] Vimar roller shutter HOT 1
- [device support] Frient EMIZB-141 HOT 7
- [Bug] The BIG scene in Homekit doesn't work completely. HOT 23
- [Device] Aqara ZNLDP13LM - full brightness instead of previous when switched ON via Home App HOT 6
- [Bug] Tuya button not working in Homekit - Tuya SH-SC07 HOT 13
- [Bug] Specific grouped devices with scenes In z2m do not survive restarts HOT 8
- [Bug] Running the Mac OS - Homebridge Zigbee2MQTT - doesn't really start up when the Mac OS boots up. HOT 30
- [Feature] Connect to multiple MQTT brokers/base topics HOT 3
- [Feature] Expose dimmer switch as Fan HOT 4
- [Bug] `TargetPosition` of `WindowCovering` shouldn't update while in motion HOT 13
- [Bug] Coordinator device: Cannot read properties of null (reading 'vendor') HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-z2m.