Implements a small Local SDK receiver that can interact with Home Assistant instances.
- Zeroconf integration so it can be discovered
- Google Assistant with local SDK activated
Go to the Google Actions console:
- Develop (top bar) -> Actions (sidebar) -> Configure local home SDK:
- Add configuration:
- MDNS service name:
_home-assistant._tcp.local
- MDNS service name:
- Add configuration:
- Test (top bar) -> On device testing (sidebar):
- Development server URL:
http://<YOUR LOCAL IP>:8080/test_receiver.html
- Development server URL:
- Install dependencies
npm install
(only do it whenever you pull latest code) - Build code
npm run build
to build the code once or runnpm run watch
if you're developing and want to generate a new build whenever you make a change. - Run
npm run server
to allow Google Assistant to load the app
- In Chrome, navigate to chrome://inspect
- Click "inspect" on the test receiver to open the debugger.
- Make sure you have both
zeroconf
andcloud
integrations set up. - Log in to Home Assistant Cloud
- Sync your entities with Google Assistant
- Restart Home Assistant to trigger identify requests to the local SDK