Page 2 of 2
Re: Connection refused
Posted: Friday 03 June 2022 18:03
by FireWizard
Hello Edwin, @edwin1234.
I have add some pictures hope that makes it clear.
Yes, this makes it clear and exactly what I thought.
That's why I asked:
What is the topic you look at, with your MQTTAnalyzer?
If you look at your first screenshot, you will see that you look at the topic:
plugwise2py/state/power/<MAC address of the plugwise unit>
Currently I see 9 different units.
But this topic we have decided not to use, so this is not where the MQTT input node is looking at.
The second screenshot is a copy of the first one.
But you should look at: plugwise2py/state/
energy/<MAC address of the plugwise unit>
Try this one and check if you have multiple posts of the same MAC address.
Regards
Re: Connection refused
Posted: Friday 03 June 2022 19:35
by edwin1234
Re: Connection refused
Posted: Friday 03 June 2022 19:51
by FireWizard
@edwin1234,
Sorry, no idea what you tried to send.
I see only the word "image".
Regards
Re: Connection refused
Posted: Saturday 04 June 2022 6:34
by edwin1234
Sorry , this is better


- 1814B14C-7BDB-4E8F-B485-67544FFA5103.png (85.56 KiB) Viewed 1623 times
[/img]
Re: Connection refused
Posted: Saturday 04 June 2022 16:11
by FireWizard
Hello edwin1234,
This gives more information
However, if you reread my post of May 30 and your answer of May 31, you will see that we have agreed, as said earlier, to use the topic:
plugwise2py/state/energy/<MAC address of the plugwise unit>
Therefore the MQTT input node subscribes to plugwise2py/state/
energy/<MAC address of the plugwise unit>
See below:

- Screenshot_Plugwise_flow8-mod.png (27.56 KiB) Viewed 1612 times
The picture, you send to me yesterday, shows that you are looking to plugwise2py/state/
power/<MAC address of the plugwise unit>
See, your picture below:

- Plugwise_7-mod.png (64.02 KiB) Viewed 1612 times
You should check the topic plugwise2py/state/energy/<MAC address of the plugwise unit> and not plugwise2py/state/power/<MAC address of the plugwise unit>
As soon as your plugwise unit publishes a messgage to the topic plugwise2py/state/energy/<MAC address of the plugwise unit> the Node RED flow will publish the message to Domoticz.
If the publishing frequency of the plugwise unit is too low and so too few updates are received, we can change the flow to listen to plugwise2py/state/power/<MAC address of the plugwise unit>. However in this case the energy has to be calculated by Domoticz, which is less accurate than the provided value from plugwise.
Regards
Re: Connection refused
Posted: Saturday 04 June 2022 20:10
by edwin1234
Your completly right Firewizard,
Lets leave it like this.
Thanks for your help
Re: Connection refused
Posted: Saturday 04 June 2022 21:10
by FireWizard
Hello Edwin (@edwin1234),
If you are satisfied with the offered solution, I'm happy as well.
If you need more support, don't hesitate to ask.
Could you mark this topic as "Solved"?
Happy Pentecost,
Regards