Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcontrold.xml do not work #78

Open
Kasper027 opened this issue Jan 22, 2025 · 6 comments
Open

vcontrold.xml do not work #78

Kasper027 opened this issue Jan 22, 2025 · 6 comments

Comments

@Kasper027
Copy link

Hello everyone. First of all, great project.
I have problems with the vcontrold.xml. I just can't get it to work. Unfortunately I have to adjust a few things here. Otherwise the whole thing won't work for me. I have a heat pump and would like to adjust the whole thing with the operating status, for example.

Everything works great with the vito.xml. I would also have to adjust something, but I can't test that until I can adjust the vcontrold.

The following log appears:

s6-rc: info: service legacy-services successfully started
[19:54:45] INFO: vcontrol_host not set in configuration. Defaulting to 'localhost'.
[19:54:45] INFO: vcontrol_port not set in configuration. Defaulting to '3002'.
[19:54:45] INFO: vcontrold will be set to host: localhost and port: 3002
[19:54:45] INFO: Using custom vito.xml file.
[19:54:45] INFO: Using custom vcontrold.xml file.
[19:54:45] INFO: Configuring command 1: getTempA with type FLOAT
[19:54:45] INFO: Configuring command 2: getTempWWist with type FLOAT
[19:54:45] INFO: Configuring command 3: getTempWWsoll with type FLOAT
[19:54:45] INFO: Configuring command 4: getTempVorlauf with type FLOAT
[19:54:45] INFO: Configuring command 5: getTempRuecklauf with type FLOAT
[19:54:45] INFO: Configuring command 6: getTempPuffer with type FLOAT
[19:54:45] INFO: Configuring command 7: getTempVLsollM2 with type FLOAT
[19:54:45] INFO: Configuring command 8: getTempVListM2 with type FLOAT
[19:54:45] INFO: Configuring command 9: getTempVorlaufPrim with type FLOAT
[19:54:45] INFO: Configuring command 10: getProzSekPump with type FLOAT
[19:54:45] INFO: Configuring command 11: getProzPriPump with type FLOAT
[19:54:45] INFO: Configuring command 12: getProzVerd with type FLOAT
[19:54:45] INFO: Configuring command 13: getBetriebArt with type FLOAT
[19:54:45] INFO: Configuring command 14: getStatusEVU with type FLOAT
[19:54:45] INFO: Configuring command 15: getProzEEV with type FLOAT
[19:54:45] INFO: Configuring command 16: getTempHeisgas with type FLOAT
[19:54:45] INFO: Using internal MQTT Host: core-mosquitto:1883
[19:54:45] INFO: Starting local vcontrold...
[19:54:45] INFO: Using custom vcontrold.xml.
/config/vcontrold/vcontrold.xml:443: element include: XInclude error : failed build URL
Error loading /config/vcontrold/vcontrold.xml, terminating
[19:54:45] WARNING: Halting add-on due to vcontrold failure with exit code 1
s6-rc: info: service legacy-services: stopping
[19:54:46] INFO: vclient_sub service completed successfully. Restarting service.
[19:54:46] INFO: Restarting vlclient_pub service after normal closure
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Who can help me here? Does it work for anyone? Can someone maybe provide me with their Vcontrold.xml?

@Vinshi01
Copy link

same error here

