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

Testing Config Changes #6

Closed
krystiancharubin opened this issue Oct 7, 2020 · 10 comments
Closed

Testing Config Changes #6

krystiancharubin opened this issue Oct 7, 2020 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@krystiancharubin
Copy link
Contributor

Is there a way to test config changes without having to restart HA every time?

@PiotrMachowski
Copy link
Owner

PiotrMachowski commented Oct 7, 2020

Right now it's not possible (only config validation). Maybe I will try to implement config flow, in this case you will be able to completely configure this integration via UI.

@PiotrMachowski PiotrMachowski self-assigned this Oct 7, 2020
@PiotrMachowski PiotrMachowski added the enhancement New feature or request label Oct 7, 2020
@krystiancharubin
Copy link
Contributor Author

Would it be easy to run the python code from terminal to spit out an image?

@PiotrMachowski
Copy link
Owner

That's doable, I plan to prepare some scripts soon

@PiotrMachowski
Copy link
Owner

PiotrMachowski commented Oct 7, 2020

I added scripts here.

Before running you have to configure them (code between CONFIGURATION and CONFIGURATION END).

Python files of a component must be in the same direction as ones from scripts.

To open binary map file (map_data.gz) you can use RoboMapViever.

These scripts are not tested yet, so there may some issues. I will include them in a documentation later.

@leva3000
Copy link

@krystiancharubin I suggest the really great portable version of HA https://github.com/AlexxIT/HassWP.
It's just an 82M archive. You can set up your configuration and quickly restart the portable instance using the preadded script button on lovelace. I spent like 5-10 minutes to adjust settings.

@PiotrMachowski
Copy link
Owner

@leva3000 WOW! I didn't know about this tool!

@leva3000
Copy link

@PiotrMachowski So you need to check another cool stuff from this guy! Some time ago he released https://github.com/AlexxIT/XiaomiGateway3 integration which allows getting tokens of Xiaomi devices right from Mi Cloud and to integrate Xiaomi Gateway 3 in HA without soldering! Check videos on his YouTube channel https://www.youtube.com/c/AlexxIT

@PiotrMachowski
Copy link
Owner

@leva3000 I have made a script for getting tokens of Xiaomi devices, you can check it out here 🙂

@leva3000
Copy link

Almost everybody in the Russian HA community is used modified Mi Home apk before solutions like yours and Alex's were implemented. Thank you!

@PiotrMachowski PiotrMachowski mentioned this issue Oct 14, 2020
@PiotrMachowski
Copy link
Owner

PiotrMachowski commented Jun 22, 2021

Added possibility to reload config from yaml file without HA restart in v2.0.3

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

No branches or pull requests

3 participants