-
Notifications
You must be signed in to change notification settings - Fork 23
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 state machine #466
Comments
I made very good experiences with python-statemachine. It has a lot of great features and I added it into many of my rules. How about adding this module as a dependency - I just added it to the list of packages in my installation and it works like a charm. |
I use https://github.com/pytransitions/transitions, since it also supports hierarchical FSMs. |
I thought it would be nice to have an item (HABApp internal order openHAB item) which reflects the current state the item is in. |
Add a simple state machine that plays nice with the HABApp environment.
Make it so the users can add building blocks for automatic state transition (e.g. transition if item > 5) to make usage easier.
I'm torn between making the state machine an HABApp internal item or a helper class that will be assigned as a rule variable.
In both it should be able to automatically push the current state to an openHAB item.
If it's stand alone it could be configured e.g. from some kind of yaml?
@nobbi1991
You're using a couple of state machines in your rules and I'd like and value your input on this.
How do you use your state machines and what features would you expect from an HABApp implementation?
The text was updated successfully, but these errors were encountered: