Zvika
(Zvika)
August 8, 2016, 3:52pm
1
In HABmin I can see interesting stuff in the Device’ Information section, such as battery-powered device ‘Power’ status.
I’d like to use this information as an item, for example, to show it to the user in the Sitemap.
In the documentation there is a command class INFO, with a list of supported parameters.
Tried one of these parameters, and it’s working fine:
String HVAC_Battery "Battery[%s]"{zwave="3:command=info,item=DEVICE_ID" }
However, I want to use the ‘Power’ information.
Tried this:
String HVAC_Battery "Battery[%s]"{zwave="3:command=info,item=POWER" }
(I have used ‘Power’, ‘power’ and ‘POWER’)
But all give this warning:
18:49:36.931 [WARN ] [o.o.b.z.i.c.ZWaveInfoConverter:79 ] - Incorrect information item specified. item name = power
Is it possible to access only the items documented in the table?
Or is there a way to access such an item?
BTW,
The device is ZXT-120.
Thanks
chris
(Chris Jackson)
August 8, 2016, 4:52pm
2
Yes - other information is not available.
chris
(Chris Jackson)
August 8, 2016, 4:56pm
3
Just to add that battery is a command class so can be linked to an item using the command class BATTERY.
Zvika
(Zvika)
August 9, 2016, 7:13am
4
Good idea…
I’ve tried:
String HVAC_Battery "בטריה [%s]"{zwave="3:command=battery" }
But got
10:07:01.055 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 3: Got a value event from Z-Wave network, endpoint = 0, command class = BATTERY, value = 71
10:07:01.055 [WARN ] [.b.z.i.c.ZWaveBatteryConverter:71 ] - No converter found for item = HVAC_Battery, node = 3 endpoint = 0, ignoring event.
I tried also [%d] and [%f], just to be sure.
What have I done wrong?
Zvika
(Zvika)
August 9, 2016, 7:39am
5
Oh, that was silly
It should be of course
Number HVAC_Battery "בטריה [%d]"{zwave="3:command=battery" }
Thanks for the Battery
idea!