smile
February 22, 2018, 10:42am
1
Do i need both Local Mosquitto broker and CloudMQTT to use sonoff switches and owntraker in Hass.io
I have used both in Hassbian and now i am Hass.io user. I installed mosquitto broker plugin and here is my configuration.
and configuration in Mosquitto broker plugin.
{
"plain": true,
"ssl": false,
"anonymous": true,
"logins": [
{
"username": "username",
"password": "password"
}
],
"customize": {
"active": false,
"folder": "mosquitto"
},
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
namadori
(Namadori)
February 22, 2018, 10:53am
2
I’m using Sonoff switches and OwnTrack with the Mosquitto Hassio plugin without CloudMQTT.
You need a public IP address and setup port forwarding for port 1883 from Internet to 192.168.1.145.
smile
February 22, 2018, 12:05pm
3
do i need mqtt component in configuration.yaml
like
mqtt:
broker: 192.168.1.145
port: 1883
client_id: ha
keepalive: 60
username: username
password: password
protocol: 3.1
or need any cnages in Mosquitto broker plugin
{
"plain": true,
"ssl": false,
"anonymous": true,
"logins": [
{
"username": "username",
"password": "password"
}
],
"customize": {
"active": false,
"folder": "mosquitto"
},
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
smile
March 20, 2018, 1:27am
4
How is Owntracks location report delay. In my case homeassistant show status 1 day ago. How can i cheak when Owntracks sent data to Mosquitto broker.