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
Resetting values of command-states #52
Comments
Wouldn't it be enough just to set all states to "false" if the Status is 2, 3, 6 or 8? |
Except Home, this should go to false after state 8, but not with 6. |
For the state pause, this is a little bit different. If triggered from outside, it should go to true by state 10 and go to false by any other state. |
Do you just need it for displaying the states in VIS? For example "if mihome-vacuum.0.info.state == 8 then ......" so you can apply any styles with CSS to that Widget. Maybe you should open a thread on forum.iobroker.net where we better can talk about that. |
This doesnt work with bool-switches. They are supposed to have a different look according to the value of the state. Of course its possible to overwrite this by a bit of js, but to have a reliable value in state would be much better. Will try to explain this in the forum.. |
Did you already post anything about that in the forum? |
Just a second ago: |
Hey, Thanks and regards, |
If a Button is triggered it id now Set to true, if action is triggered, gut this is Not the Cleaning Time. |
Actually, the states in the control-channel are not reset after using. So the state start remains on true, the zoneClean holds the last zone entered. This is quite annoying while using it in the vis. I've tried to use some bool-button with different texts for true and false, but as all the states remain on true, this doesn't work out.
As for now I use a trigger on the mihome-vacuum.0.info.state, but it would be very nice to have this done by the adapter itself.
So for the logic:
state 6 or 8 resets start, spotclean, pause, zoneclean.
state 8 resets "home" (going home)
state 11 (spot cleaning) resets start, pause
etcpp..
The text was updated successfully, but these errors were encountered: