!env_var reads an environmental variable from your system. So for example in bash, I’m doing export HOME_LATITUDE=11111, and then HASS reads this value when it starts up. I have a simple bash script that exports all my values and then starts HASS. In this way, I keep all private data in one place, and any values that have to be specified in multiple places.
Ironic, I just got done explaining this in a DM to Mike to the best of my knowledge and I seem to have gotten it correct!
I don’t have any experience with bash scripts, but do you think you could post a simple example of how this would work with a single variable? Not your script, as that defeats the whole purpose, obviously, but just as simple example so we could both build off that.
I’ve been contributing here on a number of things as well as helping out and this would make it a lot easier for me to post configs to help other users without having to sanitize it each time. And I’m sure Mike would appreciate it as well.
Cheers buddy, That was the post I was following actually. I will go back over it and have another look.
Is there an article or something I could read more into this process and I have just started my config file now and this is a great idea to start with or am I jumping in to deep to start with? In logic it all makes sense to me I just don’t know how to do it lol.
Perhaps I am trying to run before I can walk and need to learn more of the coding side before hand.
Yes, basically. If you have HASS set up as a service (varies by OS), you can often specify those environmental variables in the service configuration. I start and stop HASS manually because I’m frequently updating it, and doing development.
I’m working on this with Mike in DM, thanks for your help. I’m reading up a bit more on setting variables and learning quite a bit so thanks for your guidance!
I noticed you have the MyQ garage door. Did you have to do anything special to get that working with HASS. I’ve been wanting to get mine added for a few months now.
I second Jtmoore81, I’ve copied the myq.py from the pull request and configured it. It loads, but no door openers show up in HASS. I would really like to get my garage door opener working. Any info you can share would be most helpful!
Not a moderator or anything but wondering if this wouldn’t warrant is own topic? That way any one else needing info on the MyQ (or more importantly, having info to share) could find it easier. Just a suggestion.
Hi guys, I was looking for inspiration for my frontend and came across this thread. It seems that it has fallen asleep, but maybe there are more people looking for fresh ideas and want to show their work.
So i will make a start and show you my current layout. It’s my first steps with HA and as you can see I was very Homekit oriented.
Changing the icons is actually quite simple. I work a lot with button cards and there you can defince witch picture/icon you want to use . I saved the images locally in my /www folder.
Most of them i downloaded for free at https://www.flaticon.com/.