bertmelis/VitoWiFi

Vito P300 stalls

s0170071 opened this issue · 1 comments

Installation specifics

  • ** Vitocal 300 with Vitotronic WO1B
  • Protocol: P300
  • Board: Wemos D1 mini
  • Hardware: self-made

Symptom

What happens? NACK
When does it happen? after read
What would you expect? cyclic reads
...

Using the KW protocol I get:


⸮��⸮���⸮⸮�⸮�⸮⸮⸮�⸮���⸮�⸮⸮�⸮�⸮⸮�������������⸮��⸮���⸮���⸮⸮�⸮�⸮⸮��⸮rl�d⸮⸮|�⸮l⸮|�⸮l⸮�b|⸮⸮�⸮�⸮{⸮c⸮c⸮⸮gg⸮dnn⸮⸮⸮�c�p⸮⸮l{d{dx⸮g⸮����⸮�d�Ĝcg⸮|�l⸮��⸮c⸮⸮oo⸮�l⸮⸮l`�⸮��oo�$`���gr⸮⸮⸮gc�⸮�l�{⸮⸮o#⸮�d⸮⸮⸮p�⸮⸮⸮�⸮d`�⸮⸮n⸮�Setup finished...
INIT done.
READ outsidetemp
READ 5525
ack
DP outsidetemp succes
boiler - outsidetemp: -0.1
READ outsidetemp
READ 5525
ack
DP outsidetemp succes
boiler - outsidetemp: -0.1
READ outsidetemp
READ 5525
ack
DP outsidetemp succes
boiler - outsidetemp: -0.1
READ outsidetemp

Seems to work apart from the fact that -0.1 is totally wrong, it should be about 5.98 degrees.
If I use protocol 300 I get:

setup finished...
READ outsidetemp
READ 4105000155250282
ack
nack, timeout
READ outsidetemp
READ outsidetemp
READ outsidetemp
...
(after 10 minutes or so...)
READ 4105000155250282
ack
nack, timeout
READ outsidetemp
READ outsidetemp
READ outsidetemp

It reads fine once. There is no activity on the TX pin on consecutive read attempts.
And it is not displaying its interpretation of the received data.

I modified your readDatapoint sketch. I commented out the boilertemp datapoint and addded

 // setup VitoWifi using a global callback handler
  VitoWifi.enableLogger();
  VitoWifi.setLogger(&Serial1);

see #29