This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Download and setup home assistant with mqtt broker, like mosquitto. | |
- Download HACS and Node-Red into Home Assistant | |
- Set up home assistant app on device. You will now have a device_tracker entity | |
- Set up owntracks recorder with the mosquitto mqtt broker | |
- In Node-Red, make the following nodes: | |
- trigger: state node set to the device_tracker entity | |
- Delay node set to rate limiting. Choose something reasonable, like 1 msg/s or something even slower. This won't happen often | |
- A custom function (described below) | |
- MQTT out with topic set to owntracks/{person_name}/{device_name} | |