Forfatter Emne: API til adurocloud / Aduro Hybrid  (Læst 22155 gange)

0 Medlemmer og 1 Gæst læser dette emne.

Offline greatdane

  • Begynder
  • *
  • Indlæg: 8
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #15 Dato: Sep 12, 2020, 10:03 »
@darboo - could you explain what you did to make this work ? - potentially show config/install files ?
Dansk er også OK ;-)

Offline greatdane

  • Begynder
  • *
  • Indlæg: 8
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #16 Dato: Nov 09, 2020, 09:21 »
So, I gave up getting pellmon working with my Aduro Hybrid H2 oven - and went for implementing monitoring and controls in OpenHab with the NBEtest tool as an API.
You can read more here: https://community.openhab.org/t/aduro-h2-h1-pellet-oven-implementation-with-openhab-using-nbetest-tool/107949

Perhaps this can solve something for someone.

If anyone has ideas to get a more "realtime" interface up to the Aduro H1/H2 - I am all ears; the implementation I have provided with OpenHab is obviously not ideal, but it works for now (for me).

Offline darboo

  • Begynder
  • *
  • Indlæg: 4
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #17 Dato: Nov 24, 2020, 08:51 »
Hello,

I have develop the plugin for the eedomus box in php and I communicate directly with the Aduro. There is some mistake I must correct but it can help you to understand the protocol with the Aduro.
The php script is here : https://github.com/darboo44/eedomus-Aduro

Offline Bert Haverkamp

  • Begynder
  • *
  • Indlæg: 3
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #18 Dato: Dec 26, 2020, 10:37 »
Hello all,

Merry Christmas everybody from the Netherlands!
This Christmas break I started playing with my home automation.
My Aduro H1 is one of the things I would like to access directly, instead of via a fuzzy cloud.
(The other is my Solaredge inverters, but I think I have a way to do that now)
So I am very happy to see that you found a way to connect directly to the H1/H2.
Myself, I am using Domoticz for my home automation, so I have to find a way to translate this into a plugin for that platform.

Thanks all,

Offline RomkeNL

  • Begynder
  • *
  • Indlæg: 1
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #19 Dato: Feb 11, 2021, 07:53 »
Good to read that more people like to control the Aduro!  O0

@Bert Haverkamp
Are you a little further? (Im also from the Netherlands)
I also have the solar edge inverters, which you can read well with Home Assistant.

@darboo
I downloaded your code from github and am trying to convert it to a loose script. (I don't have an eedomus box)

I only get stuck at the value of a variable, do you have a tip for me?
see: https://github.com/darboo44/eedomus-Aduro/issues/1

Thanks!

Offline Bert Haverkamp

  • Begynder
  • *
  • Indlæg: 3
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #20 Dato: Maj 12, 2021, 14:06 »
Hi Romke,

Yes, the Solaredge reporting is solved by enabling Modbus over TCP. I can now read them directly in Domoticz and make nice graphs in Dashticz

On the H1 side, I was just browsing through the links I had saved last december to see if anything had happened since then.

Good to hear you started on a stand-alone script! And I will make some time the coming weeks to look into it and your variable issue!.
I'm not a programmer myself, so bare with me!

Where in the Netherlands are you situated? I'm living in Stein, Limburg


Bert

Offline Bert Haverkamp

  • Begynder
  • *
  • Indlæg: 3
  • Respekt optjent: +0/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #21 Dato: Dec 18, 2022, 18:27 »
Hello Motoz, Darboo,

I am reviving this old thread, I hope you are still around.
I am trying to implement a Domoticz plugin to control  my Aduro H1 stove based on pyduro, a library to control the stove.
But I am missing the info on how to change the Heat level ( there are three heat levels in the Aduro app.)
I also would like to figure out how to set the stove to "wanted room temperature" (as it is called in the Aduro app)
By dumping the settings before and after changing the mode via the app, I wasn't able to figure this out.
Wireshark traces show that the requests that are sent to the stove are encrypted via XTEA.
I looked in the code of Darboo to see how the encryption works, but sofar I am not able to reuse this to decrypt the requests
(what is the key, and what is the IV used for encryption? in my aduro stove it only shows xtea_key = "0").

Any info and help is appreciated!

Bert

Offline motoz

  • Top of the pop
  • *****
  • Indlæg: 255
  • Respekt optjent: +18/-0
Sv: API til adurocloud / Aduro Hybrid
« Svar #22 Dato: Dec 29, 2022, 16:44 »
Assuming the Aduro works somewhat like a V7 NBE pellet burner, it goes like this: read frames are plain text, writes must be encrypted. The xtea encryption is optional, you set the xtea_key yourself with an rsa encrypted frame using the controllers public key (which is very slow in the v7 controller), then you can write data using the much faster xtea crypto. I never implemented that part in the 'nbetest' script, but pellmon uses it. See e.g. here https://github.com/motoz/PellMon/blob/3e2511ada9e2cd5715c5c9ad67f45a41ef8d82f3/src/Pellmonsrv/plugins/nbecom/nbeprotocol/frames.py#L79 . The public key is read from the controller (misc.rsa_key). IV is set here (I think, hardly remember anything of this any more) https://github.com/motoz/PellMon/blob/3e2511ada9e2cd5715c5c9ad67f45a41ef8d82f3/src/Pellmonsrv/plugins/nbecom/nbeprotocol/protocol.py#L113 .  You can do all writes using rsa encryption to avoid having to set up an xtea key, only downside is that it is slow.
Bio Comfort 30kW, compressor cleaning, lambda. Termax 25cr boiler. Matene vertical pellet conveyor. PellMon open source pellet logger: https://github.com/motoz/PellMon