News for hackers. Stuff that matters.
Re:Creating a Z-Wave Smart Home hub using a Raspberry Pi by oh_sigh on Tuesday July 25, 2017 @06:20PM (#14852384)
I like the architecture of HA as well, but is there a way to use the HA level interface but making it program driven, as opposed to config-driven?

I know python...I don't know all of the config variables for the yaml language they encourage you to write

Re:Creating a Z-Wave Smart Home hub using a Raspberry Pi by sdague on Tuesday July 25, 2017 @08:13PM (#14852908)
That's what the AppDaemon project is about - https://home-assistant.io/docs/ecosystem/appdaemon/ - it let's you do the automation rules inside code instead of inside yaml. You'll still need/want yaml for basic device connections and grouping, but doing complex automations can be done easier in AppDaemon.
Re:Creating a Z-Wave Smart Home hub using a Raspberry Pi by Klathmon on Tuesday July 25, 2017 @06:23PM (#14852401)
They recently introduced "straight python" components i believe, so you can just write in that.

Additionally there are multiple apis you can use to interface other than the front end at https://home-assistant.io/developers/api/

Also the HA front end just calls those backend apis, so if you "emulated" those you could use it as a drop in for some other backend (in theory)

Re:Creating a Z-Wave Smart Home hub using a Raspberry Pi by oh_sigh on Tuesday July 25, 2017 @06:34PM (#14852451)
Thanks, I'll check that out!