Page 7 of 18

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 05 May 2020 20:19
by fvdp80
StasDemydiuk wrote: Friday 21 September 2018 18:04 02.05.2020 Update:
New version of plugin (v.0.2.0) has been released which among other changes introduces additional page to Domoticz UI to manage the plugin and zigbee2mqtt instance:

*img removed*

Any feedback is highly welcome.
First feedback: looking awesome and works like a charm!
Great job @stasDemydiuk

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 05 May 2020 20:54
by doh
StasDemydiuk wrote: Friday 21 September 2018 18:04 02.05.2020 Update:
New version of plugin (v.0.2.0) has been released which among other changes introduces additional page to Domoticz UI to manage the plugin and zigbee2mqtt instance:
I've updated and restarted but can't see the new UI - how do I find it?

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 05 May 2020 21:02
by peerkersezuuker
Try clearing cache or Ctrl+F5
It showed up in my browser after that.
In the menu bar you get an extra entry called “custom”

Peer


Verzonden vanaf mijn iPhone met Tapatalk

Re: Python Plugin: Zigbee2Mqtt

Posted: Wednesday 06 May 2020 16:29
by doh
peerkersezuuker wrote: Tuesday 05 May 2020 21:02 Try clearing cache or Ctrl+F5
It showed up in my browser after that.
In the menu bar you get an extra entry called “custom”
Found it! I didn't have the Custom menu enabled in settings. Doh!

Re: Python Plugin: Zigbee2Mqtt

Posted: Wednesday 06 May 2020 16:39
by peerkersezuuker
Yes, indeed forget to mention that


Verzonden vanaf mijn iPhone met Tapatalk

Re: Python Plugin: Zigbee2Mqtt

Posted: Sunday 17 May 2020 21:34
by Mozart
StasDemydiuk wrote: Friday 21 September 2018 18:04 zigbee2mqtt project allows you to use your Zigbee devices without the vendors (Xiaomi/TRADFRI/Hue) bridge or gateway.
It bridges events and allows you to control your Zigbee devices via MQTT.

This plugin adds zigbee2mqtt support into domoticz
https://github.com/stas-demydiuk/domoti ... qtt-plugin

Plugin subscribes to mqtt messages from zigbee2mqtt app and creates devices in domoticz once receive any message from them.
For battery powered devices it also handles battery level if it is available in the message

Currently supported device list and instructions for installation you can find in plugin repository.
If you find any issues please report them directly in github. Any contributions are welcome.

02.05.2020 Update:
New version of plugin (v.0.2.0) has been released which among other changes introduces additional page to Domoticz UI to manage the plugin and zigbee2mqtt instance:

Image
Any feedback is highly welcome.
I see the new menu item but the page keeps showing ‘loading...’ and nothing happens...

Re: Python Plugin: Zigbee2Mqtt

Posted: Monday 18 May 2020 23:39
by jake
Same problem, only loading...

When I put the plugin in 'verbose' mode, the log file says the following

Code: Select all

2020-05-18 23:26:22.013 (Zigbee2MQTT) MQTT message: zigbee2mqtt/bridge/config {'version': '1.13.0-dev', 'commit': 'ad9421a', 'coordinator': {'type': 'zStack12', 'meta': {'transportrev': 2, 'product': 0, 'majorrel': 2, 'minorrel': 6, 'maintrel': 3, 'revision': 20190608}}, 'log_level': 'info', 'permit_join': False}

2020-05-18 23:26:22.014 (Zigbee2MQTT - Zigbee2MQTT API Transport) Updating device from 0:'{"type":"request","requestId":2,"command":"bridge_getstatus","params":{}}' to have values 0:'{"type": "response", "requestId": 2, "isError": false, "payload": {"version": "1.13.0-dev", "commit": "ad9421a", "coordinator": {"type": "zStack12", "meta": {"transportrev": 2, "product": 0, "majorrel": 2, "minorrel": 6, "maintrel": 3, "revision": 20190608}}, "log_level": "info", "permit_join": false}}'.
Also, the message in the log "Joining new devices is disabled on the zigbee bridge" I wonder where to change that, since:

In the configuration.yaml the setting is set to permit join true. Operating the IKEA light through Domoticz works fine, so the plugin is working somehow. On the github page I found this topic https://github.com/stas-demydiuk/domoti ... issues/295 saying that it was solved by a user using another browser than Chrome. However, I have the same problem in Firefox.

Domoticz version v.4.11670

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 19 May 2020 1:05
by Bigted
jake wrote: Monday 18 May 2020 23:39 Same problem, only loading...

Have you tried enabling accept new hardware devices in Domoticz settings

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 19 May 2020 7:12
by Mozart
Bigted wrote: Tuesday 19 May 2020 1:05
jake wrote: Monday 18 May 2020 23:39 Same problem, only loading...

Have you tried enabling accept new hardware devices in Domoticz settings
I see all my zigbee devices in the devices table and they work. Only this menu item stays empty. If I switch to Home Assistant I do see a nice map. I want that in Domoticz as well :D

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 19 May 2020 7:18
by jake
Bigted wrote:
jake wrote: Monday 18 May 2020 23:39 Same problem, only loading...

Have you tried enabling accept new hardware devices in Domoticz settings
Yes, this was also already enabled before the plug-in update

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 19 May 2020 23:22
by jake
My conclusion so far:

In older versions of the plug there was in the settings page of the plugin in the 'hardware section' an option to enable/disable paring. In versions 0.2.0 this option is no longer there.
I still think that domoticz overrides the 'permit: true' option from the configuration.yaml to 'false'. But I have no single clue where it is done or how to reverse it.
I manually put permit to true:

Code: Select all

mosquitto_pub -d -u USER -P PAS -h localhost -t 'zigbee2mqtt/bridge/config/permit_join' -m 'true'
The domoticz log tells right away: (Zigbee2MQTT) Joining new devices is enabled on the zigbee bridge

Then I open the custom tab with zigbee2mqt and the next message in the log is (Zigbee2MQTT) Joining new devices is disabled on the zigbee bridge

Really strange

Re: Python Plugin: Zigbee2Mqtt

Posted: Wednesday 20 May 2020 21:32
by StasDemydiuk
There is a checkbox on plugin page to control "permit_join" option, so you can easily change it by checking or unchecking the checkbox. Or you mean something else?

Re: Python Plugin: Zigbee2Mqtt

Posted: Wednesday 20 May 2020 22:10
by jake
StasDemydiuk wrote:There is a checkbox on plugin page to control "permit_join" option, so you can easily change it by checking or unchecking the checkbox. Or you mean something else?
Do you have the latest version of the plugin? My last 2 options are 'Zigbee2Mqtt Topic' and 'debug'. I don't see a 'permit join' option anymoreImage

Re: Python Plugin: Zigbee2Mqtt

Posted: Thursday 21 May 2020 7:53
by hoeby
I run the lastest zigbee and after updated i also noticed the permit-join was gone.
Also going to the custom it stays loading. But i didn't looked to it why it stays loading, because i am not at the lastest domoticz.

Still running stretch on the Pi.
Updating by prompt, i don't want to do, need to build a new fresh install. But i have that much installed, that it takes a lot of time to transfer to buster and the new stable

Re: Python Plugin: Zigbee2Mqtt

Posted: Thursday 21 May 2020 17:03
by Lokonli
Mozart wrote:
StasDemydiuk wrote: Friday 21 September 2018 18:04 zigbee2mqtt project allows you to use your Zigbee devices without the vendors (Xiaomi/TRADFRI/Hue) bridge or gateway.
It bridges events and allows you to control your Zigbee devices via MQTT.

This plugin adds zigbee2mqtt support into domoticz
https://github.com/stas-demydiuk/domoti ... qtt-plugin

Plugin subscribes to mqtt messages from zigbee2mqtt app and creates devices in domoticz once receive any message from them.
For battery powered devices it also handles battery level if it is available in the message

Currently supported device list and instructions for installation you can find in plugin repository.
If you find any issues please report them directly in github. Any contributions are welcome.

02.05.2020 Update:
New version of plugin (v.0.2.0) has been released which among other changes introduces additional page to Domoticz UI to manage the plugin and zigbee2mqtt instance:

Image
Any feedback is highly welcome.
I see the new menu item but the page keeps showing ‘loading...’ and nothing happens...
If I access Domoticz via my local LAN I see the zigbee devices on the zigbee2mqtt custom page. However accessing this from external IP via my reverse proxy shows the "loading..." message only.
So it seems the zigbee2mqtt custom page only works locally.
Probably relates to the websocket connection which is not proxied correctly on my system.

Sent from my SM-A320FL using Tapatalk


Re: Python Plugin: Zigbee2Mqtt

Posted: Friday 22 May 2020 22:21
by jake
I access domoticz on my local lan, so my problem seems to be slightly different than yours.

Re: Python Plugin: Zigbee2Mqtt

Posted: Tuesday 26 May 2020 22:44
by Zamjoke
Hi all
Can anyone help please

Tring to get this running as it looks very nice however after successfully connected to mosquito and plugin installed I'm having the following error logs


2020-05-26 18:44:27.049 Status: (MQtt) Started.
2020-05-26 18:44:28.502 (MQtt) Debug logging mask set to: PYTHON
2020-05-26 18:44:28.503 (MQtt) onStart called
2020-05-26 18:44:28.504 (MQtt) Installing custom pages...
2020-05-26 18:44:28.187 Status: (MQtt) Initialized version 0.2.0
2020-05-26 18:44:28.187 Status: (MQtt) Entering work loop.
2020-05-26 18:44:28.505 Error: (MQtt) 'onStart' failed 'FileNotFoundError'.
2020-05-26 18:44:28.505 Error: (MQtt) ----> Line 207 in 'C:\Program Files\Domoticz\plugins\domoticz-zigbee2mqtt-plugin-master\plugin.py'
2020-05-26 18:44:28.505 Error: (MQtt) ----> Line 49 in 'C:\Program Files\Domoticz\plugins\domoticz-zigbee2mqtt-plugin-master\plugin.py'
2020-05-26 18:44:28.505 Error: (MQtt) ----> Line 174 in 'C:\Program Files\Domoticz\plugins\domoticz-zigbee2mqtt-plugin-master\plugin.py'

Running Domoticz on Win 10
All other Python plugins work ( Broadlink, Smart Virtual Thermostat)
Thanks !

Re: Python Plugin: Zigbee2Mqtt

Posted: Wednesday 27 May 2020 18:27
by StasDemydiuk
If you update plugin, probably it should help but still try to be more careful with installation instructions (folder where you've installed plugin is wrong)

Re: Python Plugin: Zigbee2Mqtt

Posted: Friday 29 May 2020 0:11
by Zamjoke
Thanks for that ,
I've changed the folder name(couldn't find install instructions for Windows) and now I've got permission error:


2020-05-28 22:46:37.987 Status: (MQtt) Started.
2020-05-28 22:46:38.849 Status: (MQtt) Entering work loop.
2020-05-28 22:46:38.849 Status: (MQtt) Initialized version 0.2.0
2020-05-28 22:46:39.322 Error: (MQtt) 'onStart' failed 'PermissionError'.
2020-05-28 22:46:39.332 Error: (MQtt) ----> Line 207 in 'C:\Program Files\Domoticz\plugins\zigbee2mqtt\plugin.py'
2020-05-28 22:46:39.333 Error: (MQtt) ----> Line 49 in 'C:\Program Files\Domoticz\plugins\zigbee2mqtt\plugin.py'
2020-05-28 22:46:39.333 Error: (MQtt) ----> Line 174 in 'C:\Program Files\Domoticz\plugins\zigbee2mqtt\plugin.py'

I could use some help with instructions how to update the plugin on Windows as I cannot do a git pull in cmd prompt.
Don't know much about git so please excuse my newbie question
Thanks

Re: Python Plugin: Zigbee2Mqtt

Posted: Monday 08 June 2020 22:51
by madradrakie
i hope someone can help me. I added the RobbShop dimmer SKU: ROB_200-014-0 to the zigbee network and is paired and showed in de zigbee2mqtt page in domoticz. But when i select the dimmer normally a table appears below to add the devices to domoticz. For this dimmer it does not work so i can not add the dimmer as device to domoticz. According to the zigbee2mqtt page this dimmer is supported? Am i doing something wrong? the other devices are all added without any problem.

Thanks in advance
Knipsel.JPG
Knipsel.JPG (118.83 KiB) Viewed 3243 times

Code: Select all

