This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Zigbee integration
#1
Hi,

Which Zigbee dongle works on LM5 ?
Reply
#2
(07.12.2024, 08:03)Alexander Wrote: Hi,

Which Zigbee dongle works on LM5 ?
Hi Alexander,
I suggest to use the usb key or the ZigBee to 232 products (Openrb products)
Best regards Cristian
Reply
#3
https://openrb.com/zigbee-rs232-gateway/
------------------------------
Ctrl+F5
Reply
#4
Can the ZigBee RS232 also be used on a Wiser (LM5 lite)? 
And what would be the route/website to obtain, living in Netherlands.

Looking at range.  When the gateway is in good range of 1 of the zigbee devices, the mesh network of Zigbee itself wil work for devices outside the range of the gateway?
Or is the gateway so strong (inside building)? 

Thx for the answers!
Reply
#5
SE has its own version of Zigbee interface based on our version but there are some changes so you better get this one for full compatibility. Search for LSS100400
If you add mains powered repeater then the range will be extended beyond the range of the coordinator. Nearly every mains powder zigbee device acts as a repeater.
------------------------------
Ctrl+F5
Reply
#6
(08.12.2024, 13:55)CristianAgata Wrote:
(07.12.2024, 08:03)Alexander Wrote: Hi,

Which Zigbee dongle works on LM5 ?
Hi Alexander,
I suggest to use the usb key or the ZigBee to 232 products (Openrb products)
Best regards Cristian

Hi Cristian,
I’m using the RS-232 Zigbee interface with the Zigbee app on LogicMachine, but not all datapoints from the Zigbee device are showing up. Only some clusters or attributes seem to be available. Do you have any experience with this?

Alexander
Reply
#7
This is a list of supported devices https://kb.logicmachine.net/misc/zigbee-devices/
If you device is there then it should have majority of features created. If not then it needs a profile. In any case we never create 100% of features of a device as there is far too many.
------------------------------
Ctrl+F5
Reply
#8
(30.06.2025, 11:05)Daniel Wrote: This is a list of supported devices https://kb.logicmachine.net/misc/zigbee-devices/
If you device is there then it should have majority of features created. If not then it needs a profile. In any case we never create 100% of features of a device as there is far too many.

Hi Daniel,

It looks like my device is on that list – the Amina S Charger. I'm trying to find the specific datapoint shown in the attached image.
I found this on the following page: Amina Zigbee

Attached Files Thumbnail(s)
   
Reply
#9
Share the Device information from the zigbee app of this device(in text format)
------------------------------
Ctrl+F5
Reply
#10
(Yesterday, 07:37)Daniel Wrote: Share the Device information from the zigbee app of this device(in text format)

Here it is

Attached Files
.txt   aminazigbee.txt (Size: 873 bytes / Downloads: 4)
Reply
#11
OK thanks, we will look at it in a couple of days.
------------------------------
Ctrl+F5
Reply
#12
(Yesterday, 08:04)Daniel Wrote: OK thanks, we will look at it in a couple of days.

Thank you Smile
Reply
#13
You should be able to read this values via script
https://forum.logicmachine.net/showthrea...e#pid38422
https://kb.logicmachine.net/libraries/zi...wattribute
------------------------------
Ctrl+F5
Reply
#14
(Yesterday, 09:56)Daniel Wrote: You should be able to read this values via script
https://forum.logicmachine.net/showthrea...e#pid38422
https://kb.logicmachine.net/libraries/zi...wattribute

Does this work with older LM5 Lite (newest firmware)? I have this Zigbee gateway from openRb with RS232 communication.
Reply
#15
It works with any imx6 version of LM
------------------------------
Ctrl+F5
Reply
#16
(Today, 06:18)Daniel Wrote: It works with any imx6 version of LM

Ok, but I can't get the script to work. Are we supposed to add a user library for this?

Update: I always get the error message: "address must be a string or a number".

Here is my script:
Code:
local zb = require('applibs.zigbee')

local ieee = 'f4ce36e12b9esa24'
local cluster = 0x0B04
local endpoint = 10

local args = {
  ieee = ieee,
  endpoint = endpoint,
  cluster = cluster,
  attributes = { 'rmsvoltage' }
}

local res, err = zb.cmdsync('getnamedattributes', args)

if type(res) == 'table' then
  log('Zigbee-respons: ' .. json.encode(res)) 
  if res.rmsvoltage then
    log('Spenning (RMS): ' .. tostring(res.rmsvoltage) .. ' V')
  else
    log('Ingen rmsvoltage funnet i respons')
  end
else
  log('Feil ved lesing: ' .. tostring(err or 'ingen respons'))
end
Reply
#17
Hi

Please try this and give a feedback

Code:
local zb = require('applibs.zigbee')

local ieee = 'f4ce36e12b9esa24'

local res, err = zb.cmdsync('getnamedattributes', ieee, 'HaElectricalMeasurement', {'RmsVoltage'})

log(res)
log(err)
Reply
#18
(10 hours ago)RomansP Wrote: Hi

Please try this and give a feedback

Code:
local zb = require('applibs.zigbee')

local ieee = 'f4ce36e12b9esa24'

local res, err = zb.cmdsync('getnamedattributes', ieee, 'HaElectricalMeasurement', {'RmsVoltage'})

log(res)
log(err)

Hi, this works. Thank you.

Log:
testz 02.07.2025 13:06:29
* table:
["RmsVoltage"]
  * number: 242
testz 02.07.2025 13:06:29
* nil

(10 hours ago)RomansP Wrote: Hi

Please try this and give a feedback

Code:
local zb = require('applibs.zigbee')

local ieee = 'f4ce36e12b9esa24'

local res, err = zb.cmdsync('getnamedattributes', ieee, 'HaElectricalMeasurement', {'RmsVoltage'})

log(res)
log(err)

Maybe you can help me with reading another value. 
See attached images. I want to read Total Active Energy.

Attached Files Thumbnail(s)
       
Reply
#19
Please test

Code:
local zb = require('applibs.zigbee')

local ieee = 'f4ce36e12b9esa24'

local res, err = zb.cmdsync('getnamedattributes', ieee, 'HaElectricalMeasurement', {'RmsVoltage'})
log(res)
log(err)

local res_2, err_2 = zb.cmdsync('getrawattribute', ieee, 0xFEE7, 0x0010)
log(res_2)
log(err_2)
Reply
#20
(8 hours ago)RomansP Wrote: Please test

Code:
local zb = require('applibs.zigbee')

local ieee = 'f4ce36e12b9esa24'

local res, err = zb.cmdsync('getnamedattributes', ieee, 'HaElectricalMeasurement', {'RmsVoltage'})
log(res)
log(err)

local res_2, err_2 = zb.cmdsync('getrawattribute', ieee, 0xFEE7, 0x0010)
log(res_2)
log(err_2)

That worked, thank you again!
Getting 1810912 for a value, not sure how to read that. Maybe it means 1810kWh, which would make sense. 

Here is the log: 

testz 02.07.2025 13:59:46
* table:
["RmsVoltage"]
  * number: 241
testz 02.07.2025 13:59:46
* nil
testz 02.07.2025 13:59:46
* number: 1810912
testz 02.07.2025 13:59:46
* nil
Reply


Forum Jump: