Page 6 of 6

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Tuesday 19 February 2019 19:25
by Brandjuh
uibeltje wrote: Monday 03 September 2018 23:35 I am stuck at this moment connecting my plugwise circles to Domoticz.

Everything seems to work fine except the connection between node-red and Domoticz. I do see data in the data-log folder but fail to import it in Domoticz via node-red.

I have created the Virtualplugwise-2-py hardware and entered the idx in node-red but the circles don't pop-up in the list.

Does anybody know where to look for errors? Is there a node-red logfile? My experience with the command line is limited but I learn by trial and error.
I have the same problem. Plugwise seems to run fine and data is collected in the folders. But its not sending from node-red to Domoticz .
This is my second day in trying it get to work, but I am clueless.

I hope someone can help me here. :)
Domoticz-plugwise1.png
Domoticz-plugwise1.png (153.38 KiB) Viewed 3164 times
Domoticz-plugwise2.png
Domoticz-plugwise2.png (384.59 KiB) Viewed 3164 times

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Friday 01 March 2019 22:01
by Brandjuh
Solution without plugwise would be fine as well.

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Monday 27 May 2019 14:19
by knielen
Thanks a lot for these scripts, works great!

Re: Connecting Plugwise-2-py via MQTT to Domoticzw

Posted: Wednesday 19 June 2019 8:34
by edwin1234
Everything works accept getting it in domoticz how did you get it working?
And do you have the latest domoticz also?

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Wednesday 19 February 2020 19:20
by foxhill
Hi all, this maybe be an old discussion but nevertheless I'd appreciate some help. I have the same problem as a couple of posters here, namely that the Circles do not appear in Domoticz after deploying the node-red script. I'm using the latest version of Domoticz, 4.10717. I tested that MQTT data appears in Domoticz. Node-red seems to be happily doing its thing - console messages indicate that data is being transferred to Domoticz. The Plugwise-2-py webpage shows data. I have dummy hardware configured, as one of the posters above shows in his screen shot. I updated the node-red script to reflect the hardware ID. So I've run out of ideas why the circles do not appear.

Help would be greatly appreciate!

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Sunday 27 September 2020 21:23
by bagheerahans
Despite the good work SevenW did for us. I am not able to get de values of my Plugwise in Domoticz. MQTT is working fine, I get values from another system trough MQTT in Domoticz.
What can be wrong?
 
Lesson learned in de days I am trying:
De Mac with my oder modules is 000D6F0000 plus de number from the module. But!! The first digit is not on the label of the module. You will find this in the source software. Label on the unit is 36670, in the software it is 236670. Mac becomes: 000D6F0000236670.
Put the log path also in de PI map, you stop the problem of file-rights.
Check the /dev/ttyUSB2 carefully, it can change after reboot!

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Thursday 11 March 2021 22:35
by panken
hello, i have the same problem. i have 1 pi with plugwise2py all works fine. and a 2nd pi with domoticz, mqtt and node-red.
in node-red virtual div adjusted to correct id. but no devices in domoticz. Help !!

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Wednesday 09 March 2022 14:11
by BlueBullet
In the Node-Red flow under "Plugwise2 Energy to Domoticz" and "Plugwise2 Power to Domoticz" and "Plugwise2 State to Domoticz" it uses the format:

json.htm?type=command&param=udevice&hid=$HID&did=$DID&dunit=$DUNIT&dtype=$DTYPE&dsubtype=$DSUBTYPE&nvalue=$NVALUE&svalue=$SVALUE

to communicate with Domoticz and this results in ERR.

Apparently this string format is no longer correct (outdated?).
Can't find any reference to "did", "dunit", "dtype" and "dsubtype" on https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's
Trying to figure out what to adapt...

Re: Connecting Plugwise-2-py via MQTT to Domoticz

Posted: Saturday 02 December 2023 6:38
by edwin1234
Did someone solve this
problem yet?