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

Unable to do set command #13

Open
nicolouts opened this issue Jan 25, 2023 · 7 comments
Open

Unable to do set command #13

nicolouts opened this issue Jan 25, 2023 · 7 comments

Comments

@nicolouts
Copy link

Hello,
I have follow the configuration from Bjoern3003.
My device protocol is 20CB.
But I always receive an error message when I try a set command :

[16:01:24] INFO: Looping vclient...
[16:01:36] INFO: Sending command: [setBetriebArt]: WW
[72] Wed Jan 25 16:01:36 2023 : Client connected 127.0.0.1:48130 (FD:5)
[72] Wed Jan 25 16:01:36 2023 : Command: setBetriebArt WW
SRV ERR: command unknown
[72] Wed Jan 25 16:01:36 2023 : Command: quit
[72] Wed Jan 25 16:01:36 2023 : Process 72 released lock
[72] Wed Jan 25 16:01:36 2023 : Closed connection (fd:5)
server error
setBetriebArt WW:

Can you help me with this error

Regards

Nicolouts

@Razzer90
Copy link
Contributor

Razzer90 commented Jan 26, 2023

Hey! There is a piece of code missing in the vito.xml file.
when you add the code you can run "set" and it changes the mode.
<command name='getBetriebArtM1' protocmd='getaddr'> <addr>2323</addr> <len>1</len> <unit>BA</unit> <description>Betriebsart M1</description> </command> <command name='setBetriebArtM1' protocmd='setaddr'> <addr>2323</addr> <len>1</len> <unit>BA</unit> <description>Setze Betriebsart M1</description> </command>

@nicolouts
Copy link
Author

nicolouts commented Jan 26, 2023

Hey,
Thank you for your feedback, but can you explain where I can find this file.
I have install the addon but I can't see structure folder.
I run HA in a virtual machine with hassio.
Regards
Nicolouts

@Razzer90
Copy link
Contributor

Yes, no problem, I installed the addon samba share. you can use it to access home assistant as a network drive. there you have the addons folder. I downloaded homeassistant-vcontrol as a zip, there you will find the vito.xml, there you change it accordingly. and put the unpacked and modified in the addons folder. then restart home assistant and the addon can then be found under Local add-ons and you can install it as normal. best greetings :)

@nicolouts
Copy link
Author

Ok, thank you.
I have installed the addon by adding it to home assistant addon repository. So I don't have access to the main file.
I will follow your explanantion.
Regards
Nicolouts

@Razzer90
Copy link
Contributor

ffd6a72

:)

@raebbaer
Copy link

I have the same problem. I can't find the configuration file in order to add new commands. I have the latest HA installation (Home Assistant 2023.1.7) running on a raspberry. And I have installed the 1.8.2 addon from your repository. I use the "20CB" protocol and I am trying to set the partymode. The /etc/vcontrold/ directory is missing. And using the Samba addon I see only an emtpy addons directory. Can you please tell me, where I went wrong?

@Schm1tz1
Copy link
Contributor

Schm1tz1 commented Jan 30, 2023

@raebbaer Same device, same issue here. Looking into vito.xml of this project: https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/vcontrold/vito.xml and openv/vcontrold: https://github.com/openv/vcontrold/blob/master/xml/300/vito.xml you can see the it does not explicitly mention 20CB but only 2053 for this command. It is assuming some backwards compatibility of the protocols. That does not seem to apply here but I don't have any other sources. Maybe openv would be a good place for a Issue/FR. To add/fix this we probably either need a sniffer in a working setup or the Viessmann tools as described in https://github.com/sarnau/InsideViessmannVitosoft

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

4 participants