Controlling lights with Zigbee2MQTT  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Bubber
Posts: 2
Joined: Sunday 12 January 2020 20:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Controlling lights with Zigbee2MQTT

Post by Bubber »

I am trying to control my Zigbee2MQTT lights via a dzVents scripts. I can turn on and off the lights with ".switchOn()" and ".switchOff()", but I can't change the color/color temperature or the brightness. If I call any of the other methods (".setColor()", ".setRGB()" etc.) I get this in the log:

Code: Select all

2020-01-12 19:49:27.255 Error: dzVents: local netWork not open for dzVents openURL call !
2020-01-12 19:49:27.256 Error: dzVents: check dzVents wiki (look for 'Using dzVents with Domoticz')
I can't find any information in the wiki. Also, I don't know if this is a general Domoticz error, or if it is related to the Zigbee2MQTT plugin, but lights can be controlled just fine using the Domoticz GUI.

Any ideas?

Thanks in advance
Bubber
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Controlling lights with Zigbee2MQTT

Post by waaren »

Bubber wrote: Sunday 12 January 2020 20:11 I can't find any information in the wiki.
checking the wiki and looking for 'Using dzVents with Domoticz'
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Bubber
Posts: 2
Joined: Sunday 12 January 2020 20:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Controlling lights with Zigbee2MQTT  [Solved]

Post by Bubber »

I read the section in the Wiki (again), and it helped to add the IP to the local networks in settings. I did not really see the connection between adding the IP and the error message, but... it works now.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest