Search found 20 matches

by innovateinvent
Monday 25 April 2022 4:28
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

Thanks @pipiche for following up.
I just bought a linux NAS and am going to move the coordinator to that rather than OpenWRT.

I am waiting for it to show up in a couple weeks.
by innovateinvent
Monday 14 March 2022 22:04
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I don't have anything other than the SONOFF for sniffing. I actually just noticed that there are other devices in my neighbourhood that are being picked up when I scan. There is even this random RGB dimmer that I now have the option to add in the main Domoticz devices menu. The issue must be limited ...
by innovateinvent
Sunday 13 March 2022 19:55
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

Thanks again for all this help. I click on "Pairing" under "Pairing a new device with the assitant" and then a moment later I tap the reset button on the switch 4 times. The LED starts pulsing and then I leave it beside the SONOFF until I see the error on the popup window. For the plug I do the same ...
by innovateinvent
Saturday 12 March 2022 23:18
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

{ "ControllerInRawMode": true, "PluginAnalytics": 1, "channel": "15", "debugInput": 1, "debugPairing": 1, "debugTransportZigpy": 1, "debugTransportZigpyZNP": 1, "enablegroupmanagement": 1, "filename": "/var/lib/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json", "homedirectory": "/var/lib ...
by innovateinvent
Saturday 12 March 2022 22:28
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I have tried both a IKEA Tradfri E1743 switch and a IKEA Tradfri E1706 plug I also tried enabling groups and creating group0000 in the settings, no effect. https://www-twoenter-nl.translate.goog/blog/smarthome/ikea-tradfri-lampen-in-domoticz-via-zigate/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en&_x_tr ...
by innovateinvent
Saturday 12 March 2022 22:12
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I am having issues with pairing any device, I am not sure if this is still related: "Module":"Input","nwkid":"9959","PluginHealth":"Ready","message":"Something wrong on Device 9959 97da43feff27fd84 pairing process. (aborting)","PermitToJoin":{"Duration":0,"Starttime":1647119112},"Thread ...
by innovateinvent
Saturday 12 March 2022 11:48
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I got it! The magic sauce was installing the following: opkg install python3 python3-pip python3-voluptuous python3-cryptodome python3-attrs python3-aiohttp python3-jsonschema pip install aiosqlite crccheck pyusb pyserial-asyncio coloredlogs It now works, I just need to muck around with trying to ...
by innovateinvent
Tuesday 08 March 2022 19:47
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

Thanks, I still haven't figured out how to get around not enough ram to install anything via pip. I was looking at moving this project to an old laptop but it needs a lot of love before I can use it.
by innovateinvent
Sunday 27 February 2022 21:39
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I would have expected that these import exceptions would be logged somewhere. Perhaps the exceptions are happening too early in the stack to make it in the log.
by innovateinvent
Friday 25 February 2022 23:25
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

Thanks, those commands exposed issues with the python dependency install. pip3 install voluptuous pycrypto aiosqlite crccheck pyusb attr attrs aiohttp pyserial-asyncio pycrypto can't be installed to OpenWRT due to required system packages missing and unavailable. For other dependencies listed, pip ...
by innovateinvent
Friday 25 February 2022 10:14
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I just did that now and restarted. 2022-02-25 01:11:15.730 Active notification Subsystems: fcm, http (2/13) 2022-02-25 01:11:15.742 Starting shared server on: :::6144 2022-02-25 01:11:17.745 SONOFF hardware started. 2022-02-25 01:11:47.436 SONOFF: (SONOFF) Zigbee for Domoticz plugin started! 2022-02 ...
by innovateinvent
Friday 25 February 2022 10:06
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

I have cleaned up a few things now that I have a sense of what is happening. Domoticz is being executed under the 'domoticz' user by the init.d script. So I have chown -R domoticz:domoticz * the plugin folder. I have also added domoticz to the 'dialout' group that owns /dev/ttyUSB0 via usermod -a -G ...
by innovateinvent
Friday 25 February 2022 9:46
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

OK again! chmod o+rw /dev/ttyUSB0 was the issue 2022-02-25 00:43:33.431 Active notification Subsystems: fcm, http (2/13) 2022-02-25 00:43:33.443 Starting shared server on: :::6144 2022-02-25 00:43:35.446 SONOFF hardware started. 2022-02-25 00:44:05.289 SONOFF: (SONOFF) Zigbee for Domoticz plugin ...
by innovateinvent
Friday 25 February 2022 9:35
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

Initialize Coordinator is currently set to True
No change to netstat output
Domoticz log is posted completely, plugin log is truncated with the last two lines repeating hundereds of times.
by innovateinvent
Friday 25 February 2022 9:25
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

OK! First issue down, for some reason the default file permissions on the entire plugin repo only permit user write. chmod -R ugo+rw * fixed that, and now I have more in the log: 2022-02-25 00:19:09.090 Active notification Subsystems: fcm, http (2/13) 2022-02-25 00:19:09.104 Starting shared server ...
by innovateinvent
Friday 25 February 2022 9:00
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

The openwrt package has a funky init.d script that has symlinks set up in various places: https://github.com/openwrt/packages/blob/openwrt-21.02/utils/domoticz/files/domoticz.init /etc/domoticz/plugins actually points to /usr/share/domoticz/plugins/ I actually initially tried "Initialize Coordinator ...
by innovateinvent
Friday 25 February 2022 8:36
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

Re: OpenWRT Zigbee for domoticz plugin

Thanks, I don't think a firewall will block an application from opening a port. The netstat shows that the port isn't even being listened to. I haven't done anything for port 8080 and 6144 and those were able to be opened by domoticz without issue. /etc/domoticz/plugins/Domoticz-Zigbee/Logs/ is ...
by innovateinvent
Friday 25 February 2022 8:16
Forum: Zigbee
Topic: OpenWRT Zigbee for domoticz plugin
Replies: 41
Views: 4948

OpenWRT Zigbee for domoticz plugin

Hi all, I just bought a SONOFF Zigbee 3.0 USB Dongle Plus, TI CC2652P + CP2102N Zigbee USB Stick I flashed the most recent firmware: CC1352P2_CC2652P_launchpad_coordinator_20211217 using https://github.com/JelmerT/cc2538-bsl I plugged it into my TP-Link Archer C7 v2 w. OpenWRT Installed opkg install ...