![]() |
|
Zigbee gateway integration - Printable Version +- LogicMachine 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) |
RE: Zigbee gateway integration - stonecroft - 02.08.2026 Hi.
I’ve bought some SONOFF SNZB-02WD temperature and humidity sensors. They work fine, but I can't read the battery status; is there a way to fix that? Manufacturer: SONOFF
Model: SNZB-02WD Firmware version: 1.1.0 Device type: End device Power source: Battery Receive when idle: No Endpoint 1 Profile: 260 Input clusters - Basic (0) - PowerCfg (1) - Identify (3) - MsTemperatureMeasurement (1026) - MsRelativeHumidity (1029) - PollCtrl (32) - 64599 - 64529 Output clusters - Ota (25) Reported attributes - humidity: 46.6 - temperature: 24.20 RE: Zigbee gateway integration - AlexLV - 02.08.2026 Hi, also problem with status of battery. I see % of battery device, but in settings only available Low Battery Detected status (1bit) Is it possible to add % status of battery also to settings (1 byte)? Look like that at 1% status not changed to Battery not OK - bad and communication now already lost. Device - SMARTis water leakage sensor E4, ZigBee, TUYA / Smart Life, NOUS Also is possible to add Heartbeat status to know device is alive? In Zigbee app is seen that periodically is information exchange but such info not seen at KNX side. % status of battery is seen at device status (pix in attach) Manufacturer: _TZ3000_0s9gukzt Model: TS0207 Device type: End device Power source: Battery Receive when idle: No Endpoint 1 Profile: 260 Input clusters - PowerCfg (1) - Identify (3) - SsIasZone (1280) - Basic (0) Output clusters - Ota (25) - Time (10) Reported attributes BR, Alex - detection: false RE: Zigbee gateway integration - admin - 04.08.2026 @stianj, @stonecroft, @AlexLV New app version with updated profiles has been published. As usual, reset your device and pair it again. RE: Zigbee gateway integration - AlexLV - 04.08.2026 Hi, thank you Admin! I added battery status with %, will test it. I hope it helps a bit to protect rooms from the leakage with my cheap leakage OEM sensors.. BR, Alex RE: Zigbee gateway integration - stianj - 05.08.2026 Thanks! I can confirm that all the buttons on my Styrbar now works as expected. Very good! But I don't have any battery status, neither as an icon under the status column in the Zigbee app, nor is the group address assigned updated. Not a big deal for me, my use-case is taken care of now, but there is still some room for improvements
RE: Zigbee gateway integration - admin - 05.08.2026 It might take some time for the battery status to be sent by the device. RE: Zigbee gateway integration - stianj - 05.08.2026 We'll see... 15 hours so far... Altough, more Googling revealed this statement from https://github.com/zigpy/zha-device-handlers/issues/2988 where people claim that a battery voltage above 1.35 would send 255 (invalid/unknown), which I can confirm: [2026-08-05 11:36:11] ZB: packet from bc8d7efffede049f: { FrameControl = [ "FrameTypeGlobal", "DirectionFromServer" ], TransactionSequenceNumber = 61, GeneralCommandFrame = { CommandIdentifier = "ReportAttributes", ReportAttributes = { AttributeReports = [ { AttributeIdentifier = 33, Attribute = { Type = "uint8", Value = 255 } } ] } } } Probably a change they implemented after IKEA stopped selling non-rechargable batteries some years ago. I will change to rechargable batteries later today, that will probably fix it ![]() Sorry about the noise! RE: Zigbee gateway integration - stianj - 06.08.2026 With rechargable batteries, it did indeed start to send battery status. Very good charge on those batteries! RE: Zigbee gateway integration - admin - 06.08.2026 This is IKEA "feature" ![]() ZigBee standard states that the battery status is reported in the 0..200 range which is then divided by 2 to get the real percentage. Older IKEA devices report the status directly in the 0..100 range so the division by 2 is disabled in the profile. This is why you get 180% instead of 90%. |