Hi Max,
I’m not sure if it is a typo - your error show “encoreURl”
Shouldn’t it be encodeURI?
KalleVC is right, you do have to spell it correctly Also remember that Javascript is case sensitive.
If you want to see an example of encodeURI in use in a THR plugin, my “Simple Tasker Plugin” uses that call.
Yes of course. I didn’t even see this error. I must have been very tired yesterday . Thank you.
I’m making progress. I can now display the data retrieved from Vera in a standard tile.
As I progress I discover that HR is really powerful and very well thought out. I just need to take my time and go step by step to master it.
I still have a lot of time to spend designing my remote control but it’s very interesting and informative.
Regarding synchronization with Vera, there is all the information necessary for initializing devices and scenes in the JSon response of the ‘id=sdata’ request, which is a good news.
Thanks again Kalle and David for your help.
I certainly still have questions and problems to solve but I hope I won’t have to bother you too much.
Good job Max
We are here if you need help
I have made good progress in my migration project from ImperiHome to HR. Synchronization with VeraLite works well now and I can display all the values in groups of tiles.
I’m currently stuck on optimizing the updating of devices in the plugin onPoll() function. In fact, I loop through all the plugin devices to update them, but it is not efficient. I would like to update only the devices visible on the screen. The devices are grouped into groups (lighting, temperatures, etc.) and there is always only one group visible on the screen.
This would drastically reduce the latency time during the update.
Does anyone know a way to achieve this?
Hello RedGrant,
This is exactly what I was looking for. I’ll try this as soon as possible.
Thanks