john30 / ebusd-configuration

ebusd configuration files
GNU General Public License v3.0
186 stars 297 forks source link

VRC720f cannot set z1ActualRoomTempDesired #234

Open roman1528 opened 3 years ago

roman1528 commented 3 years ago

Hi. I have an issue on setting the z1ActualRoomTempDesired. Any change in any situation (SFmode/OpMode/Hc1RoomTempSwitchOn) doesn't set this value.

z1DayTemp seems not to work for this thermostat because the read is ERR: invalid position in decode. (basv z1DayTemp = ff15b52406020003000700 / 00)

How can I set the desired RoomTemp to manually control the heater? Maybe in z1OpMode = day. Tryed anything...

basv z1ActualRoomTempDesired = ff15b52406020003001400 / 08010314000000cc41

r;w,,z1ActualRoomTempDesired,Raumsolltemperatur Zone 1,,,,1400,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

VRC 720f Room Controller (address 15: slave #2, scanned "MF=Vaillant;ID=BASV0;SW=0217;HW=8803", loaded "vaillant/15.basv.csv") -> 15.700.csv

atmoTEC plus VCW 194/4-5 (address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0518;HW=7401", loaded "vaillant/bai.308523.inc" ([HW=7401]), "vaillant/08.bai.csv")

Thanks so far.

marcoutcho commented 3 years ago

Hi, please read my issue and see if it helps : https://github.com/john30/ebusd-configuration/issues/209 At this time I'm using home assistant and I can modify the desired temperature with it only when I put the VRC720f in manual mode ( which is durating only x hours )

kgeree commented 2 years ago

I have the exact same issue for a wired version of VRC720 (SensoComfort) z?DayTemp values not available. I haven't looked into it deeper yet, but let me know if I can help anything debugging / solving it.

paddenstoeltje commented 2 years ago

Actually I have the same problem: I'm unable to write the z1ActualRoomTempDesired and z1DayTemp is unable to be read ERR: invalid position for 3115b52406020003000700 / 00).

Using: vaillant/15.basv.csv for ID "basv0", SW0217, HW8803 -> 15.700.csv

I tried already a lot of stuff to get it working, so far without succes. Any help would be appreciated.

paddenstoeltje commented 2 years ago

Actually after first writing a value in z1ActualRoomTempDesired/set; I'm able to read and write the value. However, it seems the z1DayTemp is never used in any mode? I would expect to see it copied to z1ActualRoomTempDesired whenever the mode is in day.

Any help / suggestions would be appriciated.

peterpickle commented 2 years ago

Hi,

I'm no expert on this, but I have a VCR 700/6 and I only write to "z1DayTemp" and "z1NightTemp". The value "z1ActualRoomTempDesired" is then changed automatically depending on "z1Timer" and "OpMode". If the OpMode is set to Auto, it will use the z1Timer values to select the z1DayTemp or z1NightTemp as z1ActualRoomTempDesired. So I think it is correct that "z1ActualRoomTempDesired" should not be written directly. It will change automatically after changing "z1DayTemp"/"z1NightTemp". It does take a minute or two to change sometimes.

paddenstoeltje commented 2 years ago

Thanks, however the z1DayTemp is never loaded in the z1ActualRoomTempDesired; even when the z1OpMode is in 'day'. The same is true for the night mode and z1NightTemp.

Bottom line, I'm still missing some tags to control the temperature in auto /night /day mode. The only way to control it is to put it in veto mode and change the z1QuickVetoTemp.

I cannot image other people having the same problem. Is the VRC720f that new?

daclerk commented 2 years ago

Actually after first writing a value in z1ActualRoomTempDesired/set; I'm able to read and write the value. However, it seems the z1DayTemp is never used in any mode? I would expect to see it copied to z1ActualRoomTempDesired whenever the mode is in day.

Hey paddenstoeltje, so you managed to write z1ActualRoomTempDesired of the VRC720f? I am still not able to write this value such that it is actually accepted by my 720. While I can update other values (e.g. z1NightTemp), I did not manage to update the z1ActualRoomTempDesired value. Do you have any further hints? Thanks!

paddenstoeltje commented 2 years ago

No, I'm not able to write the z1ActualRoomTempDesired tag. I'm able to write the z1NightTemp and the z1DayTemp though. However, none of these are copied in the z1ActualRoomTemp. So it seems a bit useless...

For the moment I use 3 modes; auto / veto / off. These can be set in OpMode in combination with SFMode.

It is not ideal, but at least I have some degree of freedom to play with.

daclerk commented 1 year ago

Ok, I think I have a solution. The csv file for the VRC720 has to be adapted. In particular the line

r;w,,z1ActualRoomTempDesired,room temperature desired zone 1,,,,1400,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

has to be replaced by

r;w,,z1ActualRoomTempDesired,room temperature desired zone 1,,,,2200,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

(so the "1400" has to be replaced by "2200").

For my cabled VRC720 this works (and I hope also for the wireless VRC720f). At least the value is updated on the display of the VRC720 if I change it via ebusd.

Since the csv file is stored on the github server (and is a link to the csv file of the VRC700), the quick solution is

  1. copying the csv files from the github server to a local directory (apparently also some of the other .csv files and .inc files from the directory are necessary)
  2. renaming the file 15.700.csv to 15.720.csv and adapting the line mentioned above (change 1400 to 2200)
  3. starting ebusd with the --configpath option set to this local directory

If somebody could confirm that this solution is working for the VRC720, we could ask @john30 to adapt the online version of the file 15.720.csv such that all future users do not have to bother with this problem.

Z-pi commented 1 year ago

Ok, I think I have a solution. The csv file for the VRC720 has to be adapted. In particular the line

r;w,,z1ActualRoomTempDesired,room temperature desired zone 1,,,,1400,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

has to be replaced by

r;w,,z1ActualRoomTempDesired,room temperature desired zone 1,,,,2200,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

(so the "1400" has to be replaced by "2200").

For my cabled VRC720 this works (and I hope also for the wireless VRC720f). At least the value is updated on the display of the VRC720 if I change it via ebusd.

Since the csv file is stored on the github server (and is a link to the csv file of the VRC700), the quick solution is

  1. copying the csv files from the github server to a local directory (apparently also some of the other .csv files and .inc files from the directory are necessary)
  2. renaming the file 15.700.csv to 15.720.csv and adapting the line mentioned above (change 1400 to 2200)
  3. starting ebusd with the --configpath option set to this local directory

If somebody could confirm that this solution is working for the VRC720, we could ask @john30 to adapt the online version of the file 15.720.csv such that all future users do not have to bother with this problem.

Thank you! 🎉 I changed my csv file with your instruction and this works for my wired VRC720.

paddenstoeltje commented 1 year ago

Tried to test it but I always get the following error when trying to use my own config iso the github seerver:

[main error] error reading scan config file vaillant/15.basv.csv for ID "basv0", SW0217, HW8803: ERR: end of input reached, vaillant/15.basv.csv:1: ERR: end of input reached, missing message type/name/pbsb

Actually quite strange, as the local files are just a copy of https://github.com/john30/ebusd-configuration/

daclerk commented 1 year ago

[main error] error reading scan config file vaillant/15.basv.csv for ID "basv0", SW0217, HW8803: ERR: end of input reached, vaillant/15.basv.csv:1: ERR: end of input reached, missing message type/name/pbsb

Actually quite strange, as the local files are just a copy of https://github.com/john30/ebusd-configuration/

Ok, so maybe the csv file for the MRC720f should not be named 15.720.csv as for the wired version but 15.basv.csv.

Concerning the error message: Did you make sure that the local csv files have the right contents after copying them (e.g. by opening the local copies)? I got in the beginning a similar error because the csv files just had GitHub html content (I used the wget command for downloading, but apparently for getting the files with the real csv content I had to use a slightly different URL (maybe this is logic for someone that is used to work with GitHub, but for me as newbie to Github I didn’t know).

paddenstoeltje commented 1 year ago

Concerning the error message: Did you make sure that the local csv files have the right contents after copying them (e.g. by opening the local copies)? I got in the beginning a similar error because the csv files just had GitHub html content (I used the wget command for downloading, but apparently for getting the files with the real csv content I had to use a slightly different URL (maybe this is logic for someone that is used to work with GitHub, but for me as newbie to Github I didn’t know).

I did a git clone, so the files should be a 1on1. I checked with vi, contents is ok.

Ok, so maybe the csv file for the MRC720f should not be named 15.720.csv as for the wired version but 15.basv.csv.

Actually I tried changing manually 15.700.csv / 15.720.csv / 15.basv.csv without any luck. I kept getting the error. Even when nothing was modified and I just use a clone of Johns Repo I get the error. So the problem is somwerhere in my configuration. Will have a look later on.

paddenstoeltje commented 1 year ago

Gave it another shot. Now it works, no clue what went wrong last time :).

I can confirm I'm able to write the z1actualRoomTempDesired when making the changes as discussed above. So the change is not only valid for the VRC720 but also for the VRC720f. It works beautifully! How did you found out it had to be 2200?

@daclerk do you make a pull request?

daclerk commented 1 year ago

Perfect :-)! To figure out the 2200, I used a Vaillant VR900 and watched the ebus traffic (via the ebusctl grab command) while doing changes to the desired room temperature in the SensoAPP. After this experience with the VR900 and SensoAPP, I am quite happy to have ebusd :-). Apart from the fact that only a few parameters are visible in this App, it is running quite unstable, lots of restarts of the VR900 were necessary and during a few hours the Vaillant-Server was not reachable. Luckily I bought the VR900 second hand for a good price…

Concerning the pull request: Maybe someone else could do it who knows how this works. I would first have to figure out how to do a pull request and for this I probably don’t have time during the next days.

paddenstoeltje commented 1 year ago

The only problem that I've got so far is that the z1ActualRoomTempDesired is not updated anymore when the SFMode is in 'auto' (thus the VRC720f just uses the sheduled temperatures). It remains on the last set value I've done in OPMode 'day'. I would expect the z1ActualRoomTempDesired to follow the setpoint in all modes as indicated on the VRC720f. This way I can always display on my graph the requested temperature. This was the case when the value of z1ActualRoomTempDesired in the config was 1400.

So for the moment I solved it by just using 2 lines in the config for the z1ActualRoomTemp, one with the 1400 (I expect this to be the adress?) which tracks the actual SP regardless of OPMode, and one with 2200, which can be used to set the setpoint in OPMode 'day'.

r;w,,z1ActualRoomTempDesiredWrite,room temperature desired zone 1,,,,2200,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms
r;w,,z1ActualRoomTempDesiredRead,room temperature desired zone 1,,,,1400,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

Anyone else seeing the above behaviour?

RotorMotor42 commented 1 year ago

I think 2200 is for setting and getting the day temperature and 1400 is only for reading in the actual/resulting desired temperature.

This works quiet fine for me:

r,,z1ActualRoomTempDesired,Raumsolltemperatur Zone 1,,,,1400,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

r;w,,z1DayTemp,Solltemperatur Zone 1,,,,2200,,,tempv,,,day setpoint for zone 1

Desmoyo commented 1 year ago

r;w,,z1DayTemp,Solltemperatur Zone 1,,,,2200,,,tempv,,,day setpoint for zone 1

you add that to csv 15.700.csv ?

chrispi68 commented 1 year ago

"z1ActualRoomTempDesiredWrite" is working for me on zone 2. I also added "z2ActualRoomTempDesiredWrite" for zone 2, but this seems not to work. Any ideas?

mwrben commented 1 year ago

Thank you to paddenstoeltje and others - I have exactly duplicated the steps that he took to get manual control of z1ActualRoomTempDesiredWrite and it works. Coming from Windows, this is my first time with linux and it has been a very steep learning curve. But I've now got key info coming through and I can usefully write as well.

mainmind83 commented 4 months ago

Ok, I think I have a solution. The csv file for the VRC720 has to be adapted. In particular the line

r;w,,z1ActualRoomTempDesired,room temperature desired zone 1,,,,1400,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

has to be replaced by

r;w,,z1ActualRoomTempDesired,room temperature desired zone 1,,,,2200,,,tempv,,,current room setpoint considering all basic conditions passed to the control algorithms

(so the "1400" has to be replaced by "2200").

For my cabled VRC720 this works (and I hope also for the wireless VRC720f). At least the value is updated on the display of the VRC720 if I change it via ebusd.

Since the csv file is stored on the github server (and is a link to the csv file of the VRC700), the quick solution is

  1. copying the csv files from the github server to a local directory (apparently also some of the other .csv files and .inc files from the directory are necessary)
  2. renaming the file 15.700.csv to 15.720.csv and adapting the line mentioned above (change 1400 to 2200)
  3. starting ebusd with the --configpath option set to this local directory

If somebody could confirm that this solution is working for the VRC720, we could ask @john30 to adapt the online version of the file 15.720.csv such that all future users do not have to bother with this problem.

You can not duplicate ID 2200:

2024-07-15 01:07:46.111 [main error] error reading scan config file vaillant/15.ctlv2.csv for ID "ctlv2", SW0514, HW1104: ERR: duplicate entry, vaillant/15.ctlv2.csv:168: ERR: duplicate entry, duplicate ID

r;w,,z1DayTemp,Solltemperatur Zone 1,,,,2200,,,tempv,,,day setpoint for zone 1