GithubHelp home page GithubHelp logo

Comments (10)

marius-se avatar marius-se commented on June 15, 2024

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.

itavero avatar itavero commented on June 15, 2024

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.

itavero avatar itavero commented on June 15, 2024

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.

marius-se avatar marius-se commented on June 15, 2024

Ah sorry, I didn't have the time yet to check. Now I'm back. Give me a second...

from homebridge-z2m.

marius-se avatar marius-se commented on June 15, 2024

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.

itavero avatar itavero commented on June 15, 2024

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.

marius-se avatar marius-se commented on June 15, 2024

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.

marius-se avatar marius-se commented on June 15, 2024

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.

itavero avatar itavero commented on June 15, 2024

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.

marius-se avatar marius-se commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.