Replace <ha_server> with the address of your Home-Assistant server and <password> with the password for your Home-Assistant server. Ignore the rest of the settings on this page.
That should be all for a basic setup.
Does the Locative app for android support SSL with its get?
I’ve got HA 0.27 running on Windows 10 using SSL and am trying to get Locative working with the android app.
I’ve used the global setting https://<ha_server>/api/locative?api_password=<password> where <ha_server> is the dynamic DNS address for my server. I’ve set the Locative App to GET.
If I send a test-request from the Locative app it gives me a LOADING overlay and just stays on that - and will stay there for 10 minutes or more.
I suspect the issue I’m having is on the app side, as I can drop https://<ha_server>/api/locative?api_password=<password> into a web browser window, and HA will immediately respond with “Latitude and longitude not specified.”
The problem is, I don’t think locative has a field for your device name, so maybe HA is just throwing an error due to locative not knowing an appropriate device name?
I figured my problem out. Locative creates a new device in your known_devices.yaml file. Make sure you are using that random key that locative selects as your device.
I’m having trouble with Locative reaching HA (0.33.4) as well. My . yaml checks out fine, but when I send a Test GET from the Locative app it just shows a “Loading” loop. I’ve tested that 8123 is open to outside and I can access HA. My router uses Gargoyle (OpenWRT). When I enter into my browser:
Correct me if I’m wrong, but it makes no sense to use a link like:
http://<ha_server>/api/locative?api_password=<password>
with the password in the url.
Locative works in background and can send updates while connected to public wifi. With or without ssl, the requested url can be captured (very easy) and then anyone who does it will be able to access your server.
From there, they can get your home address (gps coordinates) and full control of everything you have connected (worst case - door locks).
for Locative to work HA needs to be accessible from the internet.
Although, it looks like the app will continue to work as-is without cloud service. I don’t think that I’m using the cloud service right now as I don’t have an account for the Locative site. So I guess integration will be fine for a while if you don’t use the cloud service.