Plugwise Adam

For heating/cooling related questions in Domoticz

Moderator: leecollings

mveldman
Posts: 10
Joined: Wednesday 16 December 2015 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Heerhugowaard, NL
Contact:

Plugwise Adam

Post by mveldman »

On my heater i use this device https://www.plugwise.com/en_US/products/adam
Is there anyone who uses this gateway and has succesfully connected it to Domoticz?
I've tried using the Plugwise Anna connector whithout succes.
It would be nice, so i can use the geofence with Domoticz.
akatar
Posts: 14
Joined: Sunday 04 November 2018 21:28
Target OS: Windows
Domoticz version:
Contact:

Re: Plugwise Adam

Post by akatar »

I have the same question, thinking of buying one but i don't know (yet) if i can add it to a ha system.
@mveldman: can you get an xml file out of the adam?
we can do this with the smile and the stretch 2, perhaps also with adam? please check if you want.
akatar
Posts: 14
Joined: Sunday 04 November 2018 21:28
Target OS: Windows
Domoticz version:
Contact:

Re: Plugwise Adam

Post by akatar »

we'll i bought an adam and you can get an xml file out of the adam
<point_log id="60e4d9ac603f425a80e85b75f1c8249e">
<updated_date>2018-12-31T11:46:28.933+01:00</updated_date>
<type>central_heater_water_pressure</type>
<unit>bar</unit>
<last_consecutive_log_date>2018-12-31T11:46:28.932+01:00</last_consecutive_log_date>
<period end_date="2018-12-31T11:46:28.933+01:00" start_date="2018-12-31T11:46:28.933+01:00">
<measurement log_date="2018-12-31T11:46:28.933+01:00">1.60</measurement>
</period>
</point_log>
<point_log id="62183c24621c45f7ae427a7daf386f40">
<updated_date>2018-12-29T19:19:29.313+01:00</updated_date>
<type>maximum_boiler_temperature</type>
<unit>C</unit>
<last_consecutive_log_date>2018-12-29T19:19:29.313+01:00</last_consecutive_log_date>
<period end_date="2018-12-29T19:19:29.313+01:00" start_date="2018-12-29T19:19:29.313+01:00">
<measurement log_date="2018-12-29T19:19:29.313+01:00">73.00</measurement>
</period>
</point_log>
<point_log id="68cdf74391e246de880ecaa2177aa5c3">
<updated_date>2018-12-31T11:47:50.924+01:00</updated_date>
<type>domestic_hot_water_temperature</type>
<unit>C</unit>
<last_consecutive_log_date>2018-12-31T11:47:50.924+01:00</last_consecutive_log_date>
<period end_date="2018-12-31T11:47:50.924+01:00" start_date="2018-12-31T11:47:50.924+01:00">
<measurement log_date="2018-12-31T11:47:50.924+01:00">59.40</measurement>
</period>
</point_log>


etc etc
mveldman
Posts: 10
Joined: Wednesday 16 December 2015 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Heerhugowaard, NL
Contact:

Re: Plugwise Adam

Post by mveldman »

akatar wrote: Tuesday 01 January 2019 22:38 we'll i bought an adam and you can get an xml file out of the adam
<point_log id="60e4d9ac603f425a80e85b75f1c8249e">
<updated_date>2018-12-31T11:46:28.933+01:00</updated_date>
<type>central_heater_water_pressure</type>
<unit>bar</unit>
<last_consecutive_log_date>2018-12-31T11:46:28.932+01:00</last_consecutive_log_date>
<period end_date="2018-12-31T11:46:28.933+01:00" start_date="2018-12-31T11:46:28.933+01:00">
<measurement log_date="2018-12-31T11:46:28.933+01:00">1.60</measurement>
</period>
</point_log>
<point_log id="62183c24621c45f7ae427a7daf386f40">
<updated_date>2018-12-29T19:19:29.313+01:00</updated_date>
<type>maximum_boiler_temperature</type>
<unit>C</unit>
<last_consecutive_log_date>2018-12-29T19:19:29.313+01:00</last_consecutive_log_date>
<period end_date="2018-12-29T19:19:29.313+01:00" start_date="2018-12-29T19:19:29.313+01:00">
<measurement log_date="2018-12-29T19:19:29.313+01:00">73.00</measurement>
</period>
</point_log>
<point_log id="68cdf74391e246de880ecaa2177aa5c3">
<updated_date>2018-12-31T11:47:50.924+01:00</updated_date>
<type>domestic_hot_water_temperature</type>
<unit>C</unit>
<last_consecutive_log_date>2018-12-31T11:47:50.924+01:00</last_consecutive_log_date>
<period end_date="2018-12-31T11:47:50.924+01:00" start_date="2018-12-31T11:47:50.924+01:00">
<measurement log_date="2018-12-31T11:47:50.924+01:00">59.40</measurement>
</period>
</point_log>


