Ionut, do you mind a quick run down about device trackers?
exactly what is the purpose of the “device tracker - see” and how/why would we want to use it instead of/in addition to mobile app device tracker?
i also see a “device tracker - myphonename” entity registered with HA. which also provides location tracking, how is this different from the “mobile app” tracker?
i currently have “device tracker” setting enabled and both “-mobile app” and “-see” disabled. tracking mode is set to “wifi”. i do get stat changes when i enter/leave home wifi which is exactly what i wanted but i’m little concerned about the “update period” and “update position” settings. the main reason i did not enable full gps track is to conserve battery. with only “wifi” location tracking enabled does the phone still need to wake itself up periodically according to those “period and position update” settings?
Yes, it should give same experience like the browser. Btw, in chrome on mobile do you have same issue?
The device_tracker see is the compatibility mode, meaning that who do not have mobile_app or latest HA version can use that tracking function.
The device_tracker entity registered via mobile_app is also registered to a device, where the normal (see) one is not.
Well in both cases Ariela wake up in order to send updates. You can only use just mobile_app since this can update if you have GPS tracking even if you have Ariela closed. On Wifi tracking those period & position updates do not have any impact.
yes. the “full screen” button works correctly via mobile chrome browser. it’s only greyed out inside of Ariela. that’s why i thought it might be a bug in Ariela.
okay. maybe i need to clear out entities created by older version of the app. i have not done so for fear of creating duplicate device entries.
that’s great to know. perhaps it would make sense to have “WIFI only tracking” as a separate switch from GPS tracking so it would be clear for people who are only interested in presence detection rather than full time gps tracking? as nice as it may be, active GPS tracking is such a battery hog…
for more detailed tracking google maps locations module would be a much better option, as it is on full time for most people already anyway… if only i could get that module to work…
but when i paste the url above, firefox modify like that :
https://xxxxx.duckdns.org/config/www/cam_captures/garage_%7B%7B now ().year %7D%7D%7B%7B now ().month %7D%7D%7B%7B now ().day %7D%7D%7B%7B now ().hour %7D%7D%7B%7B now ().minute %7D%7D.jpg
not sure if its good or not…
For the space, i just copy this code from an exemple and what i am sur is that i work great for my snaptshot, because the name of the file is like that in my folder : garage_2019_6_19_22_02.jpg
i’d say that url does not look right. i think what you are looking for are files with actual dates in the file names. you are making a function call with “now” to construction that date, if so there shouldn’t be a space in between now and ().
not sure how those screen shots actually end up in your www folder. i would look in there first to get a file that actually exists, hard code that file name in your automation to make sure the notification actually works. then try to work on dynamically generate a name with timestamps.
it display a blank screen just with the blue banner up of hassio.
Same on mobile or local browser.
It seems to be a access problem of the folder and image…
An idea? i am a neebie and dont know what to do…
i have seen an exemple from Dr ZZS and he make a simple "push :
- service: notify.ios_janis7
data:
title: Mommy Alert
message: Who is out of Bed?
data:
attachment:
content-type: jpeg
push:
category: camera
entity_id: camera.ttgocam_camera
but i dont think i can use the same way with notify.mobile_app?
we probably shouldn’t keep going off topic… this is Ariela thread after all. feel free to PM me if you have more question about this i just went through setting up something similar so can probably walk you through it.
@Ionut
I am still having issues with notifications using the mobile_app instead of fcm-android.
I have done as you suggested and removed all mobile devices from integration, restarted, confirmed everything was clear (even in core. files). Then re-added one mobile device. I still am getting the same error.
I created a github issue on the HA repo, but it has been 4 days without any reply.
I also got on the HA Discord, and they suggest that it needs to be investigated on Ariela side as no other mobile apps have the issue (and apparently no other Ariela users either).
Here is the github issue with relavent details:
Please let me know how to proceed. I would like to use the mobile_app integration, but at this point I might have to fall back on the fcm-android as I can’t seem to get this working.
Also, if you would like me to move this to the notification post you created I can… I just saw it was for firebase, and so didn’t know if you wanted the mobile_app there as well.
I am digging through the Home Assistant log for anything relavent… I did find this, not sure if it means anything but the third line mismatches it with emulated roku:
Pretty sure the problem here is the Firebase function that receives the notification payload from HA isn’t returning a response with the expected content type (application/json).