Hello,
I've tried everything tot get Mosquitto to be active at after reboot Domoticz.
The basic installatie from domoticz doesn't work, i've to activate "mosquitto" manual true puuty, of mosquitto -d, so i can logout from putty.
I read about de config file from mosquitto.conf (in 2 different dir's) but in the initial installatiion there is no mention about this.
I changed some options in this file from all info i could get. (f.i: pid_file /var/run/mosquitto.pid)
But initial there isn't a pid file? So why isn't this in de domoticz manual?
What can i do, is it so difficult to have mosquitto service active after a reboot of my rpi?
I've on Sonoff switch configured and flashed, i can put it on/off via the website. Ip and ports works fine.
When ik manual start "mosquitto" the switch works fine.
Who can help me?
MQTT in Domoitcz 4.9700.
Moderator: leecollings
-
- Posts: 5
- Joined: Thursday 11 June 2015 20:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
MQTT in Domoitcz 4.9700.
Regards, Johan.
Synology NAS DS 713+ (Docker running Domoticz & MQTT), R-Pi2 with P1 Interface. 4xKUKA devices. 3 x Camera's.
Xiaomi MiHome Gateway. Sonoff Basic MQTT (Tasmota). AirconWithMe Wifi Airco module.
Synology NAS DS 713+ (Docker running Domoticz & MQTT), R-Pi2 with P1 Interface. 4xKUKA devices. 3 x Camera's.
Xiaomi MiHome Gateway. Sonoff Basic MQTT (Tasmota). AirconWithMe Wifi Airco module.
-
- Posts: 85
- Joined: Tuesday 06 September 2016 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sorø, DK
- Contact:
Re: MQTT in Domoitcz 4.9700.
I think you need to set service, enable service and start service
Enable the service
taken from here:
https://xperimentia.com/2015/08/20/inst ... ebsockets/
Enable the service
Code: Select all
sudo systemctl enable mosquitto.service
https://xperimentia.com/2015/08/20/inst ... ebsockets/
Who is online
Users browsing this forum: No registered users and 1 guest