[userMODULE] OpenRemoteHelpers

Tips, Tricks and Scripts to enhance your home automation and workaround known device bugs, limitations and incompatibilities
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: [userMODULE] OpenRemoteHelpers

Post by pz1 »

Look inside the very old RaZ-OR module
https://github.com/pz1/Razberry/blob/ma ... nremote.js

starting at line 180

It does something with the Math.round function.
pierre2302
Posts: 132
Joined: 15 Oct 2013 19:04

Re: [userMODULE] OpenRemoteHelpers

Post by pierre2302 »

It's perfect, thank you !!
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: [userMODULE] OpenRemoteHelpers (iOS client)

Post by pz1 »

There is a new completely rewritten beta release of the OpenRemote iOS client. Further instructions on the OR site.
winston
Posts: 1
Joined: 16 Feb 2016 00:07

Re: [userMODULE] OpenRemoteHelpers

Post by winston »

Hi , I Check the operability of the commands (dimmer-->http://raspberry_ip:8083/OpenRemote/SwitchMultilevelSet/2/0/50) from the browser and this sends me the message "404 not found". This from openremote not work
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: [userMODULE] OpenRemoteHelpers

Post by pz1 »

winston wrote:Hi , I Check the operability of the commands (dimmer-->http://raspberry_ip:8083/OpenRemote/SwitchMultilevelSet/2/0/50) from the browser and this sends me the message "404 not found". This from openremote not work
See second warning on the Openremote page
pierre2302
Posts: 132
Joined: 15 Oct 2013 19:04

Re: [userMODULE] OpenRemoteHelpers

Post by pierre2302 »

Hello

I think there is a problem on the alarmsensor command

we must replace:

Code: Select all

case "AlarmStatus":
                // there are usually no instances for alarms
                return (zway.devices[N].AlarmSensor.data.level.value == 0) ? "off" : "on" ;



by :

Code: Select all

case "AlarmStatus":
		var T = params.shift();
                return (zway.devices[N].instances[I].AlarmSensor.data[T].sensorState.value == 0) ? "off" : "on" ;
Necessary for the flood sensor and the smoke detector.
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way
Post Reply