How I Connected My Smartwatch To My Smart-Home

Shortly after I got my inexpensive set up figured out, I realized I wanted more! Being on a tight budget, I wanted to find things that I already owned that I could piece into my Smart-Home. Enter the Pebble Time Smartwatch. This watch is one of my favorite pieces of technology that I own. I had a cheap fitness band that lasted a year before dying. It was terrible at everything except waking me up in the morning. After waking up to a silent alarm, I never wanted to wake up to a regular alarm again. The fitness band had to be replaced and I landed on a Pebble. It’s the perfect smart watch. Unfortunately, Pebble was acquired by Fitbit and dismantled. Their product lives on, with a dedicated fan base creating their own software to keep the hardware alive. The watch still functions plenty well, but will lose some functionality in 2018. I had had this watch for about a year before getting into Smart-Home tech, but found a way to connect it all together.

RESTful API & Push

This part confused me, and some parts of it still do. SearchCloudStorage says A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. I like this for a simple definition. Your Home Assistant runs as a server that has a RESTful API, so you can use this method to communicate with it from other devices. From the documentation,  the Home Assistant server is accessible like this.

If you’ve set up a DuckDNS url and used let’s encrypt, it will look more like this

To use this to turn on, off, or toggle a switch would look like this:

You can replace switch with automation, scene, or group. You can go through your States tab on Home Assistant to see your options. Here are some examples:

If you have a password set up, tack on one of these:

  • ?api_password=YOURPASSWORD

A full URL to toggle a switch would look like this:

Now you have the URL you need to use, time to pick a device. Data sent to and from Home Assistant is communicated using JSON. Here’s an examples to show you how to write that for this use, it’s pretty simple with a template:


Pebble + RESTful API

  • The first step here was finding a Pebble app that could send HTTP requests. The best one I could find was the Send Message app.


  • There are some other options, like HTTP Push, HTTP Request, and also a Home Assistant app. I couldn’t get the other HTTP apps to work. The Home Assistant app had too many options, it was not as easy to navigate as I wanted.
  • I like Send Message because it was easy to set up and does not weigh you down with too many options. Just 3 buttons.
  • I use them to toggle my bedroom lamp, speaker, and living room lamp.
  • Pulling together the info from above, it looks like this:
  • Here’s what it looks like set up in the Send Message settings:


  • Now I can use my watch to control these devices, as long as my watch is connected to my phone. It’s the most convenient way to turn off my bedroom lamp at night.
  • My living room lamp doesn’t have a switch, yet. I mainly use Alexa to turn on the living room lamp, but if I’m trying to be quiet, I like having my Pebble as an option.


I love this set up, and the RESTful API can be used from other devices as well. What else have you used it for? Please share in the comments. Also,  if these guides have been helpful to you , please share them! If you have any questions, please reach out to me in the comments. Thanks for visiting!

One thought on “How I Connected My Smartwatch To My Smart-Home

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s