-
|
Thank you for all your contributions to this project. I have natural gas heated water and AC cooling with heating option in winter, but not enough solar power to heat my home and our electricity is 2 times more expensive than my old natural gas heating or even 2.7 times compared to a more efficient gas burner. I am a bit hesitated setting up Home Assistance, because it's too large to avoid unexpected issues with complexity, unwanted open access or unwanted breakdown during updates. Let me explain what input my automation needs to explain why home assistance feels too complex:
I already have CLI access to smart meter and battery soc, but connect life ac and thermostats are missing because I didn't decide which AC and which thermostats I want to buy yet. Which means I basically only need 3 sources: smart meter+battery CLI, connect life and radiator thermostat. I don't count the internet for my outside temperature data source. I would be more comfortable with a bunch of scripts in crontab with my own hysteresis implementation, instead of managing to have home assistance services and add-ons online without breaking on update and without putting Home assistance accidentally open into internet. Would it make sense to get started with home assistance, or is it overkill or too much effort to avoid home assistance issues? I hope this isn't too far off-topic, my main question is in the direction of why HTTP server instead of CLI? Kind Regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
I'm not sure what you mean with HTTP server in this context? Most integration uses an upstream Python library to integrate with Home Assistant, including this one. Could you use the connectlife library to build a Python script or your own CLI? The library is available on PyPI as well. pip install connectlife |
Beta Was this translation helpful? Give feedback.
-
|
Oh, yeah, I forgot some references. Thanks for your response, glad to see your care about the project. This https://github.com/bilan/connectlife-api-connector is something between setting raw parameters in and a full home assistant installation. What is the difference between your project and the connectlife-api-connector? Would you share any concerns about home assistant's complexity, or is it stable enough to just keep an old installation without maintenance as long as no new devices get connected? Not having a CLI for scripting and so many HA plugin development feels like I misjudge how many risks a home assistant installation has compared to a small setup of scripts which has less code to review. Without knowing anything about Home Assistance, HA feels to me like installing an PHP Server just for triggering a single line command and wondering in 5 years why it doesn't work anymore after being hacked by a low effort attack caused by a miss configuration of the default server setup. Or it is easy to get a local only no updates HA installation done? Thank you for your fast answer. |
Beta Was this translation helpful? Give feedback.
-
|
Wouldn't hurt to limit HA to local host only and use SSH tunnel to temporarily connect for maintenance. |
Beta Was this translation helpful? Give feedback.
Yes, I was running HA without external access for a long time. For remote access I used a HomeKit bridge that connected to my Apple TV. (Apple only allows remote access to HomeKit if you have enabled 2FA on your Apple ID, and it's still an explicit choice.)
Only connecting from remote using SSH or VPN is quite sensible, and also quite common AFAIK. I now use NabuCasa for remote connection, but it's a bit more of a hassle to set up 2FA in HA. Also HA does not have secure multi-user support IMO, but that is necessarily not a problem.