Hello
I just installed 1.7.2 and I use commands openremotehelpers module. I have a problem of delay equal to several seconds with the command I did not have with version 1.3.1 RAZ-OR
thank you
delay response
-
- Posts: 132
- Joined: 15 Oct 2013 19:04
delay response
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way
Re: delay response
Does the delay happen if you send command directly from Expert UI? Does it happen for all devices, or just for some of them?
-
- Posts: 132
- Joined: 15 Oct 2013 19:04
Re: delay response
for now I can confirm that there is no delay with the user interface. the delay is for all modules
Thank you
Thank you
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way
Re: delay response
A while ago I did test some of my extended RaZ-OR functions with version 1.7.1 that were functions that hadn't made it to the OpenRemoteHelpers (e.g. Devicename and DeviceFunction). So I placed the file my_openremote.js in the RaZberry automation directory, and added in main.js to the section
//--- Load Automation subsystem classes
the line
You can put one of your problem commands there. Change the name of the function, so it does not conflict with one of the names of OpenRemoteHelper functions.
If you don't want to use any of the RaZberry automation, I think it is even possible to have a main.js with only the line shown above, and use your existing old RaZ-OR module. But this is only for the daring
Pieter
//--- Load Automation subsystem classes
the line
Code: Select all
executeFile("my_openremote.js");
If you don't want to use any of the RaZberry automation, I think it is even possible to have a main.js with only the line shown above, and use your existing old RaZ-OR module. But this is only for the daring
Pieter
Since 29-12-2016 I am no longer a moderator for this forum
-
- Posts: 132
- Joined: 15 Oct 2013 19:04
Re: delay response
tried with RAZ_OR but there is always the delay of several seconds.
I realized that when I use for exemple a switch from OpenRemote, we can see the queue which empties before return of etat on openremote
I realized that when I use for exemple a switch from OpenRemote, we can see the queue which empties before return of etat on openremote
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way
Re: delay response
The problem with OpenRemote is that it has to get the status of devices by polling. That is very inefficient. To get an instantaneous response from a switch change, you have to poll every second. Even for a switch that you may touch only once a week.
I think RaZberry can push a status change to Openremote. But that would require a separate protocol at that end, as it is not possible to push status changes via the REST Api from OR. (You can send commands there though). As OpenRemote is at a very low burner at the moment I do not see much happening there for RaZberry. They are telling the last two years that they will have a full Zwave implementation soon, but after such long time I have lost confidence it will.
I think RaZberry can push a status change to Openremote. But that would require a separate protocol at that end, as it is not possible to push status changes via the REST Api from OR. (You can send commands there though). As OpenRemote is at a very low burner at the moment I do not see much happening there for RaZberry. They are telling the last two years that they will have a full Zwave implementation soon, but after such long time I have lost confidence it will.
Since 29-12-2016 I am no longer a moderator for this forum
-
- Posts: 132
- Joined: 15 Oct 2013 19:04
Re: delay response
Yes I agree with you, but what I does not understand it is that he worked very well with the version 1.3.1 equipped with about twenty modules with polling all 1 second for some
On the other hand the version 1.7.2 with only 2 modules it is a disaster
On the other hand the version 1.7.2 with only 2 modules it is a disaster
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way
-
- Posts: 132
- Joined: 15 Oct 2013 19:04
Re: delay response
With version 2 I do not have this delay, its works best
This new version seems promising
This new version seems promising
" Raspi 2 (RaZberry) / Raspi B (Razberry) " With OpenRemote Free 2.2.0_TTS-Email-Serial and Z-Way