Forums : sensor list parsing and command variables?
This page last changed on May 21, 2014 by cosworth32.
First post here. After evaluating quite a few different approaches to home automation, I ended up seeing open remote as the one that has the greatest potential.
Sure it took a little tinkering on my Synology NAS and android phone, but it was way easier to get something working than with any other approach so Kudos to the designers.
Now to my (newbie) question:
My netradio offer rest like HTTP services and can return a station list like this sample:
Potentially giving me 20 presets in one go. The key is then used for selecting a preset and the name is of course needed in the UI.
What I do now for each preset is create: 1 command using key, 1 sensor getting the name, 1 button for command and 1 label for the station name.
I could run a shell exec to populate a lot of sensors in one go (saving on the number of requests) but that is just optimizing and doesn't reduce the number of objects
Suggestions are very welcome.
Be gentle - This is my first post, remember?
|Document generated by Confluence on Jun 05, 2016 09:38|