There is no point in this particular project, it’s just a MVP for a PoC.
MVP = minimal viable product.
PoC = proof of concept.
(don’t mean to personsplain)
As the subject suggests. I want to achieve a single example of end to end automation from my Smart watch to a house device. Not “remote control”, but automation. Something detected on the watch like heartrate, or sleep state triggering an HA event.
I can do everything from when I can surface a handle on the data in MQTT.
So step one is getting the data off the watch, for “realtime” events, it can send immediately. For routine events it stores and sends hourly. Q: Can I actually access the right sensors, how much is hidden behind APIs, are they open?
Step two then is getting the data from the phone to MQTT. Again that’s going to need to be batch routine, send when able and retry emergency or “realtime” events.
From then on I’m in comfort zone. For the two steps above I’m lost. I literally JUST installed Android studio.
Consider this a “build thread”, but help would be amazing.
Hi! So i’m currently using Automation to achieve something like this to monitor my Wifes Heart rate, she has SVT (Supraventricular Tachycardia) – So i needed to sent up an automation when her Google Pixel heart rate sensor goes above 135 bpm then send a notification message that yells at me to go check on her.
Like i said im using Google Pixel watch, so that involved using the Home Assistant app on the Google Pixel watch, where i enabled the Heart Rate sensor ( on the watch, in home assistant → Settings–> manage sensors → Heart rate, and make sure its on)
For safe measure i also include all the other Heart Rate sensors that report on her so if any one of them cross the threshold the automation will fire.
for notify i made the following in my Configuration.yaml:
Im sure instead of TTS notify for the action you can change that to like Hue bulb turn red or whatever your lighting solution is.
Its not real time as much as id like but it does work… im posting what i have in hopes someone else can chime in on how to make this poling rate more frequent to realtime…
Update: Messaging over in this thread led me to also using Automation to send messages to devices to update sensors.
So now i have another Automation that runs every 5 mins to refresh senor data back to HA.