-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add power toggles directly to Android app device list #98
Comments
@jpmens What do you thing of a card interface like OpenHAB is using (https://lh4.googleusercontent.com/-DH_KWUoqQkc/UZ8jNlTuvxI/AAAAAAAAAbo/wI_a6jWIP04/w909-h568-no/device-2013-05-24-102053.png)? Would match the new design of the webinterface. |
@binarybucks that looks pretty elegant to me. I like that. :-) |
Ok, I'll look into it at the end of the week when on the train. |
I like the idea to show power toggles in the list-view of the Android app (and not hide them behind a popup). Are there any ideas how to implement that? Is a new meta attribute really needed? |
@hmueller01, the additional meta attribute its not required unless you want to name the control differently (e.g. when using a different language). |
Generally I agree. But I also like the idea that (all!) controls can be shown in the list-view (without popup). For me this is one of the major drawbacks of the Android app. But that would need a trigger (e.g. some kind of meta data) to enable or disable this. Here I just wanted to start a "new" discussion on how this "switch/trigger" could look like. I also read in #92 that this might not be that easy to implement in a list-view. But that's another story. Right now sockets and rcplugs component use
The switch or the value shown on the right side of these two lines. Comments ... |
@hmueller01 How many switches/controls do you want to show directly in the device list? |
I have devices with even more controls. So the idea was to put only selected controls to the room view. E.g. the outside temperature which is one of many data of my heating component. |
Then I guess we need a new meta attribute to specify which one. |
Currently all controls in the Android app are hidden behind a popup.
@jpmens mentioned that it would be good to also show the power toggle in the list-view for quick access.
What is the power toggle could be defined with an additional meta attribute along the lines
/controls/$deviceId/controls/PowerControl/meta/isPowerControl:1
However, one should probably catch non unique power controls.
The text was updated successfully, but these errors were encountered: