Skip to content

Solved: Vitocal300 WO1B does not start with VitoWifi attached #86

Description

@s0170071

I attached VitoWifi to the Wo1B control unit. Works great!

One thing that has been annoying though is that I always needed to power up the heater first. Dangerous low WAF after mains power glitches.

Seems like the heater goes into some boot mode when it detects communication right after power up.
I looked into it and here is a nice description of the protocol.

So basically all the ESP needs to do after power up is wait for the 0x5 character to arrive before it fires up vitowifi.
I put this code into my setup()

  unsigned int timeout=millis();
  Serial.begin(4800); 
  while (Serial.available()) { Serial.read();  } // remove whatever is in the queue.
  while (millis()< timeout +20000){          // 20 second timeout.
     delay(1000);   // wait a second
     if (Serial.available() > 0) {  // has a byte arrived ?
      if (  Serial.read() == 0x05)   break;  // skip the rest of the while loop if it is 0x05
    } 
  }

Home this helps someone.
@bertmelis: nothing to do for you here ;-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    won't fixSome things we just can't or don't want to fix.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions