- Follow the Raspberry Pi guide to install Home Assistant Operating System.
- Access Home Assistant at homeassistant:8123 or "http://X.X.X.X:8123" (replace X.X.X.X with your Raspberry Pi’s IP address) and log in management page.
- Install the ESPHome in the Add-on, the detail you can click here.
- Configuration relay.
- Set up Automation as shown in the figure, and select When a Webhook payload has been received as the trigger condition.
![](https://cdn.hackaday.io/images/8576361702284866953.png)
![](https://cdn.hackaday.io/images/9263641702284912770.png)
![](https://cdn.hackaday.io/images/5046571702284937287.png)
![](https://cdn.hackaday.io/images/6975691702284937313.png)
![](https://cdn.hackaday.io/images/1720221702284937473.png)
![](https://cdn.hackaday.io/images/5371201702284938352.png)
![](https://cdn.hackaday.io/images/7479331702285056153.png)
![](https://cdn.hackaday.io/images/9166591702285018957.png)
![](https://cdn.hackaday.io/images/2579931702285019072.png)
![](https://cdn.hackaday.io/images/266031702285019571.png)
![](https://cdn.hackaday.io/images/8638341702285019583.png)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.