Anfänger steht auf dem Schlauch :-(

Das Langzeitarchiv für HomeMatic

Moderator: Co-Administratoren

Dr69
Beiträge: 17
Registriert: 13.10.2018, 17:01

Anfänger steht auf dem Schlauch :-(

Beitrag von Dr69 » 21.10.2018, 16:57

Hi,
Bin ganz neu hier.
Zu Testzwecken habe ich versucht den CCU-Historian auf meinem ausrangierten Windows10 Rechner zum fliegen zu kriegen und mit meiner CCU3 zu verbinden.
Kriege folgenden Fehler:

2018-10-21 16:11:23|SEVERE |Exception: Configuration file ccu-historian.config is invalid
2018-10-21 16:11:23|SEVERE |Detail: java.lang.Exception: Configuration file ccu-historian.config is invalid
at mdz.ccuhistorian.Configuration.readFile(Configuration.groovy:140)
at mdz.ccuhistorian.Main.start(Main.groovy:86)
at mdz.ccuhistorian.Main.access$0(Main.groovy)
at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:77)
at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Main.run(Main.groovy:77)
at mdz.ccuhistorian.Main.main(Main.groovy:45)
Caused by: groovy.lang.MissingPropertyException: No such property: CCU3 for class: Config
at Config.run(Config:60)
at mdz.ccuhistorian.Configuration.readFile(Configuration.groovy:138)

Meine config sieht so aus:
devices.device1.type=CCU3
devices.device1.address='192.168.2.95'
devices.device1.plugin1.type=CUXD

Wäre nett , wenn mir jemand vom Schlauch hilft :-) :D

NickHM
Beiträge: 3733
Registriert: 23.09.2017, 12:04
Hat sich bedankt: 66 Mal
Danksagung erhalten: 120 Mal

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von NickHM » 21.10.2018, 17:28

Hallo

- zeige bitte mal das gesamte config File und kopiere das hier in Code Tags rein

- trage bitte im config File die IP ein, auf der Historian läuft

- trage bitte im config File die IP ein, auf der der Web Server läuft

- stell den Log Level für den Bildschirm auf "Finest" . Dann sollte die Zeile des config File genau ausgegeben werden, in der der Fehler ist

Meist wird die config zerschossen, weil ein ungeeigneter Windows Texteditor benutzt wird. Geeignete Tools sind einfache Text Editoren wie z.B. "Notepad++" keine Programme für Briefe wie "Word"

Mathias
Beiträge: 1796
Registriert: 03.11.2010, 10:25
System: CCU
Wohnort: Aachen
Hat sich bedankt: 58 Mal
Danksagung erhalten: 262 Mal
Kontaktdaten:

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Mathias » 21.10.2018, 17:43

Welche CCU-Historian-Version setzt Du ein?

Bitte mal in der ccu-historian.config anstatt CCU3 den Wert CCU2 setzen.

Der Wert CCU3 kann erst in der nächsten Version vom CCU-Historian verwendet werden, er ist dann identisch mit CCU2. :D

Gruß
Mathias

Dr69
Beiträge: 17
Registriert: 13.10.2018, 17:01

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Dr69 » 21.10.2018, 18:05

Hi

nach Änderung CCU3 nach CCU2 und Eintrag der IP Adressen in config file
sieht das config wie folgt aus:
devices.device1.type=CCU2
devices.device1.address='192.168.2.95'
devices.device1.plugin1.type=CUXD
devices.device1.address='192.168.2.109'
webServer.historianAddress='192.168.2.109'


die DB wurde jetzt angelegt, jetzt gibt es connect Probleme:
die ports für eingehende Verbindungen : 2011,2098,2099,8080,8081,8082 sind frei
die für ausgehende: 2001,2010, 2098,2099 auch

2018-10-21 18:02:29|INFO |Creating HM script client for http://192.168.2.109:8181/tclrega.exe
2018-10-21 18:02:29|INFO |Setting up plug-in 1
2018-10-21 18:02:29|INFO |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar, CUxD
2018-10-21 18:02:29|INFO |Starting interfaces
2018-10-21 18:02:29|INFO |Starting BIN-RPC server on port 2099
2018-10-21 18:02:29|INFO |Starting XML-RPC server on port 2098
2018-10-21 18:02:29|INFO |Connecting to 192.168.2.109:2001
2018-10-21 18:02:30|INFO |Stopping BIN-RPC server on port 2099
2018-10-21 18:02:30|INFO |Stopping database
2018-10-21 18:02:30|INFO |Stopping base services
2018-10-21 18:02:30|SEVERE |Exception: Connection refused: connect
2018-10-21 18:02:30|SEVERE |Detail: java.net.ConnectException: Connection refused: connect
at mdz.hc.itf.binrpc.BinRpcClient.connect(BinRpcClient.groovy:60)
at mdz.hc.itf.binrpc.BinRpcClient.send(BinRpcClient.groovy:74)
at mdz.hc.itf.binrpc.BinRpcClient.call(BinRpcClient.groovy:142)
at mdz.hc.itf.hm.HmBinRpcInterface.init(HmBinRpcInterface.groovy:121)
at mdz.hc.itf.hm.HmBinRpcInterface.start(HmBinRpcInterface.groovy:79)
at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:60)
at mdz.hc.itf.Manager.start(Manager.groovy:58)
at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:39)
at mdz.ccuhistorian.Main.start(Main.groovy:100)
at mdz.ccuhistorian.Main.access$0(Main.groovy)
at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:77)
at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Main.run(Main.groovy:77)
at mdz.ccuhistorian.Main.main(Main.groovy:45)

Dr69
Beiträge: 17
Registriert: 13.10.2018, 17:01

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Dr69 » 21.10.2018, 18:13

CCU-Historian = 2.0.0-beta.3

Slice
Beiträge: 1203
Registriert: 03.02.2016, 14:44
System: Alternative CCU (auf Basis OCCU)
Wohnort: irgendwo aus Süd BaWü
Hat sich bedankt: 141 Mal
Danksagung erhalten: 85 Mal

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Slice » 21.10.2018, 18:35

Hi,

ich hab noch den Port 9092 freigegeben. Weiß aber immo nicht mehr für genau was.

EDIT:
Aus dem Historian Handbuch:
9092 (Optional) Netzwerk-Port für die TCP-Schnittstelle der Datenbank
database.tcpPort
Und versuch mal die Exe mit Adminrechten zu starten, Win10 könnte evtl. nen Rechteproblem haben.
Ich kämpfe auch jedesmal unter Windows beim einrichten.

Grüße,
Slice
----------------------------------------------------------------------------------------
Raspi3B+ Bullseye mit HB-RF-ETH und RPI-RF-MOD auf piVCCU-FW 3.75.7 / Addons: CuxD v2.11 - E-Mail v1.7.6 - Patcher v1.0.0 - Philips Hue v3.2.5 - Programme drucken v2.6 - Scriptparser v1.11 - XML-API v2.3
Geräte: 141 / Kanäle: 791 / Datenpunkte: 6080 / SysVars: 275 / Programme: 161 / Regadom IDs: 14010 / 48 CUxD-Kanäle in 3 CUxD-Geräten
Intel NUC i3-5010U @ 2,1 GHz mit 16 GB RAM & 512 GB SSD für Proxmox mit ioBroker VM und CCU-Historian/InfluxDB/Grafana VM
----------------------------------------------------------------------------------------
Projekte im Forum: HomeHub v4.1 / Fritzbox-Anruferliste für HomeHub
----------------------------------------------------------------------------------------

Dr69
Beiträge: 17
Registriert: 13.10.2018, 17:01

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Dr69 » 21.10.2018, 18:45

hilft leider beides nicht :-(

Slice
Beiträge: 1203
Registriert: 03.02.2016, 14:44
System: Alternative CCU (auf Basis OCCU)
Wohnort: irgendwo aus Süd BaWü
Hat sich bedankt: 141 Mal
Danksagung erhalten: 85 Mal

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Slice » 21.10.2018, 18:47

Poste nochmal die komplette Konfig in Code-Tags.
Und das Log mit Loglevel finest, sollte reichen denke ich.
Sollte man ja zum laufen kriegen.
----------------------------------------------------------------------------------------
Raspi3B+ Bullseye mit HB-RF-ETH und RPI-RF-MOD auf piVCCU-FW 3.75.7 / Addons: CuxD v2.11 - E-Mail v1.7.6 - Patcher v1.0.0 - Philips Hue v3.2.5 - Programme drucken v2.6 - Scriptparser v1.11 - XML-API v2.3
Geräte: 141 / Kanäle: 791 / Datenpunkte: 6080 / SysVars: 275 / Programme: 161 / Regadom IDs: 14010 / 48 CUxD-Kanäle in 3 CUxD-Geräten
Intel NUC i3-5010U @ 2,1 GHz mit 16 GB RAM & 512 GB SSD für Proxmox mit ioBroker VM und CCU-Historian/InfluxDB/Grafana VM
----------------------------------------------------------------------------------------
Projekte im Forum: HomeHub v4.1 / Fritzbox-Anruferliste für HomeHub
----------------------------------------------------------------------------------------

Dr69
Beiträge: 17
Registriert: 13.10.2018, 17:01

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Dr69 » 21.10.2018, 18:50

Ist bestimmt was Simples:
config:
devices.device1.type=CCU2
devices.device1.address='192.168.2.95'
devices.device1.plugin1.type=CUXD
devices.device1.address='192.168.2.109'
webServer.historianAddress='192.168.2.109'

2018-10-21 18:47:45|INFO |Starting base services
2018-10-21 18:47:45|INFO |Connecting to database
2018-10-21 18:47:45|INFO |Starting database web server
2018-10-21 18:47:45|INFO |Auto detected local address (please check): 192.168.2.109
2018-10-21 18:47:45|INFO |Setting up device 1
2018-10-21 18:47:45|INFO |Creating HM script client for http://192.168.2.109:8181/tclrega.exe
2018-10-21 18:47:45|INFO |Setting up plug-in 1
2018-10-21 18:47:45|INFO |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar, CUxD
2018-10-21 18:47:45|INFO |Starting interfaces
2018-10-21 18:47:45|INFO |Starting BIN-RPC server on port 2099
2018-10-21 18:47:45|INFO |Starting XML-RPC server on port 2098
2018-10-21 18:47:45|INFO |Connecting to 192.168.2.109:2001
2018-10-21 18:47:46|INFO |Stopping BIN-RPC server on port 2099
2018-10-21 18:47:46|INFO |Stopping database
2018-10-21 18:47:46|INFO |Stopping base services
2018-10-21 18:47:46|SEVERE |Exception: Connection refused: connect
2018-10-21 18:47:46|SEVERE |Detail: java.net.ConnectException: Connection refused: connect
at mdz.hc.itf.binrpc.BinRpcClient.connect(BinRpcClient.groovy:60)
at mdz.hc.itf.binrpc.BinRpcClient.send(BinRpcClient.groovy:74)
at mdz.hc.itf.binrpc.BinRpcClient.call(BinRpcClient.groovy:142)
at mdz.hc.itf.hm.HmBinRpcInterface.init(HmBinRpcInterface.groovy:121)
at mdz.hc.itf.hm.HmBinRpcInterface.start(HmBinRpcInterface.groovy:79)
at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:60)
at mdz.hc.itf.Manager.start(Manager.groovy:58)
at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:39)
at mdz.ccuhistorian.Main.start(Main.groovy:100)
at mdz.ccuhistorian.Main.access$0(Main.groovy)
at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:77)
at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Main.run(Main.groovy:77)
at mdz.ccuhistorian.Main.main(Main.groovy:45)
2018-10-21 18:48:16|INFO |Starting base services
2018-10-21 18:48:16|INFO |Connecting to database
2018-10-21 18:48:16|INFO |Starting database web server
2018-10-21 18:48:16|INFO |Auto detected local address (please check): 192.168.2.109
2018-10-21 18:48:16|INFO |Setting up device 1
2018-10-21 18:48:16|INFO |Creating HM script client for http://192.168.2.109:8181/tclrega.exe
2018-10-21 18:48:16|INFO |Setting up plug-in 1
2018-10-21 18:48:16|INFO |Configured following interfaces: BidCos-RF, HmIP-RF, SysVar, CUxD
2018-10-21 18:48:16|INFO |Starting interfaces
2018-10-21 18:48:16|INFO |Starting BIN-RPC server on port 2099
2018-10-21 18:48:16|INFO |Starting XML-RPC server on port 2098
2018-10-21 18:48:16|INFO |Connecting to 192.168.2.109:2001
2018-10-21 18:48:17|INFO |Stopping BIN-RPC server on port 2099
2018-10-21 18:48:17|INFO |Stopping database
2018-10-21 18:48:17|INFO |Stopping base services
2018-10-21 18:48:17|SEVERE |Exception: Connection refused: connect
2018-10-21 18:48:17|SEVERE |Detail: java.net.ConnectException: Connection refused: connect
at mdz.hc.itf.binrpc.BinRpcClient.connect(BinRpcClient.groovy:60)
at mdz.hc.itf.binrpc.BinRpcClient.send(BinRpcClient.groovy:74)
at mdz.hc.itf.binrpc.BinRpcClient.call(BinRpcClient.groovy:142)
at mdz.hc.itf.hm.HmBinRpcInterface.init(HmBinRpcInterface.groovy:121)
at mdz.hc.itf.hm.HmBinRpcInterface.start(HmBinRpcInterface.groovy:79)
at mdz.hc.itf.Manager$_start_closure1.doCall(Manager.groovy:60)
at mdz.hc.itf.Manager.start(Manager.groovy:58)
at mdz.ccuhistorian.HistorianSystem.<init>(HistorianSystem.groovy:39)
at mdz.ccuhistorian.Main.start(Main.groovy:100)
at mdz.ccuhistorian.Main.access$0(Main.groovy)
at mdz.ccuhistorian.Main$_run_closure4.doCall(Main.groovy:77)
at mdz.ccuhistorian.Main$_run_closure4.call(Main.groovy)
at mdz.Exceptions.lambda$0(Exceptions.java:84)
at mdz.Exceptions.catchToLog(Exceptions.java:74)
at mdz.Exceptions.catchToLog(Exceptions.java:84)
at mdz.ccuhistorian.Main.run(Main.groovy:77)
at mdz.ccuhistorian.Main.main(Main.groovy:45)

Dr69
Beiträge: 17
Registriert: 13.10.2018, 17:01

Re: Anfänger steht auf dem Schlauch :-(

Beitrag von Dr69 » 21.10.2018, 18:53

eingehende Ports:
2011, 2098, 2099, 8081, 8080, 8082, 9092
ausgehende:
2000, 2001, 2002, 2010, 2098, 2099, 8181, 8701

Antworten

Zurück zu „CCU-Historian“