If you use mobile_app for sensors & device tracker you will have an integration there. The integration will not have the name Ariela, but it will have the name of the phone you are using. Deleting integration from HA or uninstalling Ariela will require to create the integration again from Ariela -> Settings.
Took me awhile to realize it myself but make sure that you have mobile_app:
in your configuration.yaml (if you don’t use default_config:
)
Great thanks, added the mobile_app to my config and its working now. Was that in the documentation that I missed?
Is it possible to set up a automation on Android to turn off WiFi when Ariela GPS reports as ‘Away’ without root?
Using Ariela? I don’t wish to use another app as this will just use up more battery - the thing I am trying to save!!!
I think its possible, maybe this is something i can add to my TODO list.
Use Tasker or Automate to do this. The battery consumption of those apps is negligible.
but how does tasker know when i leave home without using gps to determine that I’m not home? GPS is battery intensive.
Good point!
Perhaps Ariela could send a system message which Tasker could subscribe to.
By the way, why use GPS and not the fact you are disconnecting from your home wifi network, or is that not possible in your usecase?
no, i suppose that is possible!! i might try that then.
thanks
Tasker can get the cellphone tower info on a location and use them again to know where you are. I’ve used it with success for a couple of years before using home assistant. Tasker is a world in itself…
Tasker is indeed perfect for such things. I use it to disable Bluetooth when connected to Wifi, and reenable bluetooth once disconnected from Wifi (I only use Bluetooth for my carkit).
Hi @Ionut
When testing notifications via developer tools the following message appears with a title
{"message": "test",
"title": "Hass"}
But this one doesn’t. It doesn’t seem to like the spaces in title.
{"message": "test",
"title": "Home Assistant"}
Thats strange. I will investigate it.
Just curious, any advantages/disadvantages to using mqtt vs the app for sending all the sensor information? I already use mqtt for other things but having the option im just wondering why pick one over the other?
Question: When in Ariela you have selected a Home WiFI, does Ariela tell HA that the person/tracker is Home? I believe it does not, not sure if it should.
Anyway, I notice that my girlfriend’s Moto G5 does not update its position very often, even though it’s on 5min/100m and GPS is on. Not sure why that is.
As a workaround, I would catch her phone connecting to our home wifi to tell HA she came home. Since Ariela already knows this with the Home WiFi setting, perhaps you can put a config that tell Ariela to set the tracker to home yes/no depending on the connection to the home wifi.
One thing I thought about then is that if you put it to flight mode (e.g. when going to bed), it should not change the state.
EDIT: Using tracking method Wifi seems to do exactly this
I would lie to know this as well please?
especially if one is more/less reliable and/or more/less battery intensive
MQTT sensors are useful when for example you use same MQTT broker instance with multiple HA for example (this only if you are using build in mqtt client in Ariela)(and of course using this will use more battery)
Else if you are using MQTT build in or mobile_app it will have same advantage, at least for now. In the future i plan having mobile_app sensors updating at a certain interval even if Ariela is not running in background.
If Ariela is connected to a home wifi, it will ignore even the GPS coordinates and will inform HA that you are home.
Ariela will send updates of whatever receives from the GPS. If the location received is the same like the previous send one, Ariela will not going to send any updates (except the battery level).
EDIT: 100% a big of sorts. i used the following scripts to test notification (brill work btw ) but the third example comes throuhg with no title.
# stream notification
'1562648778151':
alias: Ariela notfity push1
sequence:
- service: notify.mobile_app_stephen_ariela
data:
title: Home-Assistant
message: Notification example message
data:
color: '#ed5f13'
image: https://magazine.odroid.com/wp-content/uploads/Home-Assistant-Figure-0-1.png
tag: 123
#normal notification
'1562648778152':
alias: Ariela notfity normal
sequence:
- service: notify.mobile_app_stephen_ariela
data:
title: Home-Assistant
message: Notification example message
#normal notification - did not work
'1562648778153':
alias: Ariela notfity normal with actions
sequence:
- service: notify.mobile_app_stephen_ariela
data:
title: Home Assistant
message: Anne has arrived home
data:
actions:
- action: open
title: Open Home Assistant
- action: open_door
title: Open door
In relation to my other post about push messages not showing title, I tried to use your code on the dev tools but i cant get it to be valid? Even if i change the stream_source
I will check the showing title issue. Regarding invalid json you can use https://jsonlint.com/ to check were its the actual problem.
Hi Ionut,
any update for documentation for mobile app?