homecineplexx / ioBroker.homepilot20

Rademacher Homepilot 2.0 (version >= 5.0.39)
MIT License
23 stars 7 forks source link

Cannot read property 'value' of undefined! Restart Loop #48

Closed PRIAN87 closed 2 years ago

PRIAN87 commented 2 years ago

Describe the bug
I use the Homepilot Bridge version 5.5.10 on my iobroker Node.js v14.19.1. I installed the homepilot 20 v0.0.35. After the start of the instance I can control my rollershutter. After 1 minute the instance connection failed. And 2 minutes later I get the Host Message frequently crashing adapter instances of homematic 20, when I close It 2 minutes later it comes again.

Expected behavior
I hope that the Homepilot run smooth and I can reliable control my roller shutter.

Screenshots & Logfiles Node.jsv14.19.1 2022-03-24 14:11:31.360 - error: homepilot20.0 (12624) Cannot read property 'value' of undefined 2022-03-24 14:11:31.365 - info: homepilot20.0 (12624) terminating homepilot20 adapter 2022-03-24 14:11:31.367 - error: homepilot20.0 (12624) Adapter will be stopped 2022-03-24 14:11:31.367 - info: homepilot20.0 (12624) terminating 2022-03-24 14:11:31.368 - warn: homepilot20.0 (12624) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-03-24 14:11:31.994 - error: host.DESKTOP-ELKKNRQ(teest) instance system.adapter.homepilot20.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-03-24 14:11:31.994 - info: host.DESKTOP-ELKKNRQ(teest) Restart adapter system.adapter.homepilot20.0 because enabled 2022-03-24 14:12:02.056 - info: host.DESKTOP-ELKKNRQ(teest) instance system.adapter.homepilot20.0 started with pid 9196 2022-03-24 14:12:05.893 - info: homepilot20.0 (9196) starting. Version 0.0.35 (non-npm: homecineplexx/ioBroker.homepilot20#8bc050486addf2aaa6bffa74358d4b4a5aebfc5b) in C:/Program Files/iobroker/teest/node_modules/iobroker.homepilot20, node: v14.19.1, js-controller: 4.0.21 2022-03-24 14:12:10.967 - warn: homepilot20.0 (9196) Scenes -> Cannot connect to Homepilot: {"statusCode":501,"body":"Not implemented for Bridge!","headers":{"server":"nginx/1.20.1","date":"Thu, 24 Mar 2022 13:12:11 GMT","content-type":"text/html;charset=utf-8","transfer-encoding":"chunked","connection":"close"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.84","port":80,"hostname":"192.168.178.84","hash":null,"search":null,"query":null,"pathname":"/v4/scenes","path":"/v4/scenes","href":"http://192.168.178.84/v4/scenes"},"method":"GET","headers":{"0":{},"1":{"Content-Type":"application/json"}}}} 2022-03-24 14:12:15.968 - warn: homepilot20.0 (9196) Scenes -> Cannot connect to Homepilot: {"statusCode":501,"body":"Not implemented for Bridge!","headers":{"server":"nginx/1.20.1","date":"Thu, 24 Mar 2022 13:12:16 GMT","content-type":"text/html;charset=utf-8","transfer-encoding":"chunked","connection":"close"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.84","port":80,"hostname":"192.168.178.84","hash":null,"search":null,"query":null,"pathname":"/v4/scenes","path":"/v4/scenes","href":"http://192.168.178.84/v4/scenes"},"method":"GET","headers":{"0":{},"1":{"Content-Type":"application/json"}}}} 2022-03-24 14:12:18.362 - error: homepilot20.0 (9196) uncaught exception: Cannot read property 'value' of undefined 2022-03-24 14:12:18.364 - error: homepilot20.0 (9196) TypeError: Cannot read property 'value' of undefined

homecineplexx commented 2 years ago

can you post a picture of your setting please

you are the only person with this problem. as i tested with my bridge i never had problems

PRIAN87 commented 2 years ago

can you post a picture of your setting please

you are the only person with this problem. as i tested with my bridge i never had problems

Thank you for your answer. After a complete new installation i activated the Button Device is bridge. Now its working without errors.