Hi. I would like to share how I intergrated Traccar SMS gateway app to work with HA.
This is a very very simple configuration. All thanks goto Anton Tananaev at https://www.traccar.org/ for developing Traccar and this awesome android app. This app was originally intended to be used from a traccar server to send the traccar notifications as sms.
-
Download Tracccar sms gateway app and click start to start the server. Note down your API key and note the local address and port number.
-
Goto your HA and edit the /config/configuration.yaml file to include the following. You can create your own custom automations using the following format too. :
-
Save it and goto Deveoper Tools to check configuration and restart HA.
-
Keep your android phone screen on or use some application like Caffeine to keep the Traccar application alive even after phone’s screen is off.
-
To test it, goto Developer tools > Services and search for the respective entity name ( in this case my_request ). You should recieve an sms to the number that you specified in the config file.