bertmelis / esp8266-heating

Sample project for VitoWiFi and TreeLight
MIT License
9 stars 5 forks source link

Initialization problem using P300 config in a Vitotronic 200 #1

Open delinchant opened 5 years ago

delinchant commented 5 years ago

Dear Bert, Thanks a lot for you very powerful application I'm trying to use it with a vitodens 222W which has a Vitotronic 200, type HO2B I am using P300 configuration. Wifi and webpage is OK It starts initialization: Optolink state: 0 Optolink state: 1 : try again every 0,5sec Optolink state: 0 Optolink state: 1: try again every 0,5sec Optolink state: 0 Optolink state: 1 : received 5 after 3 attempts Optolink state: 2 : INIT (send {0x16, 0x00, 0x00}) Optolink state: 3 : waiting for ack, but no available data... so the program reset connection) Optolink state: 0 Optolink state: 1 : the sequence is repeating infinitely !

Do you have any idea ? Kind regards Benoit

bertmelis commented 5 years ago

It could be a hardware problem. What type of optolink are you using? I supposed you build something yourself?

delinchant commented 5 years ago

Yes I do it by myself.But the communication seems good for the first states.It passes the reset ack only when I am putting the optolink on the boiler... -------- Message d'origine --------De : Bert Melis notifications@github.com Date : 26/01/2019 13:12 (GMT+01:00) À : bertmelis/esp8266-heating esp8266-heating@noreply.github.com Cc : Delinchant benoit.delinchant@G2Elab.grenoble-inp.fr, Author author@noreply.github.com Objet : Re: [bertmelis/esp8266-heating] Initialization problem using P300 config in a Vitotronic 200 (#1) It could be a hardware problem. What type of optolink are you using? I supposed you build something yourself?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bertmelis/esp8266-heating","title":"bertmelis/esp8266-heating","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bertmelis/esp8266-heating"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bertmelis in #1: It could be a hardware problem. What type of optolink are you using? I supposed you build something yourself?"}],"action":{"name":"View Issue","url":"https://github.com/bertmelis/esp8266-heating/issues/1#issuecomment-457826395"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bertmelis/esp8266-heating/issues/1#issuecomment-457826395", "url": "https://github.com/bertmelis/esp8266-heating/issues/1#issuecomment-457826395", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

bertmelis commented 5 years ago

Yes, so the receive side works. It is not sure the transmit side works, as there is no response seen by the optolink.

I'm thinking how to test...

bertmelis commented 5 years ago

Maybe switch to the KW protocol, just for testing.

delinchant commented 5 years ago

Kw protocole stop the program at state 1.So I don't think it is the good one. -------- Message d'origine --------De : Bert Melis notifications@github.com Date : 26/01/2019 13:51 (GMT+01:00) À : bertmelis/esp8266-heating esp8266-heating@noreply.github.com Cc : Delinchant benoit.delinchant@G2Elab.grenoble-inp.fr, Author author@noreply.github.com Objet : Re: [bertmelis/esp8266-heating] Initialization problem using P300 config in a Vitotronic 200 (#1) Maybe switch to the KW protocol, just for testing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bertmelis/esp8266-heating","title":"bertmelis/esp8266-heating","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bertmelis/esp8266-heating"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bertmelis in #1: Maybe switch to the KW protocol, just for testing."}],"action":{"name":"View Issue","url":"https://github.com/bertmelis/esp8266-heating/issues/1#issuecomment-457828711"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/bertmelis/esp8266-heating/issues/1#issuecomment-457828711", "url": "https://github.com/bertmelis/esp8266-heating/issues/1#issuecomment-457828711", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

bertmelis commented 5 years ago

That still doesn't rule out a hardware problem. (if your heater can speak P300, it also speaks KW)

What type of LED/phototransistor did you use? Is it properly seeing the Vitotronic LED? Does the Vitotronic sees your LED? Is there any interference? Could be a lot of things...

As it get past state 1, your phototransistor works, but I don't know about your LED and I can't think of a simple way to test...