actually it works!
you have to use GET
and response in diaolg
actually it works!
you have to use GET
and response in diaolg
How to get only portion? FOr example in the below I would need only DURATION
https://xxx.duckdns.org/api/states/sensor.da_casa_a_scuola?api_password=xxx
{“attributes”: {“destination_addresses”: [" Roma RM, Italy"], “distance”: “22.6 km”, “duration”: “24 mins”, “duration_in_traffic”: “23 mins”, “friendly_name”: “da Casa a Scuola”, “mode”: “driving”, “origin_addresses”: [" RM, Italy"], “status”: “OK”, “unit_of_measurement”: “min”, “units”: “metric”}, “entity_id”: “sensor.da_casa_a_scuola”, “last_changed”: “2017-08-24T13:49:32.790577+00:00”, “last_updated”: “2017-08-24T13:49:32.790577+00:00”, “state”: “23”}
No idea, that’s why I said “too much infos”
Didn’t know http shortcuts. Thx for the tip !
Wait with HTTP Shortcut app you can display sensor values?
yes, but all. Which is Ok, but would be neater if is possible to get only the desired value
https://xxx.duckdns.org/api/states/sensor.da_casa_a_scuola?api_password=xxx
you receive a page or a dialog or toast (use the http shortcut settings) like this:
{“attributes”: {“destination_addresses”: [" Roma RM, Italy"], “distance”: “22.6 km”, “duration”: “24 mins”, “duration_in_traffic”: “23 mins”, “friendly_name”: “da Casa a Scuola”, “mode”: “driving”, “origin_addresses”: [" RM, Italy"], “status”: “OK”, “unit_of_measurement”: “min”, “units”: “metric”}, “entity_id”: “sensor.da_casa_a_scuola”, “last_changed”: “2017-08-24T13:49:32.790577+00:00”, “last_updated”: “2017-08-24T13:49:32.790577+00:00”, “state”: “23”}
Do you mean this one…
you know how to use the above, so to receive ONLY the DURATION field response?
I am an Android/IOS dev and i refer native app for iOS/Android, not html5, reactive. I will try some basic feature when i have time.
Widgets for sensor values would be cool
it is “safe”?
Why ios has app and android dont?Will be nice tod have the tracker, push notifications, and a good ui
HomeAssist is now open source.
So we can say we have an app that can become easily official.
Homeassist last update was in february…hope foto updates with themes, notification, etc
I’m very new to home assistant. (Think in terms of hours, just started this afternoon) I have the basic app up and going and I downloaded this “HomeAssist” Android app but haven’t been able to get it to work. I am using the duckdns url that I created. Has anyone else used this app with a duckdns url?
Yes I have no problem with the duckdns url. What EXACT url did you enter? (leave your subdomain as xxx if you like).
Hi! Thanks for following up. I figured it out. I was putting the slashes backwards. Whoops, dyslexia got the best of me!
I recently switched from Android to iOS, and really liked the iOS companion App. It is very easy to implement for Android, beacuse it simply uses a webview to show the website. I will try it out, without notifications and positioning (at the beginning)
That would be great,