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

crash when try to add HmIP-SWDM-B2 Window contact #669

Open
dieter-l-git opened this issue Jan 4, 2024 · 0 comments
Open

crash when try to add HmIP-SWDM-B2 Window contact #669

dieter-l-git opened this issue Jan 4, 2024 · 0 comments

Comments

@dieter-l-git
Copy link

Which Homematic actor/sensor you want to control ?
HmIP-SWDM-B2

Which settings y've choosen for this actor/sensor in hap-homematic ?
Try to add the HmIP-SWDM-B2 as Window Accessory, Door Accessory or Contact Accessory, doesn't matter,
alway same issue

What happends
Did not shown, log shows:

[Thu Jan 04 2024 21:27:23 GMT+0100 (CET)] info - [HAP Server] [Server] service used for HmIP-SWDM-B2 00155993963ECD:1 is HomeMaticWindowAccessory
[Thu Jan 04 2024 21:27:23 GMT+0100 (CET)] error - [HAP Server] Unable to initialize HmIP-SWDM-B2 00155993963ECD:1 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)

What should be happend
should be shown as Homekit Window

Steps to reproduce this issue
(while you are perfoming these steps please run hap-homematic in debug mode ( https://github.com/thkl/hap-homematic/wiki/Troubleshooting#running-in-debug-mode ) and add the log here

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

1 participant