Govee D600

Hi folks,

I just installed some Govee H600D light bulbs - and while purchasing them, I hoped that it would be possible to integrate them into openHAB. Unfortunately, it’s not.

Several other Govees can be integrated into OH with the Govee binding, but D600 not.
For using the binding, it is necessary, to switch in the Govee app the “LAN control” on for the bulbs, which is not supported for D600.

While searching the net, I found, that for this cases there is a Govee2mqtt integration available for home assistant: https://github.com/wez/govee2mqtt

So I’m wondering whether there is something similar available/possible for OH…?

edit: it is also possible to run govee2mqtt as a docker containter, without HA :slight_smile:

https://github.com/wez/govee2mqtt/blob/main/docs/DOCKER.md

Hi Nico,

did you managed to get the govee2mqtt working with openHAB?
I’ve installed govee2mqtt and the mqtt topics were discoverd by the mqtt bindung (MQTT Home Assistant Component) but the thing status remains on “unknown” the whole time.

Yes, works proper. I use the mqtt binding, too. My configuration - via text files:

mqtt.things:

Thing mqtt:topic:mosquitto:gv2mqtt "MQTT Govee" (mqtt:broker:mosquitto) {
    Channels:
      Type switch :  office1    [ commandTopic="gv2mqtt/light/1005B08184D427FC/command", stateTopic="gv2mqtt/light/1005B08184D427FC/state", transformationPattern="JSONPATH:$.state",  formatBeforePublish="{\"state\":\"%s\"}" ] 
      Type dimmer :  dimmer1    [ commandTopic="gv2mqtt/light/1005B08184D427FC/command", stateTopic="gv2mqtt/light/1005B08184D427FC/state", transformationPattern="JS:|JSON.parse(input).brightness",  formatBeforePublish="{\"brightness\":%s,\"color_mode\":\"color_temp\",\"color_temp\":370,\"effect\":null,\"state\":\"ON\"}" ] 

govee.items:

Switch  Licht_Office1   (gOffice_Switch)     {channel="mqtt:topic:mosquitto:gv2mqtt:office1"}
Dimmer  Dimmer_Office1  (gOffice_Dimmer)     {channel="mqtt:topic:mosquitto:gv2mqtt:dimmer1"}
1 Like

Great. Thank you for your reply. Meanwhile I also managed to get it working. I had to restart the gv2mqtt docker container a few times.