Domi04151309 / HomeApp

HomeApp is a small and easy to use smart home app with a simple framework.
https://f-droid.org/packages/io.github.domi04151309.home/
GNU General Public License v3.0
109 stars 24 forks source link

[Feature Request] Slider SimpleHome API #10

Open P-a-t-r-i-c-k opened 4 years ago

P-a-t-r-i-c-k commented 4 years ago

In the screenshot of Hue bridge sliders for various variable inputs are shown. In the wiki there seems to be only the possibility to toggle a command for the SimpleHome API.

I think it would be great if a slider input could be used in this case too. For instance by adding a range attribute in the list of commands.

Domi04151309 commented 4 years ago

Sounds interesting. I already thought about implementing more advanced controls like sliders, toggles, etc. I updated the wiki a little bit.

P-a-t-r-i-c-k commented 4 years ago

That planned features look good. However, I'm wondering how you look at the submenu mode. Is it the intention that all sub commands are added to the data field or that a relation with a main command is given there?

Domi04151309 commented 4 years ago

The plan is to have a URL like for execution but when the mode is submenu it will send a request to that url which will return the submenu. The submenu should be structured like the commands menu.