Connection refused Topic is solved

Moderator: leecollings

User avatar
FireWizard
Posts: 1763
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Connection refused

Post 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
edwin1234
Posts: 250
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Connection refused

Post by edwin1234 »

Image
User avatar
FireWizard
Posts: 1763
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Connection refused

Post by FireWizard »

@edwin1234,

Sorry, no idea what you tried to send.

I see only the word "image".

Regards
edwin1234
Posts: 250
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Connection refused

Post by edwin1234 »

Sorry , this is better ;)

Image
1814B14C-7BDB-4E8F-B485-67544FFA5103.png
1814B14C-7BDB-4E8F-B485-67544FFA5103.png (85.56 KiB) Viewed 1230 times
[/img]
Attachments
5C52CBCA-93FE-4B46-A9FA-C37B863E6243.png
5C52CBCA-93FE-4B46-A9FA-C37B863E6243.png (64.24 KiB) Viewed 1230 times
User avatar
FireWizard
Posts: 1763
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Connection refused

Post 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
Screenshot_Plugwise_flow8-mod.png (27.56 KiB) Viewed 1219 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
Plugwise_7-mod.png (64.02 KiB) Viewed 1219 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
edwin1234
Posts: 250
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Connection refused

Post by edwin1234 »

Your completly right Firewizard,
Lets leave it like this.

Thanks for your help
User avatar
FireWizard
Posts: 1763
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Connection refused

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests