bertmelis / VitoWiFi

Communicate with Viessmann boilers using the optolink for ESP8266 and ESP32
MIT License
118 stars 39 forks source link

Implement GWG protocol #62

Closed Arty68 closed 10 months ago

Arty68 commented 4 years ago

Hello I have a vitodens 100 wb1. I have the "Bauanleitung-ESP8266" + esp-link and vitocontold (I also tried with python script which are also working for low level read). I just began research for the adresses. I had some results with this : https://github.com/openv/openv/issues/442 I am very interrested about your work. Would be nice to use vitowifi for GWG protocol also

PS : I have already forked your project here : https://github.com/Arty68/VitoWiFi/tree/master/src and tried to add GWG Support but I could use some help to check if everything is ok :)

bertmelis commented 4 years ago

I don't own a Viessmann heating anymore (at least temporary). I can help but I can't test obviously.

Your code is in your repo?

Arty68 commented 4 years ago

Hi Bertmelis Thank you for answering so quickly ! First of all Happy New Year :) Yes I have put it here for the moment. (I don't want to merge something I haven't tested yet) But it's not finished in the transmit function we need to add another variable Function for the operation Function : (VIRTUAL READ , VIRTUAL Write ...etc) And also don't know if the Sync 01 will work but I will try it's interresting You can have a look when you have time. image

Here is also my getDevType

Arty68 commented 4 years ago

Hello

I have continued the GWG implementing but still not have tested it.

https://github.com/bertmelis/VitoWiFi/compare/master...Arty68:master

bertmelis commented 4 years ago

Sorry to keep you waiting. I'll have a look in the next few days.

Now, I see you have it implemented using the master branch. My idea would be to -as soon as it is working- move it over to the V2 branch. I'm happy to do this for you.

Arty68 commented 4 years ago

No Problem. I will try to test it once I get a little free time. Thank you to take time to review it.

Arty68 commented 4 years ago

Hello

I have continued the GWG implementing and have tested it a little with the GWG example in example directory. It's compiling yet but I need to test it more. I also had to change some function for KW and P300

bertmelis commented 4 years ago

I'm still alive :smile: I'll take a look. It's OK for you to test it against the V2 branch? I'd like to move away from the current master branch. V2 should be easier to deal with.

I can also make an example for you. What do you want to do with the obtained data? Display on webserver? Send via MQTT?

Arty68 commented 4 years ago

Thanks for the answer. I will try to use the v2 branche. I am not a C++ expert but I will try. Glad that you are still alive :) . Take care. I am from France by the way. Alsace to be more precise.

alfredolo72 commented 10 months ago

hello, any news on gwg protocol ?

bertmelis commented 10 months ago

first version (untested!) added in v3-development

alfredolo72 commented 10 months ago

i will be happy to test it. I have a Vitodens 200. Right now cannot compile it for esp32, i try to fix errors

bertmelis commented 10 months ago

Out of curiosity, doesn't your Vitodens 200 speak VS2?

I have a Vitodens 200 myself and I connect using the VS2 protocol.

alfredolo72 commented 10 months ago

Thank you for reply. Right now i am tryng to compile it and i am getting errors on esp32. My vitodens 200 (not the W version) is from year 2016 i dont know what protocol it use, i will test all protocol as soon as i can compile it.

bertmelis commented 10 months ago

Ours is older and is able to use the VS2 protocol. I suggest you also use this.

bertmelis commented 10 months ago

Closing, GWG is implemented in v3. It's untested though. Create a new issue when problems arise.