ioBroker / AdapterRequests

This Place is used to track the status of new Adapter-Requests.
249 stars 36 forks source link

Adapter for Heatpumps - Start with IDM #382

Open ikkerus opened 4 years ago

ikkerus commented 4 years ago

Hey guys,

you're doing a great job. I like to help you with some stuff here on GitHub, but first filing my second AdapterRequest:

This summer, we will get a Heatpump, probably IDM. I like to visualize it with iobroker.

Here is an example how someone did it with Home-Assistant and Lovelace: https://beyer-tom.de/blog/2018/10/home-assistant-integration-heatpump-idm-terra-ml-complete-hgl/

Is there a possibility for that? What else do you need?

DutchmanNL commented 4 years ago

Hi @ikkerus

Yes basically even on a very simple way as I see the code. Its just using an web-API providing the Data in JSON format so its quite easy to port this

ikkerus commented 4 years ago

Hi @DutchmanNL

Thanks for your quick look onto this. So, you would need some users who have the hardware to test it. As far as I know in the iobroker-board (forum.iobroker.net) there are some users who have a heatpump and/or one from the Austrian manufacturer IDM.

From my standpoint, I would be able to join a test of the heatpump adapter starting around Mid-End Summer, because we're currently in the process of installing the heatpump.

And to clarify my request: I would suggest to prepare the Adapter not only for IDM. The data layout (e.g. power consumption) will be nearly the same over all manufacturers. Also there can be general functions and the user only has to switch the manufacturer to gather the data.

I'm an IT-Specialist, I support, read code a bit, can test software as a professional, but unfortunately I'm not a developer.

DutchmanNL commented 4 years ago

sorry, wait I have to break you down :) Not every HeatPump can be integrated by the same logic, the link you provided is for IDM only as it uses the IDM API.

For Heliotherm as example I developed an adapter which has an 1:1 serial connection (no TCP or API available)

so letzt please focus, this request and the example is for IDM only but can be build easily. In addition I could do it but also have a lot. other items on my plate and not using an IDM heat pomp by myself ;)

Example code of API call

idmHost = "https://www.myidm.at"
pathLogin = "/api/user/login"
pathInstallations = "/api/installation/values"
headers = {'User-Agent': 'IDM App (Android)'}

So as you see, its an IDM API URL

ikkerus commented 4 years ago

Not every HeatPump can be integrated by the same logic, the link you provided is for IDM only as it uses the IDM API.

Thats understood. But isn't it better to maintain one HeatPump Adapter with different logics, which can also handle serial connections, serial to moxa-boxes, and direct APIs via TCP/IP?

As I understand you now, the architecture of ioBroker is maintained in a better way, if you create one Adapter per Manufacturer, but in this e.g. the Adapter could handle multiple heatpump models from IDM. I will note that for further requests and tests.

From your example: So, the Adapter wouldn't request the HeatPump itself in your internal network, it would call the IDM Portal at myidm.at and gather the data.

Maybe you can forward my request to someone else, please?

DutchmanNL commented 4 years ago

As mentioned it all depends on logic So in this example yes it makes sense to build one Adapter for all IDM devices as the APi and controls are the same.

But trust me, there will be no other vendor producing the same with equal logic.

Small example :

Looking from that perspective, an adapter kombining allogics of all heat pumps is much to much complex by hey that’s the reason for iobroker !

Adapter by technologie, all centralized into 1 object databases and from their logic like scripting en visualization) for everything that can talk with iobroker.

That’s the basic concept of all

Back to the example, I don’t know IDM and the only research example I have is your link. Here the plugin calls the API so nothing locally that’s how I read the code.

Could IDM be read locally, I don’t know research needed 🤷‍♂️

Rubeast commented 3 years ago

I just found this topic when searching to include my IDM heatpump in ioBroker. Do you think it is possible? IDM is only able to be read externally. Locally is not possible. I'm pretty new to all this. So if you could point me in the right direction that would be appreciated.

DutchmanNL commented 3 years ago

I'm pretty new to all this. So if you could point me in the right direction that would be appreciated.

if you have any information how we could get the data it would be a great starting point

Rubeast commented 3 years ago

Oh I was under the impression that the example here contained all the info needed. https://beyer-tom.de/blog/2018/10/home-assistant-integration-heatpump-idm-terra-ml-complete-hgl/

I think you just need a username and password. If you want we can do some testing together.

DutchmanNL commented 3 years ago

Oh I was under the impression that the example here contained all the info needed. https://beyer-tom.de/blog/2018/10/home-assistant-integration-heatpump-idm-terra-ml-complete-hgl/

I think you just need a username and password. If you want we can do some testing together.

hmm.... looks quite similar to my Discovery and Tado code ... just finalizing to other adapters happy to have a look and making a basic

Rubeast commented 3 years ago

hmm.... looks quite similar to my Discovery and Tado code ... just finalizing to other adapters happy to have a look and making a basic

Awesome! Let me know if you need help to test something!

DutchmanNL commented 3 years ago

Awesome! Let me know if you need help to test something!

Eh Yeah I would need everything as I don’t have the system so I assume there is an api logon ?

Rubeast commented 3 years ago

Ok. I don't see a private message option here, so let me know how I can contact you in private.

DutchmanNL commented 3 years ago

Ok. I don't see a private message option here, so let me know how I can contact you in private.

Easiest way would be by ioBroker-Discord (same nickname without NL)

https://discord.gg/HwUCwsH

lonestar2001 commented 3 years ago

Hi, i am also Interested in an IDM Adapter. I have an IDM Terra 1.7. Looking forward to seeing an Adapter in the Future. Please let me know if I can do some testing

lonestar2001 commented 2 years ago

Ok. I don't see a private message option here, so let me know how I can contact you in private.

Hi,any update on that issue? I would really like to help with some testing.

lonestar2001 commented 2 years ago

Hi everyone, I did a basic implementation. https://github.com/lonestar2001/ioBroker.idm

zloe commented 1 year ago

Hi all, in case someone has an old IDM heatpump with a "multitalent.002" control, there is an adapter for some software versions: https://github.com/zloe/ioBroker.idm-multitalent_002 Its working stable since April 2022 for EPROM labeled TERRA050701 and TERRA061001.