2020-06-09 06:47:11.708 (Zigbee2MQTT) MQTT message: zigbee2mqtt/bridge/log {'type': 'pairing', 'message': 'interview_started', 'meta': {'friendly_name': 'Keuken Inbouwspots'}}
2020-06-09 06:47:11.777 (Zigbee2MQTT) MQTT message: zigbee2mqtt/bridge/config/devices
2020-06-09 06:47:11.778 (Zigbee2MQTT) MQTT message: zigbee2mqtt/bridge/log {'type': 'devices', 'message': [{'ieeeAddr': '0x00124b001949dc57', 'type': 'Coordinator', 'networkAddress': 0, 'friendly_name': 'Coordinator', 'softwareBuildID': 'zStack12', 'dateCode': '20190608', 'lastSeen': 1591678031728}, {'ieeeAddr': '0x00158d00049ff115', 'type': 'EndDevice', 'networkAddress': 17279, 'model': 'MCCGQ11LM', 'vendor': 'Xiaomi', 'description': 'Aqara door & window contact sensor', 'friendly_name': 'Deursensor Tussendeur', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.sensor_magnet.aq2', 'hardwareVersion': 2, 'softwareBuildID': '3000-0001', 'dateCode': '20161128', 'lastSeen': 1591676191952}, {'ieeeAddr': '0x00158d00046668e7', 'type': 'EndDevice', 'networkAddress': 48946, 'model': 'RTCGQ11LM', 'vendor': 'Xiaomi', 'description': 'Aqara human body movement and illuminance sensor', 'friendly_name': 'PIR Kastenkamer', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.sensor_motion.aq2', 'lastSeen': 1591677696998}, {'ieeeAddr': '0x00158d00039dc48f', 'type': 'EndDevice', 'networkAddress': 47540, 'model': 'DJT11LM', 'vendor': 'Xiaomi', 'description': 'Aqara vibration sensor', 'friendly_name': 'Vibration Kattenluik', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'modelID': 'lumi.vibration.aq1', 'softwareBuildID': '3000-0001', 'lastSeen': 1591675018747}, {'ieeeAddr': '0x00158d000486551f', 'type': 'EndDevice', 'networkAddress': 13321, 'model': 'RTCGQ11LM', 'vendor': 'Xiaomi', 'description': 'Aqara human body movement and illuminance sensor', 'friendly_name': 'PIR Studeerkamer', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.sensor_motion.aq2', 'hardwareVersion': 1, 'softwareBuildID': '3000-0001', 'dateCode': '20170627', 'lastSeen': 1591676925276}, {'ieeeAddr': '0x00158d00044d193d', 'type': 'EndDevice', 'networkAddress': 27233, 'model': 'WSDCGQ11LM', 'vendor': 'Xiaomi', 'description': 'Aqara temperature, humidity and pressure sensor', 'friendly_name': 'Temperatuursensor Slaapkamer', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.weather', 'hardwareVersion': 30, 'softwareBuildID': '3000-0001', 'dateCode': '20191205', 'lastSeen': 1591675947170}, {'ieeeAddr': '0x00158d00047d61f6', 'type': 'EndDevice', 'networkAddress': 26015, 'model': 'MCCGQ11LM', 'vendor': 'Xiaomi', 'description': 'Aqara door & window contact sensor', 'friendly_name': 'Deursensor Voordeur', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.sensor_magnet.aq2', 'hardwareVersion': 2, 'softwareBuildID': '3000-0001', 'dateCode': '20161128', 'lastSeen': 1591676069521}, {'ieeeAddr': '0xec1bbdfffe93808c', 'type': 'Router', 'networkAddress': 49838, 'model': 'LED1836G9', 'vendor': 'IKEA', 'description': 'TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white', 'friendly_name': 'Washok', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Mains (single phase)', 'modelID': 'TRADFRI bulb E27 WW 806lm', 'hardwareVersion': 2, 'softwareBuildID': '2.1.022', 'dateCode': '20181203', 'lastSeen': 1591636383306}, {'ieeeAddr': '0xec1bbdfffe90fdeb', 'type': 'Router', 'networkAddress': 39762, 'model': 'LED1836G9', 'vendor': 'IKEA', 'description': 'TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white', 'friendly_name': 'Trapkast', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Mains (single phase)', 'modelID': 'TRADFRI bulb E27 WW 806lm', 'hardwareVersion': 2, 'softwareBuildID': '2.1.022', 'dateCode': '20181203', 'lastSeen': 1591636980778}, {'ieeeAddr': '0xec1bbdfffe7f3b28', 'networkAddress': 16704, 'vendor': '-', 'description': '-', 'friendly_name': 'Keuken Inbouwspots', 'lastSeen': 1591678031682}]}
2020-06-09 06:47:11.779 (Zigbee2MQTT) Received available devices list from bridge
2020-06-09 06:47:11.779 (Zigbee2MQTT) Coordinator address is 0x00124b001949dc57
2020-06-09 06:47:11.779 (Zigbee2MQTT) Device MCCGQ11LM 0x00158d00049ff115 (Deursensor Tussendeur)
2020-06-09 06:47:11.779 (Zigbee2MQTT) Device RTCGQ11LM 0x00158d00046668e7 (PIR Kastenkamer)
2020-06-09 06:47:11.780 (Zigbee2MQTT) Device DJT11LM 0x00158d00039dc48f (Vibration Kattenluik)
2020-06-09 06:47:11.780 (Zigbee2MQTT) Device RTCGQ11LM 0x00158d000486551f (PIR Studeerkamer)
2020-06-09 06:47:11.780 (Zigbee2MQTT) Device WSDCGQ11LM 0x00158d00044d193d (Temperatuursensor Slaapkamer)
2020-06-09 06:47:11.781 (Zigbee2MQTT) Device MCCGQ11LM 0x00158d00047d61f6 (Deursensor Voordeur)
2020-06-09 06:47:11.781 (Zigbee2MQTT) Device LED1836G9 0xec1bbdfffe93808c (Washok)
2020-06-09 06:47:11.782 (Zigbee2MQTT) Device LED1836G9 0xec1bbdfffe90fdeb (Trapkast)
2020-06-09 06:47:11.782 (Zigbee2MQTT) Device 0xec1bbdfffe7f3b28 (Keuken Inbouwspots) doesn't have "model" attribute, skipped
2020-06-09 06:47:11.833 (Zigbee2MQTT) MQTT message: zigbee2mqtt/bridge/log {'type': 'device_announced', 'message': 'announce', 'meta': {'friendly_name': 'Keuken Inbouwspots'}}