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 ;-)
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()
Home this helps someone.
@bertmelis: nothing to do for you here ;-)