etc etc
That is something for a start!
akatar
Posts: 14
Joined: Sunday 04 November 2018 21:28
Target OS: Windows
Domoticz version:
Contact:

Re: Plugwise Adam

Post by akatar »

try
http://ip adam/core/appliances

and

http://ip adam/core/modules
mveldman
Posts: 10
Joined: Wednesday 16 December 2015 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Heerhugowaard, NL
Contact:

Re: Plugwise Adam

Post by mveldman »

akatar wrote: Monday 07 January 2019 21:54 try
http://ip adam/core/appliances

and

http://ip adam/core/modules
Ah, great, with this url's i can get the status of the Adam in Node-Red.
One step beyond!
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

From what I can see the XML is the same as the Plugwise Anna given it needs to talk to the standard plugwise application.

Can anyone post a full XMl file from http://ip adam/core/appliances?
Might add be able to use it in the Anna Plugin after a few modifications to the code.
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

If my assumption is correct the software in the gateway/Adam is the same and will support the same API
So I've changed to code of the Anna thermostat, so it has the potential to work with the Adam too.
If someone is willing to try they can see if the Anna thermostat in the upcoming beta will work with the Adam

The code is being pushed to the beta and should hopefully be there later in the week
If my assumsion is correct it should have the same functionality a the ANNA

Pleas let me know if it works
ahattink
Posts: 35
Joined: Monday 16 February 2015 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Plugwise Adam

Post by ahattink »

@Dr8072

Yes i would like to try and think i am able to.
My installation has an Anna with firmware 3.1.4 and Adam with firmware 2.3.19.
I will set up my test pi to connect to Adam and Anna and let you know about my findings.
Pi 3B, latest stable
RFXCOM, Z-wave, Zigate, Hue, Harmony hub, Netatmo Weather station, Opentherm Gateway, EnOcean,P1 SmartMeter, Plugwise Anna & Adam, Xiaomi Roborock, Sonos One, Google Home, Philips Hue, Homey, D-link and Bitron Video camera.
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

Keep an eye out for a new beta... The code change is still not merged...
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

The new beta is up... give it a try. if its not working can you
get me a proper appliances. xml?

run curl http://<username>:<password>@<ipadress anna>/core/appliances i > appliances.xml and up load it here.
ahattink
Posts: 35
Joined: Monday 16 February 2015 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Plugwise Adam

Post by ahattink »

I updated Domoticz to the latest version.
Then i added the Anna and Adam to Domoticz.
I was under the impression i could see and add the Toms and Lisa's to Domoticz. But they where not in the device list.
1 new device was shown: intended_boiler_temperature

Attached XML files.
1 of the Adam
1 of Anna without decentral heating devices
1 Anna with decentral heating devices.

If you need more info, testing done ore anything, please let me know.
Attachments
Anna.xml
(30.25 KiB) Downloaded 128 times
Anna with decentral heat input.xml
(33.4 KiB) Downloaded 94 times
Adam.xml
(63.64 KiB) Downloaded 156 times
Pi 3B, latest stable
RFXCOM, Z-wave, Zigate, Hue, Harmony hub, Netatmo Weather station, Opentherm Gateway, EnOcean,P1 SmartMeter, Plugwise Anna & Adam, Xiaomi Roborock, Sonos One, Google Home, Philips Hue, Homey, D-link and Bitron Video camera.
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

Thanks for the Adam list, that will help.
Did on the Adam test show the same devices as the Anna? If it is not to much asked a screen shot of the devices... (here or as a private msg) so I can see what added and to make it 100% correct for the 3 same scenarios run a:

curl -L "http://<username>:<password>@<ipadress anna>//cache/domain_objects;class=Location" >locations.xml


I didn't realize you can add these separate thermostats and knobs ... I hoped you could at least make use of some of the same functionality however no I have some data 'll see what the Adam is reporting and what I can do with it.

Keep in mind... I cannot physical test the Adam part as I do not have physical access to one
Last edited by Dr8072 on Friday 15 February 2019 9:40, edited 1 time in total.
ahattink
Posts: 35
Joined: Monday 16 February 2015 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Plugwise Adam

Post by ahattink »

Attached screenshots of the devices from Adam and Anna.