s6-rc: info: service legacy-services successfully started
[18:49:03] INFO: vcontrol_host not set in configuration. Defaulting to 'localhost'.
[18:49:03] INFO: vcontrol_port not set in configuration. Defaulting to '3002'.
[18:49:03] INFO: vcontrold will be set to host: localhost and port: 3002
[18:49:04] INFO: Using custom vito.xml file.
[18:49:04] INFO: Using custom vcontrold.xml file.
[18:49:04] INFO: Configuring command 1: getTempA with type FLOAT
[18:49:04] INFO: Configuring command 2: getTempWWist with type FLOAT
[18:49:04] INFO: Configuring command 3: getTempWWsoll with type FLOAT
[18:49:04] INFO: Configuring command 4: getTempKist with type FLOAT
[18:49:04] INFO: Configuring command 5: getTempKsoll with type FLOAT
[18:49:04] INFO: Configuring command 6: getTempVListM2 with type FLOAT
[18:49:04] INFO: Configuring command 7: getTempKol with type FLOAT
[18:49:04] INFO: Configuring command 8: getTempSpu with type FLOAT
[18:49:04] INFO: Configuring command 9: getTempRaumNorSollM1 with type FLOAT
[18:49:04] INFO: Configuring command 10: getTempRaumNorSollM2 with type FLOAT
[18:49:04] INFO: Configuring command 11: getTempRaumRedSollM1 with type FLOAT
[18:49:04] INFO: Configuring command 12: getTempRaumRedSollM2 with type FLOAT
[18:49:04] INFO: Configuring command 13: getBrennerStatus with type FLOAT
[18:49:04] INFO: Configuring command 14: getBrennerStarts with type FLOAT
[18:49:04] INFO: Configuring command 15: getBrennerStunden1 with type FLOAT
[18:49:04] INFO: Configuring command 16: getBrennerStunden2 with type FLOAT
[18:49:04] INFO: Configuring command 17: getPumpeStatusM1 with type FLOAT
[18:49:04] INFO: Configuring command 18: getPumpeStatusSp with type FLOAT
[18:49:04] INFO: Configuring command 19: getPumpeStatusZirku with type FLOAT
[18:49:04] INFO: Configuring command 20: getPumpeStatusM2 with type FLOAT
[18:49:04] INFO: Configuring command 21: getMischerM1 with type FLOAT
[18:49:04] INFO: Configuring command 22: getMischerM2 with type FLOAT
[18:49:04] INFO: Configuring command 23: getMischerM3 with type FLOAT
[18:49:04] INFO: Configuring command 24: getError0 with type STRING
[18:49:05] INFO: Configuring command 25: getError1 with type STRING
[18:49:05] INFO: Configuring command 26: getError2 with type STRING
[18:49:05] INFO: Configuring command 27: getError3 with type STRING
[18:49:05] INFO: Configuring command 28: getError4 with type STRING
[18:49:05] INFO: Configuring command 29: getError5 with type STRING
[18:49:05] INFO: Using internal MQTT Host: core-mosquitto:1883
[18:49:05] INFO: Using internal MQTT Host: core-mosquitto:1883
[18:49:05] INFO: Configuring command 30: getError6 with type STRING
[18:49:05] INFO: Configuring command 31: getError7 with type STRING
[18:49:05] INFO: Configuring command 32: getError8 with type STRING
[18:49:05] INFO: Configuring command 33: getError9 with type STRING
[18:49:05] INFO: Configuring command 34: getNeigungM1 with type FLOAT
[18:49:05] INFO: Configuring command 35: getNeigungM2 with type FLOAT
[18:49:05] INFO: Configuring command 36: getNiveauM1 with type FLOAT
[18:49:05] INFO: Configuring command 37: getNiveauM2 with type FLOAT
[18:49:05] INFO: vcontrol_host not set in configuration. Defaulting to 'localhost'.
[18:49:05] INFO: vcontrol_host not set in configuration. Defaulting to 'localhost'.
[18:49:05] INFO: Starting local vcontrold...
[18:49:05] INFO: Using custom vcontrold.xml.
/config/vcontrold/vcontrold.xml:1: parser error : Document is empty
^
Error loading /config/vcontrold/vcontrold.xml, terminating
[18:49:05] WARNING: Halting add-on due to vcontrold failure with exit code 1
s6-rc: info: service legacy-services: stopping
[18:49:06] INFO: vclient_sub service completed successfully. Restarting service.
[18:49:06] INFO: Restarting vlclient_pub service after normal closure
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

@Kasper027
Copy link
Author

@Vinshi01 your error message is a little different to mine. Your vcontrold.xml is empty, mine is a problem with the include file.
yours is already in line 1. What does your xml look like?

@Vinshi01
Copy link

I got now the file from openV it works now.

The problem is that i don't know the commands to add this to vcontrold.

@Kasper027
Copy link
Author

can you give me a link?

@Vinshi01
Copy link

@Kasper027
Copy link
Author

Kasper027 commented Jan 24, 2025

OK, now I have found a file that works for me. Unfortunately, I can no longer see what is happening in the log. With the original vcontrold.xml, I was shown all the address commands, what the result was and what should then be sent. That is no longer the case. I set the 2 two to y, but nothing happens:

<syslog>y</syslog>
<debug>y</debug>

does anyone have any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants