Logic Machine Forum
Zigbee gateway integration - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Zigbee gateway integration (/showthread.php?tid=3320)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


Zigbee gateway integration - tigi - 26.04.2021

In one of the topics I read that z-wave will be deprecated, fortunately I only have one z-wave device and the usb-stick.

So I'm looking at Zigbee and was wondering if I can already explore and invest in some devices knowing they will be integrateable in the LM5 in the future. A zigbee usb stick would be an ideal solution to start with on my desktop while later on be useable in the LM5, the same way the enocean usb-stick / solution works (like a charm).

However,  I read somewhere that the use of a conbee ii usb stick and the like is not possible, but will it ever be?
If not then I can put the whole Zigbee story in the fridge till further notice.

Which brings me to the second question, can you give an estimated date when there will be a solution for zigbee integration?
So I know when I can open that zigbee fridge again? Smile

Thanks in advance!


RE: Zigbee gateway integration - myg - 26.04.2021

Any usb-stick based solution with MQTT can be integrated into LM right now.


RE: Zigbee gateway integration - Daniel - 26.04.2021

Would be easier if you purchase the dongle form us as otherwise you need also extra hardware for flashing it.


RE: Zigbee gateway integration - tigi - 26.04.2021

(26.04.2021, 15:38)Daniel. Wrote: Would be easier if you purchase the dongle form us as otherwise you need also extra hardware for flashing it.

Aha, didn't know there was already a zigbee stick to buy for the LM.
I'll send an email to Edgards for purchase.

Thanks Daniel for the info!

@myg
Do you meant a usb-stick directly connected to the LM and integrated such as enocean?
Not a usb-stick connected to another device and then using mqtt.
I know mqtt is the way to go for external integrations, but I prefer to have one platform/device.
The less platforms and bridge devices the better.


RE: Zigbee gateway integration - Daniel - 26.04.2021

Yes usb stick in LM. The app is available for beta testing.


RE: Zigbee gateway integration - tigi - 28.04.2021

LM Zigbee stick is on the way. Thanks for the great service!

I'm getting some zigbee devices to test with.
Do below devices already work with the beta software?

- Xiaomi Aqara Smart Plug
- Xiaomi Aqara Waterleak Sensor

Thanks in advance.


RE: Zigbee gateway integration - admin - 29.04.2021

Basic control for the smart plug should work out of the box. Leak sensor will require a profile to be added to the app. You will need to provide the reported Manufacturer / Model values of the sensor once it is connected to your ZigBee network.


RE: Zigbee gateway integration - tigi - 05.05.2021

Recieved USB stick today and upgraded to:
'LM5 Lite + Ext (4 or 6 DIN units): https://dl.openrb.com/lm-21-imx6/lm5m3ex-20210413.img'

Is there anything else I need to do for the Zigbee stick to work?


RE: Zigbee gateway integration - Daniel - 05.05.2021

You need the app, do you have it? Do a reboot after plugin it.


RE: Zigbee gateway integration - tigi - 05.05.2021

(05.05.2021, 12:48)Daniel. Wrote: You need the app, do you have it? Do a reboot after plugin it.

Hi Daniel, I don't have / found the App.
Is it available on the 'Apps' page and how is it called?
Thx.


RE: Zigbee gateway integration - Daniel - 05.05.2021

check PM


RE: Zigbee gateway integration - tigi - 05.05.2021

Got it all working.
Usb stick connected & working. App installed & working.
Devices are picked up but I guess there is no profile present for the first one and an incomplete profile for the second one.

Aqara Water leak sensor, model SJCGQ11LM, LUMI - lumi.sensor_wleak.aq1, 00158d00063296f0
  • When activating the device (simulating water leak) I see a transmitted message but no data. Maybe it just sends a heartbeat when detecting water.
  • There is no option to connect it to a group address, only name can be given.
Aqara Smart Plug, model SP-EUC01, LUMI - lumi.plug.maeu01, 04cf8cdf3c89df32
  • The device is able to monitor energy consumption and switching.
  • The switching part is present and I can connect it to a group address.
  • Energy consumption is not available, there is no option to connect it to a group address.
I've attached the log.

Can profiles be made for those 2 devices?


RE: Zigbee gateway integration - admin - 08.05.2021

Can you provide a screenshot of the device list in the app? Adding the water leak sensor is easy. Energy consumption reading is not implemented yet but will be added soon.


RE: Zigbee gateway integration - tigi - 08.05.2021

(08.05.2021, 10:16)admin Wrote: Can you provide a screenshot of the device list in the app? Adding the water leak sensor is easy. Energy consumption reading is not implemented yet but will be added soon.


Sounds great!
In attachment a screenshot of the device list.


RE: Zigbee gateway integration - clue9 - 13.05.2021

I also have the Zigbee dongle supplied from LogicMachine, but miss the app to start the integration and testing process. Can someone supply me the app. I use the latest SW 20210510 in my LM.


RE: Zigbee gateway integration - Daniel - 13.05.2021

