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.
Official
Comments
Open the owntracks app on your phone and go to the map view and see where your phone thinks you are..
Since you are also on slack, perhaps talking there I faster.
Slack name is scanno
I’m failing connecting my phone via HTTP (without a MQTT broker). It’s keep giving me errors. I’ve done the following:
- Created an user (t1) within the homey OwnTracks app (to retrieve a user token ID for the URL).
- Added the URL to the OwnTracks app on my phone (also containing the homey cloud ID - see screenshot).
The OwnTracker app on my iPhone is giving me the following error:
idle The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 1.) { "_kCFStreamErrorCodeKey" = 1; "_kCFStreamErrorDomainKey" = 12; }
Also tried entering authentication credentials (homey account credentials?) Still no connection.
There are no further steps required that a did right? Like forwarding ports in my router.
When using the athom cloud there is no need to setup anything in your home network. That is the good thing about the athom cloud.
You can check if athom cloud is the problem by using your phone and try the homey phone app (when not connected to your wifi network) and see if that one is working.
Are you sure you have used the correct cloud ID (not typo's?)
Besides that there were cloud problems (and my homey also isn't connected to the cloud at the moment).
I checked the url a few times for typo's and blank spaces, no errors there. Is the above URL within the tutorial still up-to-date?
Don't I need to enter authentication credentials (UserID/Password)? The app is telling me they're required. Homey account credentials (mail address / password)?
You used the token ID that is generated in the owntracks homey app (see settings)?
The URL needs two components
One is your athom cloud ID and second is a token that is generated for a user in the owntracks homey app.
Just tested it. Works here for me like it should. So the URL is still good.
Yes I warned about the fact that the old topic based trigger cards would be removed on version 2
Oh I see, due to sdk 2 :-) thanks
I use the Owntracks app (v2.0.2) quite a while now. When it works I'm happy, but noticed lately that when I restart Homey, all settings are gone. I have no users and no geofences anymore.
In logs I see this:
20170908-15:54:38 Parsing userArray failed: SyntaxError: Unexpected end of JSON input
20170908-15:54:38 Parsing fenceArray failed: SyntaxError: Unexpected end of JSON input
Can someone explain this?
Seems like the stored data is corrupted somehow. Select the delete user data button from settings to delete the files
It shouldn't be that I need to do this when I restart homey.
Also I don't understand to press the delete user button when there are no users anymore?
Because there is data written to a file. That file is corrupt with the result that the saved data is not loaded.
By pressing delete, those files get deleted also, so next time your data will not be lost anymore because they are correctly saved and loaded
I very frequently get notifications about ENETUNREACH, ENOTFOUND and EAI_AGAIN.
Anyone else having this problem?
Have the owntracks app running on homey , my phone and my wife's phone. I have set the geofences (places) on my phone and see these in the homey Owntacks app.
Can I trigger on these geofences on my wife's phone? Or do I need to set them also in here owntrack app on here phone?
Could someone confirm this?
No. Geofences are not shared. Using a broker you can see the location of others, but the Geofences definities are not shared.
Is something on the ToDo list.
You know that there is a mqtt broker for Homey?
I have MQTT running on a RPi so in my settings of the Owntracks app, my username is pi. My geofence "Thuis" is automatically loaded in the Owntracks Homey app, and it loads pi as a user, but how can I distinguish the difference between my girlfriend entering/leaving or myself?
Use different users on mqtt level
Will it be possible to check on same user but different DeviceID in a future update?
Checking on the same user, but a different device id is a bit difficult and would go against the interface specifications from owntracks.
Adding users to the mosquito broker is pretty easy. It is just a commandline with user ID and password.
But if you are only using the mqtt broker for usage with homey, you could have a look at my mqtt broker app for Homey. There you can specify users from the settings page.
Did you manage to add different users to the MQTT broker on your pi? Besides using a MQTT broker, you can also use https through the Atom Cloud.