Smart meter plugin tramsmits strange MQTT messages
Moderator: leecollings
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Smart meter plugin tramsmits strange MQTT messages
When I look at the MQTT traffic by using my MQTT tool I see strange messages coming from the smart-meter plugin.
Please have a look at the 2 attachements.
The come in groups of 4 around every 5 seconds.
can someone tell me the cause of this and is this normal behaviour?
Please have a look at the 2 attachements.
The come in groups of 4 around every 5 seconds.
can someone tell me the cause of this and is this normal behaviour?
- Attachments
-
- header
- sm-2.jpg (56.59 KiB) Viewed 1224 times
-
- payload
- sm-1.jpg (61.96 KiB) Viewed 1224 times
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
willem9136 wrote: ↑Monday 14 December 2020 9:16 When I look at the MQTT traffic by using my MQTT tool I see strange messages coming from the smart-meter plugin.
- is your smart-meter plugin the P1 Smart Meter USB or P1 Smart Meter LAN ( on the hardware tab ) or do you refer to something else?
- what tool do you use to look at the MQTT messages?
- can you try to monitor MQTT traffic on your RPI with
Code: Select all
mosquitto_sub -F "%U - %t - %p" -v -p 1883 -t "#"
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
Hello Waaren, I use the USB version of the P1 smart-meter plug in.
I use the MQTTool on my iPad. See attachement.
And the MQTT traffic log is in the attachements as well.
I use the MQTTool on my iPad. See attachement.
And the MQTT traffic log is in the attachements as well.
- Attachments
-
- MQTTool.jpg (49.42 KiB) Viewed 1213 times
-
- mqtt.log
- (8.82 KiB) Downloaded 34 times
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
What you call a plugin is generally referred to as Hardware module (native part of domoticz). This to prevent confusion with the various Python pluginswillem9136 wrote: ↑Monday 14 December 2020 10:16 Hello Waaren, I use the USB version of the P1 smart-meter plug in.
So it seems this tool does see things that are not send by domoticz.I use the MQTTool on my iPad. See attachment.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
There is nothing else on this PI-0 running. I killed NodeRed.
I know when I stop Domicticz these messages will stop.
Also when I remove the P1 smartMeter for USB the messages will stop.
I know when I stop Domicticz these messages will stop.
Also when I remove the P1 smartMeter for USB the messages will stop.
-
- Posts: 335
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
looks like domoticz is sending confirmations of the P1 signals thru MQTT using domoticz/out
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
So nothing to worry about?
It’s strange that this showed up since last week.
Before they were not there.
It’s strange that this showed up since last week.
Before they were not there.
- erem
- Posts: 230
- Joined: Tuesday 27 March 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Amsterdam/netherlands
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
@willem9136
which poses the question: What changed? Did you update domoticz?
which poses the question: What changed? Did you update domoticz?
Regards,
Rob
Rob
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
All I did was removing NodeRed. And for testing I killed Domoticz to check if the messages disappeared. They did so I did a reboot.
Then I removed the hardware module P1 for USB.
Also the messages stopped.
Reinstalled the P1 smartmeter USB again. And the messages were there.....
Then I removed the hardware module P1 for USB.
Also the messages stopped.
Reinstalled the P1 smartmeter USB again. And the messages were there.....
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
I did not update Domoticz. I did press the update button but Domoticz was up to date.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
According to this post you also started the MQTT hardware module. That would explain the MQTT message to domoticz/out but not the funny ones with only "{"
These are not send by domoticz.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
Why do they stop when I remove the P1 plug-in?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
Because the real MQTT messages to domoticz/out for the P1 device are send when the P1 device is updated and this device gets updated via the P1 hardware module. The funny ones seem to be a kind of echo created by something else then domoticz.
If you want to convince yourself and your are not convinced by the mosquitto_sub command I posted earlier then install a network sniffer tool and monitor the network for port 1883
Code: Select all
sudo apt install tcpdump
sudo tcpdump -vv -X -i any port 1883
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
Ok, I will run WireShark on it. Good idea!
- FireWizard
- Posts: 1893
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
Hi, @willem9136
You wrote:
Regards
You wrote:
Can you tell us, which steps you toke when you removed Node Red?All I did was removing NodeRed.
Regards
-
- Posts: 53
- Joined: Friday 11 December 2020 15:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands Paesens
- Contact:
Re: Smart meter plugin tramsmits strange MQTT messages
I read in an American forum that these “strange” MQTT messages and by domoticz/out are normal.
Who is online
Users browsing this forum: No registered users and 1 guest