Skip to content
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

automata.yaml missing? #9

Open
SonnyWalkman opened this issue Aug 28, 2023 · 3 comments
Open

automata.yaml missing? #9

SonnyWalkman opened this issue Aug 28, 2023 · 3 comments

Comments

@SonnyWalkman
Copy link

Hello @barnybug,
I'm looking on how to implement a repeater controller using gofsm and having states and transition in automata.yml file. Finding hard to understand how gohome uses it. great work on gohome btw.

// The automata are configured via yaml configuration format configured under:
//
// http://localhost:8723/config?path=gohome/config/automata

@barnybug
Copy link
Owner

Hi, thanks for looking at my project!
It's more just a hobby project that I put up on github for posterity than something supported/documented (as you've probably found!), but you're welcome to run it!

There's a couple of examples of config here, though may be slight out of date:

endpoints:

@barnybug
Copy link
Owner

You need to upload the config to a topic on the mqtt server - there's a command:
gohome config config config.yml
But I've not tested starting a 'greenfield' installation from nothing, so YMMV!

@SonnyWalkman
Copy link
Author

SonnyWalkman commented Sep 1, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants