openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
101 stars 54 forks source link

newbie problem: access to USB device quits daemon #61

Closed createch2 closed 3 years ago

createch2 commented 5 years ago

I followed the instructions here: https://github.com/openv/openv/wiki/vcontrold-mit-Raspberry-Pi

And I struggle on several points:

but still the telnet session gets closed by a simple getTempA:

looks then like this:

vctrld>debug on vctrld>getTempA DEBUG:Thu Oct 18 07:03:14 2018 : Befehl: getTempA DEBUG:Thu Oct 18 07:03:14 2018 : Process 1899 tries to aquire lock DEBUG:Thu Oct 18 07:03:14 2018 : Process 1899 got lock DEBUG:Thu Oct 18 07:03:14 2018 : >FRAMER: open device t: ST ProtocolID 00 DEBUG:Thu Oct 18 07:03:14 2018 : Fehler getaddrinfo: t:Name or service not known Connection closed by foreign host.

Can someone help me to fix that?

createch2 commented 5 years ago

Sorry, hab zu spät gesehen daß hier genügend deutschsprachige unterwegs sind, gerne also auch auf deutsch.

Otti38 commented 4 years ago

Hallo Gemeinde,

ich hänge mich hier mal ran. Ich habe ebenfalls das Problem, dass der Zugriff auf das USB-Gerät nicht funktioniert. Die Debug-Ausgabe:

DEBUG:Mon Feb 24 13:31:24 2020 : Befehl: getVitoTempRLIst DEBUG:Mon Feb 24 13:31:24 2020 : Process 1231 tries to aquire lock DEBUG:Mon Feb 24 13:31:24 2020 : Process 1231 got lock DEBUG:Mon Feb 24 13:31:24 2020 : >FRAMER: open device ������ ProtocolID 41 DEBUG:Mon Feb 24 13:31:24 2020 : konfiguriere serielle Schnittstelle ������ DEBUG:Mon Feb 24 13:31:24 2020 : cannot open ������:No such file or directory

Lade ich über reload die vcontrold.xml neu ein, ohne Änderungen vorgenommen zu haben, gibt es einen anderen Fehler in der Debug-Ausgabe:

DEBUG:Mon Feb 24 13:32:10 2020 : Befehl: getVitoTempRLIst DEBUG:Mon Feb 24 13:32:10 2020 : Process 1233 tries to aquire lock DEBUG:Mon Feb 24 13:32:10 2020 : Process 1233 got lock DEBUG:Mon Feb 24 13:32:10 2020 : >FRAMER: open device ProtocolID 41 DEBUG:Mon Feb 24 13:32:10 2020 : konfiguriere serielle Schnittstelle DEBUG:Mon Feb 24 13:32:10 2020 : cannot open :No such file or directory

Nach einem erneuten Neuladen der Konfiguration erscheint dies:

DEBUG:Mon Feb 24 13:33:19 2020 : Befehl: getVitoTempRLIst DEBUG:Mon Feb 24 13:33:19 2020 : Process 1235 tries to aquire lock DEBUG:Mon Feb 24 13:33:19 2020 : Process 1235 got lock DEBUG:Mon Feb 24 13:33:19 2020 : >FRAMER: open device ontent=Setze Schaltzeit Freitag ProtocolID 41 DEBUG:Mon Feb 24 13:33:19 2020 : konfiguriere serielle Schnittstelle ontent=Setze Schaltzeit Freitag DEBUG:Mon Feb 24 13:33:19 2020 : cannot open ontent=Setze Schaltzeit Freitag:No such file or directory

Und so weiter und so fort. Die im letzten Beispiel gefundene Zeichenfolge "ontent=Setze Schaltzeit" findet sich nicht einmal in der vcontrold.xml. Egal wie die Konfiguration der Schnittstelle vorgenommen wird, "/dev/ttyUSB0" oder "/dev/vitoir0", das Ergebnis ist dasselbe, der Framer scheint nicht die korrekte Schnittstelle übermittelt zu bekommen (nach einem kurzen Blick in die framer.c kann ich das nur vermuten, bin kein Programmierer).

Hat jemand Ideen oder hatte das gleiche Problem mit passender Lösung?

Beste Grüße Heiko

speters commented 4 years ago

The German output in your log file looks like you are running an old version of vcontrold. Please update to the latest version and report back if the problem persists.


Die deutschen Log-Ausgaben lassen erahnen, dass du eine alte Version von vcontrold betreibst. Bitte update auf die aktuellste Version und melde dich gerne, wenn das Problem weiter besteht.