(13.05.2021, 14:35)clue9 Wrote: I also have the Zigbee dongle supplied from LogicMachine, but miss the app to start the integration and testing process. Can someone supply me the app. I use the latest SW 20210510 in my LM.

Check PM


RE: Zigbee gateway integration - MLa - 14.05.2021

Hi,
Is it possible to test the Zigbee app on Wiser for knx?

Magnus


RE: Zigbee gateway integration - clue9 - 15.05.2021

(13.05.2021, 14:41)Daniel. Wrote:
(13.05.2021, 14:35)clue9 Wrote: I also have the Zigbee dongle supplied from LogicMachine, but miss the app to start the integration and testing process. Can someone supply me the app. I use the latest SW 20210510 in my LM.

Check PM

I have both a Phillips hue dimmer switch and a namron zigbee ligth bulb i try to pair.
Nothing happens in the app.
I manage to direct pair between the swithc and the ligth, but not to LM. What could be the trouble?
I attatch a log and monitor output from log.

UPDATE: Uninstalled the zigbee app i recieved from Edgars  (20210409) and installed older app i got from Daniel (20201112), now they show up. Bulb is controllable but dimmer switch is not updating. (Profile?) 



Monitor output


#Time
Type
Address
Cluster
Action
 Stop monitor  Export CSV  Clear
Data5
16:19:27.907
RX
coordinator
-
init
-
4
16:18:14.794
RX
coordinator
-
init
-
3
16:17:02.667
RX
coordinator
-
init
-
2
16:15:51.541
RX
coordinator
-
init
-
1
16:14:51.083
RX
coordinator
-
init
-



Log output



Date
Entry
 Reload logs2021-05-15 16:20:29
TASK zb_initialize aborted: stack traceback:
[C]: in function 'assert'
...tmp.8xzCku2d3d/files/store/daemon/zigbee/zigbee/core.lua:563: in function <...tmp.8xzCku2d3d/files/store/daemon/zigbee/zigbee/core.lua:559>

2021-05-15 16:20:29
ZB: could not start coordinator
2021-05-15 16:20:29
CC: error initializing
2021-05-15 16:20:29
CC: could not reset dongle
2021-05-15 16:20:09
ZNP: sending request:
[5] FE 00 41 00 41
2021-05-15 16:20:09
AREQ: sending SYS_RESET_REQ, data: nil
2021-05-15 16:20:09
CC: resetting device
2021-05-15 16:19:49
ZNP: sending request:
[5] FE 00 41 00 41
2021-05-15 16:19:49
AREQ: sending SYS_RESET_REQ, data: nil
2021-05-15 16:19:49
CC: resetting device
2021-05-15 16:19:29
ZNP: sending request:
[5] FE 00 41 00 41
2021-05-15 16:19:29
AREQ: sending SYS_RESET_REQ, data: nil
2021-05-15 16:19:29
CC: resetting device
2021-05-15 16:19:16
TASK zb_initialize aborted: stack traceback:
[C]: in function 'assert'
...tmp.8xzCku2d3d/files/store/daemon/zigbee/zigbee/core.lua:563: in function <...tmp.8xzCku2d3d/files/store/daemon/zigbee/zigbee/core.lua:559>

2021-05-15 16:19:16
ZB: could not start coordinator
2021-05-15 16:19:16
CC: error initializing
2021-05-15 16:19:16
CC: could not reset dongle






Error log from LM is full of this entry.

lua: /tmp/tmp.8xzCku2d3d/files/store/daemon/zigbee/lib/ctx.lua:197: ...tmp.8xzCku2d3d/files/store/daemon/zigbee/zigbee/core.lua:563: ZB: could not start coordinator
stack traceback:
[C]: in function 'error'
/tmp/tmp.8xzCku2d3d/files/store/daemon/zigbee/lib/ctx.lua:197: in function 'task_resume'
/tmp/tmp.8xzCku2d3d/files/store/daemon/zigbee/lib/ctx.lua:210: in function 'callback'
/tmp/tmp.8xzCku2d3d/files/store/daemon/zigbee/lib/ctx.lua:164: in function 'task_timer_run'
/tmp/tmp.8xzCku2d3d/files/store/daemon/zigbee/lib/ctx.lua:39: in function 'run'
/tmp/tmp.8xzCku2d3d/files/store/daemon/zigbee/app.lua:273: in main chunk
[C]: at 0x0001496c


RE: Zigbee gateway integration - clue9 - 15.05.2021

Phillips hue dimmer switch :

Device information of «Signify Netherlands B.V. - RWL022»
Device type: End device
Power source: Battery
Receive when idle: No

Endpoint 1
Profile: 260
Input clusters:
- Basic (0)
- PowerCfg (1)
- Identify (3)
- ManuSpecificUbisysDeviceSetup (64512)
- LightLink (4096)
Output clusters:
- Ota (25)
- Basic (0)
- Identify (3)
- Groups (4)
- OnOff (6)
- LevelCtrl (8)
- Scenes (5)
- LightLink (4096)


RE: Zigbee gateway integration - admin - 17.05.2021

We'll provide an update this week with new profiles.