Local SMS Gateway using a spare android phone and Traccar SMS gateway app (only Android)

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.

  1. 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.

  2. 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. :

  1. Save it and goto Deveoper Tools to check configuration and restart HA.

  2. 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.

  3. 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. :slight_smile:

3 Likes

Thanks you for share!!!