This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
@Phuturist did you have success with installing the app on a synology NAS? if so i am very interested to do the same.
I get devices etc now...
however, with an iphone 6 running 9.3.1 (up to date) it doesnt work well -yet-. Basically every x minutes when the phone is on, but locked / asleep i get homey/presence app to find it, lose it, find it, lose it, etc.
The iphone when locked screen keeps disconnecting its wifi. Now reading into it it seems there are potential solutions to be found in shortening the ping or something like that, but i havent found THE solution yet. When I will find it I will post it here as there must be more iphone users using this
I tried updating NodeJS manually on the NAS but this does not go well rendering NodeJS broken. I believe I read somewhere that NodeJS v4.x does not run very well on the architecture of my NAS (ARMv6). So I eventually gave up trying after sending Synology a question if the NodeJS v4.x package ever becomes available for my NAS (which they never answered).
If you get it working on the same architecture I'd be most interested.
Arpscan is convenient since it finds all devices but it's very flaky in reliability. You can tune it using "addedCount" & "removedCount" configs.
Ping should be more reliable, but you need static IP for tracked devices.
Reliable is tcp-connect, but it requires some TCP service running on tracked device.
@BasVanDenBosch Ping is using ICMP packets which can be sent only with root privileges (root user or su flag on binary). Similar for arpscan.
Athom could add ping API, but that doesn't solve general issue. We have same issue with arp-scan or any other binary requiring su privileges. Running Homey apps in containers and allowing custom binaries with su would allow this. But current Homey is not at state where apps architecture is top priority.
@Peao @Phuturist I'll look into if there is a possibility supporting 0.10, but don't have high hopes. Maybe 0.12.
I can look into the TCP part - but no idea how to start there yet...
Thinking that geofencing app with webhook might be a better (more stable and easy) solution.
I do welcome other thoughts though! and @MatjaLipu I would like to thank you for the quick support and the creation of this app, I think it can absolutely be great
Homey bluetooth support would here open new possibilities.
I'll add new provider which you can notify your device is present. Then in Tasker (or similar app in iOS) you can setup trigger when connected to home wifi, ping (http request) presence tracker app every x seconds. Sounds this like a solution?
I should indeed give it another go with something similar to tasker... will let you know
Would love to use this app to increase presence usability of my Homey. I have a cheap BLE beacon but I can not find in your app how to use it.
If you are running a mqtt/Mosquitto broker you can have a look at my owntracks client. The owntracks app for ios/android has Beacon support
I was away for a little while..
I had some issues with iBeacon, so I didn't include this provider (yet). I'll take another look.
With better presence it's the other way around, iBeacon needs to be mobile and beacon tracker is device running tracker server.
You can also use HTTP provider. Other providers are ping, TCP connect & ARP scan.
Owntracks looks interesting, and also supports HTTP post, which could be connected with HTTP provider.
Installed the app on Ubuntu, it runs ok I guess.
http://192.168.1.20:3000 gives me:
But on Homey, everything stays empty. Nothing listed in Status or Providers.
Any ideas/tips?
If it doesn't work, check developer tools network tab, when visiting settings page.
This is what I get:
In tracker config add address of Homey to "allowedOrigins".
Added those common issues to first post.
[edit]
Sorry, I'm stupid, I put the IP of my server instead of Homey
[edit2]
Hm, still not working though
[edit3]
Thanks for the support!
Info for other users, if everything seems correct and it still doesn't work, clear your cache
There are 2 cards for the When column: When Presence changed (general or per device).
If I use those I don't know if somebody left or arrived?
I'd like to set a boolean when somebody arrives or leaves, but that doesn't seem possible for the moment?