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

HMIP-MOD-HO lässt sich nicht hinzufügen #661

Open
DeJaZa opened this issue Nov 21, 2023 · 8 comments
Open

HMIP-MOD-HO lässt sich nicht hinzufügen #661

DeJaZa opened this issue Nov 21, 2023 · 8 comments

Comments

@DeJaZa
Copy link

DeJaZa commented Nov 21, 2023

Hallo,
wenn ich versuche meinen Garagentoröffner HMIP-MOD-HO hinzuzufügen taucht dieser nicht auf.
In der config.json steht er drin.
Laut log scheint es hier in einen Fehler zu laufen wenn versucht wird das Modul hinzuzufügen.

`[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] loading devices for instance b6589fc6-ab0d-4c82-8f12-099d1c2d40ab
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] try find serviceclazz for 00241A499DE20E:1
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] service HomeMaticGarageDoorOpenerAccessory found thru address 00241A499DE20E:1
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] try adding Garagentor to bridge b6589fc6-ab0d-4c82-8f12-099d1c2d40ab
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] info - [HAP Server] [Server] service used for Garagentor is HomeMaticGarageDoorOpenerAccessory
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E creating homekit accessory Garagentor
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E publishing services for Garagentor
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E buildAddress PROCESS
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E seems to be a single datapoint
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] register address HmIP-RF.00241A499DE20E:1.PROCESS for events
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] ask Rega HmIP-RF.00241A499DE20E:1.PROCESS
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Rega] RegaScript object o = dom.GetObject('HmIP-RF.00241A499DE20E:1.PROCESS');if (o){Write(o.Value());}
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E buildAddress DOOR_STATE
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E seems to be a single datapoint
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] register address HmIP-RF.00241A499DE20E:1.DOOR_STATE for events
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] ask Rega HmIP-RF.00241A499DE20E:1.DOOR_STATE
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Rega] RegaScript object o = dom.GetObject('HmIP-RF.00241A499DE20E:1.DOOR_STATE');if (o){Write(o.Value());}
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E adding ventilation
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E enable logging service door for Garagentor
[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] error - [HAP Server] Unable to initialize Garagentor Error is /usr/local/addons/hap-homematic/node_modules/https-proxy-agent/dist/index.js:54
this.proxyHeaders = opts?.headers ?? {};
^

SyntaxError: Unexpected token .
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/addons/hap-homematic/node_modules/gaxios/build/src/gaxios.js:27:29)
`

@schoe-to
Copy link

Hallo,

wenn ich versuche meinen Garagentoröffner HMIP-MOD-HO hinzuzufügen taucht dieser nicht auf.

In der config.json steht er drin.

Laut log scheint es hier in einen Fehler zu laufen wenn versucht wird das Modul hinzuzufügen.

`[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] loading devices for instance b6589fc6-ab0d-4c82-8f12-099d1c2d40ab

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] try find serviceclazz for 00241A499DE20E:1

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] service HomeMaticGarageDoorOpenerAccessory found thru address 00241A499DE20E:1

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Server] try adding Garagentor to bridge b6589fc6-ab0d-4c82-8f12-099d1c2d40ab

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] info - [HAP Server] [Server] service used for Garagentor is HomeMaticGarageDoorOpenerAccessory

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E creating homekit accessory Garagentor

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E publishing services for Garagentor

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E buildAddress PROCESS

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E seems to be a single datapoint

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] register address HmIP-RF.00241A499DE20E:1.PROCESS for events

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] ask Rega HmIP-RF.00241A499DE20E:1.PROCESS

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Rega] RegaScript object o = dom.GetObject('HmIP-RF.00241A499DE20E:1.PROCESS');if (o){Write(o.Value());}

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E buildAddress DOOR_STATE

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E seems to be a single datapoint

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] register address HmIP-RF.00241A499DE20E:1.DOOR_STATE for events

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [CCU] ask Rega HmIP-RF.00241A499DE20E:1.DOOR_STATE

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [Rega] RegaScript object o = dom.GetObject('HmIP-RF.00241A499DE20E:1.DOOR_STATE');if (o){Write(o.Value());}

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E adding ventilation

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] debug - [HAP Server] [HomeMaticGarageDoorOpenerAccessory] 00241A499DE20E enable logging service door for Garagentor

[Thu Nov 16 2023 11:50:11 GMT+0100 (CET)] error - [HAP Server] Unable to initialize Garagentor Error is /usr/local/addons/hap-homematic/node_modules/https-proxy-agent/dist/index.js:54

    this.proxyHeaders = opts?.headers ?? {};

                             ^

SyntaxError: Unexpected token .

at createScript (vm.js:80:10)

at Object.runInThisContext (vm.js:139:10)

at Module._compile (module.js:616:28)

at Object.Module._extensions..js (module.js:663:10)

at Module.load (module.js:565:32)

at tryModuleLoad (module.js:505:12)

at Function.Module._load (module.js:497:3)

at Module.require (module.js:596:17)

at require (internal/module.js:11:18)

at Object.<anonymous> (/usr/local/addons/hap-homematic/node_modules/gaxios/build/src/gaxios.js:27:29)

`

Habe das gleiche Problem.

@schoe-to
Copy link

schoe-to commented Nov 22, 2023

image

Ich habe in den Einstellungen dieses Häkchen gesetzt und plötzlich funktioniert es... klappt das bei dir auch?

@ChrWi
Copy link
Collaborator

ChrWi commented Dec 8, 2023

@DeJaZa konntest Du den Hinweis von @schoe-to testen? Dieser Haken hat zuletzt häufiger geholfen

@ChrWi
Copy link
Collaborator

ChrWi commented Dec 8, 2023

Ich gehe von node Problemen aus - diese Art Fehlermeldungen gibt es auch in anderen Beiträgen dazu. Die Apple Kompatibilität macht da Einschränkungen, die nur @thkl im Detail erklären kann

@DeJaZa
Copy link
Author

DeJaZa commented Dec 21, 2023

Es hat tatsächlich Abhilfe geschafft, vielen Dank.
Nun könnte ich endlich (theoretisch) mein Garagentor aus dem Auto heraus öffnen, Musste jetzt aber leider feststellen, dass ich dafür schon im WLAN sein muss. Das ist ja leider bei der Anfahrt nicht unbedingt der Fall. Dass sich ein weiteres Device wie mein iPad zu Hause befindet ändert daran leider nichts. Auch einen VPN Tunnel nach Hause aufbauen hilft nicht um die Homekit Geräte zu bedienen :/

@ChrWi
Copy link
Collaborator

ChrWi commented Dec 21, 2023

Was nutzt Du als Apple Home Basis? Zugriff von extern (5G) muss möglich sein, sonst macht Smarthome für mich auch keinen Sinn, insb. für Zugriff auf Sicherheitsgeräte

@DeJaZa
Copy link
Author

DeJaZa commented Dec 21, 2023

Ich habe sonst keine "Basis". Aktuell nur die HAP-Homematic Installation auf der CCU.

@ChrWi
Copy link
Collaborator

ChrWi commented Dec 21, 2023

Ach so. Aber wozu dann HAP-Homematic? Apple TV oder Homepod (nutze ich) brauchst Du schon, ein iPad wird dafür ab iOS16.? nicht mehr unterstützt

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

3 participants