If I send http://192.168.1.207:8083/ZWaveAPI/Run/devices[2].

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
laweee
Posts: 4
Joined: 05 Oct 2015 15:58

If I send http://192.168.1.207:8083/ZWaveAPI/Run/devices[2].

Post by laweee »

I have 2 raspberry pi + razberry and I send "btn_on" to the other

If I send code to my razberry2 from razberry1,

http://192.168.1.207:8083/ZWaveAPI/Run/ ... ].Set(255)

then, What code in my razberry2 catch that "btn_on" order?

In the htdocs\expert\app\core\controllers ??
or
In the htdocs\expert\app\core\services ??

please save my life!!!!
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: If I send http://192.168.1.207:8083/ZWaveAPI/Run/devices

Post by PoltoS »

don't search for it in UI, instead read our doc http://razberry.z-wave.me/docs/zwayDev.pdf to see how to trap it on server side (zway.devices[2].instances[0].commandClasses[38].data.level)
Post Reply