Feb 26, 2022
Fanvil i20S Web Actions in Home Assistant via Node-RED
Using Fanvil i20S Action URLs with Node-RED and Home Assistant to trigger doorbell notifications and automations.
The Fanvil i20S is an inexpensive SIP-enabled audio door phone. It has an RFID (125KHz/13.56MHz) reader and a 12-digit keypad. The whole thing can be powered over PoE, though I found that wasn’t enough to open a simple electric-lock switch without an additional 12V power supply.
The i20S supports ‘Action URLs’. Once configured on the device, an HTTP GET request is sent to the Action URL whenever the specified event occurs.
Using Node-RED we can hook this into Home Assistant and receive a notification whenever an incoming call is received (somebody pressing the call button).
An HTTP In node listens for the action and updates a Home Assistant entity with the current time. Then an automation in Home Assistant can perform whatever action you want, for example sending a push notification or playing a sound over speakers.
To avoid splitting logic across two places, the notification or any other service call can also be executed via Node-RED, removing the need for a Home Assistant automation.
The main reason for doing this was to provide doorbell alerts to people who did not have a SIP phone with them.
Image Gallery

