Hello,
I am relatively new to domoticz.
I am using domoticz to subscribe to MQTT events on thethings network, and once received, a notification is sent using Pushsafer.
On my first domoticz instance, it works fine.
On my second domoticz instance, domoticz is able to see the messages, but does not send the notification to pushsafer.
On the first instance, the MQTT logs are highlighted in green as status messages.
On my second instance, the MQTT logs appear, but are not highlighted as "status" messages
What could be causing this difference in behaviour? and how do I fix it?
MQTT Messages not considered as "Status" messages
Moderators: leecollings, remb0
-
- Posts: 4
- Joined: Tuesday 25 September 2018 6:47
- Target OS: Windows
- Domoticz version:
- Contact:
MQTT Messages not considered as "Status" messages
- Attachments
-
- Pushsafer not working. MQTT message not "green"
- Instance 2 .png (87.01 KiB) Viewed 262 times
-
- Pushsafer notifications working. MQTT message is "status" message
- Instance 1.png (34.81 KiB) Viewed 262 times
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Messages not considered as "Status" messages
What is the difference between those 2 domoticz instances with regard to MQTT implementation?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 4
- Joined: Tuesday 25 September 2018 6:47
- Target OS: Windows
- Domoticz version:
- Contact:
Re: MQTT Messages not considered as "Status" messages
Hello,
In domoticz, the configurations are the same.
I am not sure if there is any difference at the OS level.
I have attached screenshots from each instance.
Both are subscribed to the same event in thethingsnetwork.
In domoticz, the configurations are the same.
I am not sure if there is any difference at the OS level.
I have attached screenshots from each instance.
Both are subscribed to the same event in thethingsnetwork.
- Attachments
-
- Screenshot 2022-12-21 at 00.27.34.png (287.67 KiB) Viewed 228 times
-
- Screenshot 2022-12-21 at 00.24.12.png (302.65 KiB) Viewed 228 times
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Messages not considered as "Status" messages
Strange. And also the same Domoticz versions and same hardware (RPi 32, RPi 64, windows orLinux X86)?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 4
- Joined: Tuesday 25 September 2018 6:47
- Target OS: Windows
- Domoticz version:
- Contact:
Re: MQTT Messages not considered as "Status" messages
The only visible difference is the domoticz version. "2022,1" for the working version and "2022,2" for the one that is not working.
Is there a way to define/configure what messages domoticz considers as a "status" message?
Is there a way to define/configure what messages domoticz considers as a "status" message?
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Messages not considered as "Status" messages
I don't think so. There have been some changes in MQTT between those versions so perhaps you ran into an issue.
As I do not use MQTT and definitely not TTN-MQTT it is better you make an issue on the GitHub repository. Best with an example mqtt payload that should reproduce your issue.
As I do not use MQTT and definitely not TTN-MQTT it is better you make an issue on the GitHub repository. Best with an example mqtt payload that should reproduce your issue.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 4
- Joined: Tuesday 25 September 2018 6:47
- Target OS: Windows
- Domoticz version:
- Contact:
Re: MQTT Messages not considered as "Status" messages
I forgot to respond to part of this question:
Working system: raspberry pi 4, buster
Other systems I set up that do not work: ubuntu 20.04 vm with domoticz 2022.2, fedora 37 vm with domoticz 2022.1, anothe raspberry pi 4 (buster).
All the devices see the MQTT events and report them in the domoticz log.
Only the first raspberry reports the MQTT events as "STATUS" messages. I cannot remember what I did when I installed the first machine and I have been unable to replicate it.
How does domoticz decide what is an "info" message and what is a "status" message? Is there a setting/config for this?
- waltervl
- Posts: 5908
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Messages not considered as "Status" messages
As far as I know there is no setting for this.
I think it is a difference in usage between 2022.1 and 2022.
The status is only a log implementation, it should not differ in interpretation of the mqtt payload.
Perhaps you can try to send a payload manually with mosquitto_pub to check behavior in switch command between the domoticz environment.
It is strange that pushsafer is not triggered on the other environments. Is pushsafer implemented the same? Are the devices updated on all systems based on the mqtt messages?
I think it is a difference in usage between 2022.1 and 2022.
The status is only a log implementation, it should not differ in interpretation of the mqtt payload.
Perhaps you can try to send a payload manually with mosquitto_pub to check behavior in switch command between the domoticz environment.
It is strange that pushsafer is not triggered on the other environments. Is pushsafer implemented the same? Are the devices updated on all systems based on the mqtt messages?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest