Slave HASS instances

Hey all, I’ve been searching around but don’t see this feature mentioned anywhere except here: Distributed Hass instances? Slave instances?

I think it would be awesome to support ‘slave’ instances which can be anywhere on a network. This would enable, for instance, a bunch of networked raspberry pis each with their own set of sensors to work together without complicated middle layers.

I’m not yet sure if it’d be possible to modify home-assistant with a ‘–slave’ mode, or if this would require separate event loop logic.

It does not really fit the concept of hass. To have sensor arround your house you can install some esp8266 wherever you need. It will be cheaper and use fewer energy.
Home-assistant is not really a sensor by itself but collect data from those sensor.

Holy cow you guys really have thought of everything! That’s awesome, sorry for the noise.

Hi,

I was wondering if someone could help me setup a slave?

I have read the article: https://home-assistant.io/developers/multiple_instances/

However, I am not sure where the code goes. Does this go in the command line?

I intend to run the master on an intel NUC and then the slave on my RPI3, primarily because I need the bluetooth coverage around the house.

Does go into the CLI of the PI or is this a configuration file insert?

Sorry, I have just looked all over and can’t really see idiot proof instructions anywhere…

Thanks for any help…

I don’t think it works. Raspberry pi as HASS Slave

I currently have 4 total HA instances and am using the Restful API https://home-assistant.io/developers/rest_api/

This works well…

This is now getting super beyond my already over extended skillset…

Can I just ask, with this method, am I able to pull in all sensors from another instance or will I need to list each sensor?

I am using the Xiomi plant sensors. I will probably end up with 10 on each instance.

With 10 of these, each one has around 5 sensors, which means that there will be in total individual 50 sensors that I will need to call over the API…

I can set this up one by one, but then management becomes a headache…

Any tips here?

Thanks again for any help

It is a little bit off-topic but for your special use case regarding the Xiomi plant sensors https://github.com/janwh/miflora-mqtt-daemon might perhaps be more fitting than having to run an additional hass instance on the devices your sensors communicate with, sending the data via MQTT to your homeassistant.