Search found 44 matches
- Saturday 03 February 2024 20:39
- Forum: Zigbee
- Topic: sonoff dongle -P vs -E?
- Replies: 9
- Views: 4652
Re: sonoff dongle -P vs -E?
If you use Zigbee2MQTT, you can find information about both type of adapters in section for supported adapters . E version (with EFR32MG21 chip) should work too but still has experimental support in Zigbee2MQTT only. I use recommended P version (based on CC2652P chip) without issues. You can still ...
- Saturday 03 February 2024 20:13
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz, docker and syslog
- Replies: 2
- Views: 3021
Re: Domoticz, docker and syslog
You can enable syslog driver for your domoticz container (add the options to docker run command or configure it in docker compose file), see https://docs.docker.com/config/containers/logging/syslog/ I use the following configuration in my docker compose file to send logs from Domoticz container to ...
- Thursday 12 January 2023 9:19
- Forum: MQTT Auto Discovery
- Topic: MQTT Explorer docker image available
- Replies: 2
- Views: 4772
Re: MQTT Explorer docker image available
I found it available as snap package too so very easy to install i.e. on Ubuntu
- Thursday 12 January 2023 9:14
- Forum: Z-Wave
- Topic: zwavejsui -> mosquitto
- Replies: 8
- Views: 1800
Re: zwavejsui -> mosquitto
Hello,
for using host mode, update your docker compose files with:
add:
and remove
for using host mode, update your docker compose files with:
add:
Code: Select all
...
services:
<service-name>:
...
network_mode: host
...
Code: Select all
...
networks:
- <network>
...
ports:
- '<port>:<port>'
...
- Sunday 18 December 2022 17:16
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
Just for reference. We fixed the problem via teamviewer. When tried to start without using config file (default config): sudo -u mosquitto /usr/sbin/mosquitto it started OK. When tried to start with using config file: sudo -u mosquitto /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf it failed ...
- Sunday 18 December 2022 15:50
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
The log is gone, nohting in there.
I can give you teamviewer access?
ok you can send me ID/pass in Private Message
I can give you teamviewer access?
ok you can send me ID/pass in Private Message
- Sunday 18 December 2022 15:40
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
do you have config file /etc/mosquitto/mosquitto.conf present?
What if you you start it manually with default config (without using above config file):
sudo -u mosquitto /usr/sbin/mosquitto
What if you you start it manually with default config (without using above config file):
sudo -u mosquitto /usr/sbin/mosquitto
- Sunday 18 December 2022 15:20
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
according to timestamp (1671284340), the logs from last run are the following: 1671284340: mosquitto version 2.0.12 starting 1671284340: Config loaded from /etc/mosquitto/mosquitto.conf. looks like no errors... strange try stop / remove the log / start again and check status/logs: sudo systemctl ...
- Sunday 18 December 2022 14:39
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
as I can see now it fails with return code 3 which is different as before:
Process: 824 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status=3)
so check the log file /var/log/mosquitto/mosquitto.log what is the error now
Process: 824 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status=3)
so check the log file /var/log/mosquitto/mosquitto.log what is the error now
- Sunday 18 December 2022 13:43
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
hello, Check the content of /etc/rc.local file. Maybe you have a command to start mosquitto in it. In that case system tries to start one mosquitto by rc-local.service and another mosquitto by mosquitto.service. If it mosquitto command is present in /etc/rc.local comment it out or remove the line ...
- Saturday 17 December 2022 19:52
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
hello, Apparently you have other mosquitto process already started/running and using port 1883 when you try to start mosquitto.service in parallel and fails because the port is already in use. Try to identify service which started the process using port 1883: find PID of the process which is using ...
- Friday 16 December 2022 23:39
- Forum: Others
- Topic: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
- Replies: 17
- Views: 4229
Re: MQTT: Failed to start, return code: 14/Connection refused (Check IP/Port)
Do you have this log file /var/log/mosquitto/mosquitto.log? Check if there are any errors...
- Friday 16 December 2022 23:30
- Forum: MQTT Auto Discovery
- Topic: problems with mqtt
- Replies: 3
- Views: 1688
Re: problems with mqtt
these messages: 1671219391: Opening ipv4 listen socket on port 1883. 1671219391: Error: Address already in use 1671219391: Opening ipv6 listen socket on port 1883. 1671219391: Error: Address already in use means that some other service is already using port 1883 on your system so mosquitto cannot ...
- Sunday 04 December 2022 14:57
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: 2022.2 Domoticz sources not compiling
- Replies: 8
- Views: 1049
Re: 2022.2 Domoticz sources not compiling
If you read my previous posts you should understand the file is generated automatically. You should not create it manually (you cannot just guess its content). Maybe you missed some step or previous step did not complete successfully and you didn't notice...
- Friday 02 December 2022 17:24
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Change Hardware .cpp file
- Replies: 6
- Views: 434
Re: Change Hardware .cpp file
after that i preform: $ ./domoticz but do not see my changes i have added at the log line. I think i am missing a step. It should work like that. When you start re-built domoticz, in startup logs, do you see "-modified" flag added in "Build Hash:" message? It indicates that you really started ...
- Friday 02 December 2022 15:12
- Forum: Z-Wave
- Topic: Easiest way to migrate Openzwave to ZWave-JS-UI
- Replies: 474
- Views: 285863
Re: Easiest way to migrate Openzwave to ZWave-JS-UI
the second think is, OZW works perfekt on my setup. no any kind of problems, why i need to switch do other solution and risk that not all wil work like now ? You can still use it while is available in Domoticz 2022.2 but it may be removed in future Domoticz releases because OZW is no longer ...
- Friday 02 December 2022 14:55
- Forum: Others
- Topic: python-miio sh script did not execute in domoticz / SOLVED
- Replies: 6
- Views: 1392
Re: python-miio sh script did not execute in domoticz
if domoticz is running as root and you need execute the command as 'pi' user you can try modify the script:
Code: Select all
#!/bin/bash
sudo -u pi miiocli roborockvacuum --model rockrobo.vacuum.v1 --ip 192.168.1.32 --token 5061---------------------366f start
- Friday 02 December 2022 13:58
- Forum: Cameras
- Topic: Rpi Camera streaming to Domoticz
- Replies: 9
- Views: 2634
Re: Rpi Camera streaming to Domoticz
If you have direct experience with the latest Pi4 board and noir camera then I am happy to give it a go. Sorry, I do not have experience with motionEyeOS on rpi4. It is true motionEyeOS is not maintained anymore by its original developer, he had to step out from the project for personal reasons ...
- Friday 02 December 2022 11:08
- Forum: Cameras
- Topic: Rpi Camera streaming to Domoticz
- Replies: 9
- Views: 2634
Re: Rpi Camera streaming to Domoticz
just a hint, maybe it would be easier for you to install motionEye:
https://github.com/motioneye-project/motioneye
or motionEye OS provide you with OS image that you just put on SD card and use RPI as video surveillance system:
https://github.com/motioneye-project/motioneyeos/wiki
https://github.com/motioneye-project/motioneye
or motionEye OS provide you with OS image that you just put on SD card and use RPI as video surveillance system:
https://github.com/motioneye-project/motioneyeos/wiki
- Friday 02 December 2022 10:19
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: 2022.2 Domoticz sources not compiling
- Replies: 8
- Views: 1049
Re: 2022.2 Domoticz sources not compiling
The ‘CMake’ command before the actual `make` command should generate that file as far as I remember. It is actually 'make' after CMake that generates it based on build target defined in CMakeLists.txt ;) From CMakeLists.txt: ... # creates appversion.h using cmake script ADD_CUSTOM_COMMAND(TARGET rev ...