Attached XML's from Adam.
Attachments
locations Adam.xml
(12.67 KiB) Downloaded 130 times
Anna.PNG
Anna.PNG (24.76 KiB) Viewed 9245 times
Adam.PNG
Adam.PNG (19.62 KiB) Viewed 9245 times
Last edited by ahattink on Friday 15 February 2019 11:25, edited 1 time in total.
Pi 3B, latest stable
RFXCOM, Z-wave, Zigate, Hue, Harmony hub, Netatmo Weather station, Opentherm Gateway, EnOcean,P1 SmartMeter, Plugwise Anna & Adam, Xiaomi Roborock, Sonos One, Google Home, Philips Hue, Homey, D-link and Bitron Video camera.
ahattink
Posts: 35
Joined: Monday 16 February 2015 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Plugwise Adam

Post by ahattink »

And the Anna xml:
Attachments
locations Anna.xml
(5.99 KiB) Downloaded 110 times
Pi 3B, latest stable
RFXCOM, Z-wave, Zigate, Hue, Harmony hub, Netatmo Weather station, Opentherm Gateway, EnOcean,P1 SmartMeter, Plugwise Anna & Adam, Xiaomi Roborock, Sonos One, Google Home, Philips Hue, Homey, D-link and Bitron Video camera.
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

Thanks... I do see the various devices, This will require a little more then I first hoped, I need to restructure the way the appliances are handled...
but I have enough for a few tests
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

@ahattink Currently I will get the following info for Tom's & Lisa from the Adam, Is that what you would expect?
Screenshot 2019-02-17 at 20.01.51.jpg
Screenshot 2019-02-17 at 20.01.51.jpg (263.47 KiB) Viewed 9223 times
Ignore the batteries
ahattink
Posts: 35
Joined: Monday 16 February 2015 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Plugwise Adam

Post by ahattink »

@Dr8072 Yes that is exactly what i expected! :D

How can i try?
Pi 3B, latest stable
RFXCOM, Z-wave, Zigate, Hue, Harmony hub, Netatmo Weather station, Opentherm Gateway, EnOcean,P1 SmartMeter, Plugwise Anna & Adam, Xiaomi Roborock, Sonos One, Google Home, Philips Hue, Homey, D-link and Bitron Video camera.
Dr8072
Posts: 25
Joined: Wednesday 14 December 2016 12:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10xxx
Location: THe Netherlands
Contact:

Re: Plugwise Adam

Post by Dr8072 »

@hattink Just Checking, if this was right... I'll need to merge it with the Anna code so you also have info on your CV system.
I hope to push out a first version of that code by the end of the week.
If it will allow you to update depends if you can you provide me with the url used and form data of an update to a Tom and one for the Lisa? so i can actually make sure the set points work

For this you go (I Assume) to the html page of the Adam
http://<username:password>@<ip adress adam:port adam>

Thn start developer moed in Chrome of firefox
(firefox -> Open Menu -> Web Developer -> Toggle Tools>)
(Chrome ->Open Menu -> More Tools-> Developer tools)

In both the browser usually will split in a top pane ( with the webpage on top) Click on the network tab of the developer pane
Update the setpoint of a Tom. you should see a line appear of the type PUT.
Click on that line and you should get information of that url in a pane on the right
I need the full request URL :
(usually something like <http://ip:port/core/locations;id=70556647adb2a4b82818be0e28d172eb4/thermostat;id=66779bda77b3d45f29ea080811f0f83bd

(From firefox ) the XML info from the param tab
(From Chrome) the XML info from the Form data segment at the bottom of the first pane
(Usually something like this <thermostat_functionality><setpoint>21.5</setpoint></thermostat_functionality> )
ahattink
Posts: 35
Joined: Monday 16 February 2015 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Plugwise Adam

Post by ahattink »

Hi Dr8072,

I did as you requested and hope this is the correct information.
I updated the Room Slaapkamer. (can not update individual devices in the Plugwise Web interface.)
This updates the setpoint from Tom Slaap and Lisa Slaap.

In Firefox is see the request URL:
http://192.168.2.57/core/locations;id=4 ... 260b9ca7a4
This forum garbles it a bit, so without the http:
192.168.2.57/core/locations;id=4da6f8d44ac042bd922f1effb352b87c/thermostat;id=ad029a06f1824c91886ee6260b9ca7a4

In parameters:
<thermostat_functionality><setpoint>5.5</setpoint></thermostat_functionality>

As you can see i set the room to 5.5 °C
Pi 3B, latest stable
RFXCOM, Z-wave, Zigate, Hue, Harmony hub, Netatmo Weather station, Opentherm Gateway, EnOcean,P1 SmartMeter, Plugwise Anna & Adam, Xiaomi Roborock, Sonos One, Google Home, Philips Hue, Homey, D-link and Bitron Video camera.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest