Home Assistant integration
Home Assistant is an open source home automation solution that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts and perfect to run on a Raspberry Pi or a local server. Our Home Assistant integration fully integrates Home Assistant with the ZBOS platform.
|This option requires a working and running Home Assistant instance.|
Enable 'Home Assistant' in the App Manager and tap the option 'Home assistant' in the Home automation category:
Enter the configuration for the robot (either local or cloud):
Enter the full address of the home assistant
Enter the long-lived access token
Enable this option if you want all events from Home Assistant published on the local MQTT broker.
This is for advanced use only, if you want to interact directly with the events via MQTT either in Composer or external applications.
Open the Home Assistant app from the App & Configuration screen in ZBOS Control
Copy the entire url of your Home Assistant instance, including the protocol and the port.
This can be local: http://w.x.y.z:8123 (replace by the actual IP address of Home Assistant setup).
This can be cloud (via Nabu Casa). (1)
(1): Virtual robots can only connect using a cloud configuration.
|See this note about use with Virtual Robot.|
An Access Token is required to be able to use the REST & WebSockets API to do actions and fetch states.
Log in to the Home Assistant instance and open the user settings:
Scroll all the way down to 'Long-Lived Access Tokens' and tap the option 'Create Token':
Enter a name for the token and tap the button 'OK':
Copy the access token (it will be needed in the ZBOS configuration:
To enable our virtual robots to access Home Assistant, you need to add the following block to the configuration.yaml file
http: cors_allowed_origins: - "*"
|Keep in mind that modern web browsers disallow accessing local resources, such as your Home Assistant setup, from a secure website. To access a local (http) service from the online ZBOS Control (https), you need to use Nabu Casa or any other comparable solution.|