About this Component
Whistle is a gadget you attach to your dog’s collar and it tracks exercise and location (GPS)
Previous versions had a web interface so it was pretty easy to figure out what the API was like. Version 3, though, only works with Whistle’s mobile apps.
No problem: after a bit of sniffing, I created a Python package that consumes this API (Pypi package)
I can now display my dog’s status in Home Assistant, using a custom component: Source Code
Updated on 11/17/19 for v0.101.3
Please refer to this page: https://github.com/Fusion/pywhistle/tree/master/examples/homeassistant
Note that an additional attribute is supported:
entity_picture which can be used to match one of the Whistle service’s picture sizes (default: 60x60) – I am not sure how to use this one right now and I am using a gravatar instead to display my dog’s picture, in the view itself.
If you look at the Pypy source file you will see that the library can retrieve much more information. I have not figured out what would make sense to integrate in HA, yet, beyond device location, so let me know if you have suggestions.