denpamusic / homeassistant-plum-ecomax

Plum ecoMAX boiler controller integration for Home Assistant.
MIT License
32 stars 8 forks source link

Integration with ecoSol #27

Open GoganGogan opened 1 year ago

GoganGogan commented 1 year ago

Is there an existing issue for this?

I want to suggest:

Feature description

Integration of EcoSOL controller

Webpage of the product, that I'm suggesting:

https://www.plum.pl/en/project/ecosol301_en/

My diagnostics data:

No response

Code of Conduct

denpamusic commented 1 year ago

Hi,

Thanks for your suggestion!

To implement support for this device, I'll need a firmware update for ecoNET300, that is designed to work with ecoSOL. If you have one or know where I can get one, please contact me at denpa@denpa.pro, then I'll be able to start reverse-engineering the protocol.

GoganGogan commented 1 year ago

Hi

Thank you for you interest.

Unfortunately I do not have one. I've tried with a TP-Link MR3020 with EcoNet firmware from elektroda.pl, as I'm sure you're aware, but does not communicate with the EcoSOL.

If I can get it I'll let you know!


De: Denis Paavilainen @.> Enviado: 20 de abril de 2023 14:48 Para: denpamusic/homeassistant-plum-ecomax @.> Cc: GoganGogan @.>; Author @.> Assunto: Re: [denpamusic/homeassistant-plum-ecomax] Integration with ecoSol (Issue #27)

Hi,

Thanks for your suggestion!

To implement support for this device, I'll need a firmware update for ecoNET300, that is designed to work with ecoSOL. If you have one or know where I can get one, please contact me at @.?subject=ecoSOL%20support> @*.**@*.***>, then I'll be able to start reverse-engineering the protocol.

— Reply to this email directly, view it on GitHubhttps://github.com/denpamusic/homeassistant-plum-ecomax/issues/27#issuecomment-1516464974, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASYGBNOJYROLSDN5FH3PHWLXCFED5ANCNFSM6AAAAAAXEWRFJE. You are receiving this because you authored the thread.Message ID: @.***>

denpamusic commented 1 year ago

You're welcome. Sorry I couldn't help more.

I am well aware of ecoNET topic on elektroda forum. The research, done by the members there, was invaluable for the PyPlumIO development in it's early stages.

I'll try to look for the firmware myself over the weekend, if not I'll try look into buying the device locally. ecoSOL seems like pretty interesting device, and I'm nearly reached the end of the roadmap for the features that I wanted to implement for ecoMAX anyway.

GoganGogan commented 1 year ago

Hello, I cant send you email with firmware. 554 5.7.1 Forbidden attachment extension

Please do: aleo10gbu@outlook.com

denpamusic commented 1 year ago

Hello, I cant send you email with firmware. 554 5.7.1 Forbidden attachment extension

@Taziff Hi, sorry, my mail filter might be a little bit too paranoid. Please try sending at denpa.pro@gmail.com. Thank you!

Maystero14 commented 1 year ago

Hi, I want ask, that any progress in the issue? I have EcoSol and I want do integration with HA

denpamusic commented 1 year ago

Hi, sorry no progress sadly. Never received an ecoNET firmware file for ecoSOLs.

Maystero14 commented 1 year ago

How I can help?

denpamusic commented 1 year ago

Hi, sorry no progress sadly. Never received an ecoNET firmware file for ecoSOLs.

did you check your email denpa.pro@gmail.com?

It has a redirect configured, but I rechecked manually just now - nothing. Could you please try sending to that email again.

Maystero14 commented 1 year ago

send

GoganGogan commented 1 year ago

I sent link to google drive

Can you please send it to aleo10gbu@outlook.com? I'm trying to make my TPlink to work

denpamusic commented 1 year ago

OK.

Preliminary findings after looking at it for a minute:

ecoSOL (ES) uses totally different protocol from ecoMAX (EM), although frame structure is somewhat similar.

The protocol is called GazModem3. Some limited information available here: https://www.linkedin.com/pulse/gaswater-communication-protocol-gazmodem-world-giovanny-zepeda

Header size is 6 bytes in length, like in EM, but the structured differently. All shorts are little-endian.

Example of a frame (request to get an ES address): 0x68 0x0500 0xFFFF 0x8300 0x00 0xA10A 0x16

All in all, while this seems to be somewhat of a simpler protocol to EM, I still think it's best to develop separate library for it, before trying to cram it all into PyPlumIO.

I'll try to get to it ASAP, but since I don't have en ES device, initial progress will be slow and will require community effort for testing.

GoganGogan commented 1 year ago

OK.

Preliminary findings after looking at it for a minute:

ecoSOL (ES) uses totally different protocol from ecoMAX (EM), although frame structure is somewhat similar.

The protocol is called GazModem3. Some limited information available here: https://www.linkedin.com/pulse/gaswater-communication-protocol-gazmodem-world-giovanny-zepeda

Header size is 6 bytes in length, like in EM, but the structured differently. All shorts are little-endian.

  • Frame start delimiter: 0x68
  • Header:

    • [unsigned short] Frame length (Unlike the EM, this doesn't include 6 bytes of header)
    • [unsigned short] Recipient address (addresses are ushort instead of single byte in EM) 0xFFFF is broadcast
    • [unsigned short] Sender address. ecoNET uses 131 (0x8300)
  • Body:

    • [byte] Frame type.
    • [byte] (optional) frame data
    • [unsigned short] Frame CRC.
  • Frame end delimiter: 0x16

Example of a frame (request to get an ES address): 0x68 0x0500 0xFFFF 0x8300 0x00 0xA10A 0x16

All in all, while this seems to be somewhat of a simpler protocol to EM, I still think it's best to develop separate library for it, before trying to cram it all into PyPlumIO.

I'll try to get to it ASAP, but since I don't have en ES device, initial progress will be slow and will require community effort for testing.

I've managed to get a working ES. Please let me know if I can be of any help

denpamusic commented 1 year ago

I've managed to get a working ES. Please let me know if I can be of any help

Thank you for your kind offer! I'll contact you once there's something to test, this will probably be closer to the first release of PyPlumIO v0.5.* branch.

GoganGogan commented 1 year ago

@denpamusic

Was able to pull data to HA using:

https://github.com/pblxptr/ecoNET-300-Home-Assistant-Integration/issues/21