hi all
dont know it there is some one that can help me with setting up own tracks (think i need a set up for dummes)
using hassio on pi3, done a fresh install and installed the following addon. samba, ssh, mosquitto duckdns with lets encrypt set up. all is working fine (can access HA on https.) have a couple of sonoff switches that operate fine as well.
but can not get owntrackes to connect from andriod phone.
You might take a look at my post. It is a complete working setup in hassio, I only decided to go for Zanzito since it offers me more options and it’s more accurate. TLS with Owntracks and Mosquitto not working
platform: owntracks
cd max_gps_accuracy: 200
waypoints: true
Owntrack APP:
mode: private mqtt
host: whateveryouris.ddns.net (with no https://)
port: 1883
websockets: off
Identification
user: me
pass: nonofyours
device ID: me
tracker ID: em
security TLS: off
parameters
Clean Session: on
keepalive: 60
On my samsung phone, I had to edit the configuration management on the owntracks app and change “mqttprotocollevel” to 3 in order to work.
Also had to port forward 1883 on my router, and it works flawless.
Configure a bridge between mosquitto and cloudmqtt - this is the bridge config for mosquitto that goes in hassio share folder: MQTT: Working Mosquitto / CloudMQTT Bridge
Hi.
I am not able to associate the devices displayed on the frontend with the Owntracks status.
The built-in MQTT broker answers
1510827916: New client connected from 5.170.106.182 as simonesimone (c1, k900, u’Simone’)
so I think it may be an username problem.
I have tried associating to all the MACs in Known_devices.YAML
SimonesimoneSC (userdeviceID), simonesimone, simone_simone, simone_simone_SC,
I think all the combination possible.
ATP it is device_tracker.simonesimone
but the frontend shows me “away” or “not home” according the views, and not “at work”
Yes. Both on hassio and on owntracks.
Not ever seen anything different than “away”
It seems that there’s no talk between mqtt and hassio, at least. Or mqtt does not receive lat-long
EDIT:
I can see zones in the maps and the db on the embedded MQTT being updated.
Devices are updated only when I reopen nmap tracking -that I switched on to avoid conflicts-
Hi. Sorry to bother you… can you provide config examples?
I am trying to make it working, but somehow, somewhere something does not talk with something else.
From the last:
yes, it is reporting.
(EDIT: I can even see my friends position, so I suppose there’s a dialog with MQTT)
geofences config’d and shared.
(EDIT: even if I assumed that the zone is checked by HASSIO according lat-long, isn’t it?)
owntracks answers “connected” for enpoint state but “endpoint state message” not available.
queue on 0.
MQTT states lots of
New client connected from ecc.,
as told
Use the samba addon to create a cloudmqtt.conf config file in \\hassio\share\mosquitto
The cloudmqtt.conf file should look like this:
connection couldmqtt
address <cloudmqtt server>
topic # in 1
try_private true
notifications false
start_type automatic
remote_clientid <cloudmqtt user you configured for HA to login as>
remote_username <cloudmqtt user you configured for HA to login as>
remote_password <password for above user>
keepalive_interval 300
cleansession true
bridge_protocol_version mqttv311
local_clientid <local mosquitto user>
bridge_cafile /etc/ssl/certs/ca-certificates.crt
bridge_insecure false
In your hassio mosquitto addon config you need to have:
And nope, again.
I checked the state of the devices on Hass.io while at home and not.
It seems that the lat-long are displayed with home values only when I turn on the NMAP compenent.
With just owntracks, there is NO lat-long in hass.io
I think I am missing something little but really relevant, I suppose to be a facepalm away from the solution.