OK I understand, but I am not using Z-Cloud, I want local use only, and didn't find anything what can help me in documentation ...pz1 wrote:This thread is mostly about the older Z-Cloud which behaves differently from present RaZberry. Refer to the developers documentation
Fast Forward to Razberry
Re: Fast Forward to Razberry
Re: Fast Forward to Razberry
The developers manual refers in section 8.30 on page 94 to Command class *SwitchBinary* You better take the habit of using those names instead of the numbers:LOCOSP wrote: I try withCode: Select all
ZWaveAPI/Run/devices[4].instances[0].commandClasses[0x26].Get()
Code: Select all
ZWaveAPI/Run/devices[4].instances[0].SwitchBinary.Get()
Do read that piece carefully, so you understand what is happening. This Get command only instructs the controller to place this value in the dataholder, from where you must read it for your application:
Code: Select all
ZWaveAPI/Run/devices[4].instances[0].SensorBinary.data.level.value
Hope this helps (I haven't tested, just copied from an old code base)
Since 29-12-2016 I am no longer a moderator for this forum