Who wants to see Travl in action?
Hi fellow backers.
As we said in a recent comment (answering another comment), today we’ll show you Travl in action, and we’ll explain how Travl will interact with HomeKit (using Homebridge). We have more to share in an upcoming News (in a week or two).
Travl live on Vimeo
In a minute you'll see TotmTravl in action.
Just a little disclaimer before you watch:
- The app you’ll see is our debug app. It’s ugly and shows some informations the final app won’t (the opposite is true to).
- There is a small HomeKit glitch at the end of the video (The Home app shows a "100% ON" status for the Phillips light that have been turned off by unplugging the watch seconds before).
Otherwise, it works exactly as the final app will. Off course we'll implement some more feature (ex : you'll be able to constraint when the trigger should be activated or not = "when I plug my watch, Trigger the webhook ONLY during week days between 9pm and 12pm)
More details on the App :
On the first screen you can see :
- The connection status of Travl (and its name)
- How many power is left in the internal battery
- If the notifications are enable (a status to check if the Bluetooth communication between Travl and iPhone is OK)
- How much of a Watch charge the power left in the internal battery may be able to handle before dying (ex : usually my Series 3 has about 70% of battery left every night when I charge it... Travl App is able to estimate how many times I'll be able to charge my watch)
- Same but with full charge (from a died watch to a 100% charged one)
- The current status of Travl (is it connected to a power source or not)
- How many times the watch has been put on Travl and the current status (plugged / unplugged / not connected)
- A switch to enable/disable Trigger.
On the second screen you can see 2 out of 3 webhooks url. that's where we put the webhook the app will call whenever we put or remove a watch from Travl. On this exemple they are connected to our Homebridge installation (shown in the video)
Homebridge plug-in and webhook function
In the video you saw that plugging or unplugging the watch on Totm turns on (or off) a Philips hue light.
In the Home app you saw 2 virtual switches named Totm Plug and Totm Unplug.
- Both are created by our Homebridge plugin.
- Both have a unique url (webhook) that triggers them on.
What is a Webhook?
If you put one of those url in a web browser you will trigger it’s virtual switch. That's exactly what the companion app does. Every time you plug or unplug your watch, the app calls the corresponding url to trigger the dedicated virtual switch in HomeKit.
What you have to do then, is to create automations whenever one of the switch is turned on. Like this one :
You now know what is a webhook (if you didn’t). The good news is that Travl companion app will come with the homebridge plugin integration out of the box (other will follow) but it will also come with the ability to set any webhook you want.
This means that (almost) every home automation box will be compatible with Travl and off course IFTTT and other services alike.
The Travel Homebridge Plugin will be released alongside Travl (we'll do a KS update about Homebridge and how to use it when we'll be close to the release date)
And voilà. That’s all for now. We hope you liked this update and in an upcoming news (in 1 or 2 weeks we promise) we’ll show you the inside of Travl and explain the "creative" process of hardware integration (how the hell did we managed to fit this card and battery in a small wooden device?)
Aymeric, Jérémy, Louis, Tony