bombadiltom / homebridge-rademacher-homepilot

MIT License
26 stars 21 forks source link

Homepilot Update from 09.09.2019 #22

Closed Kohle81 closed 4 years ago

Kohle81 commented 4 years ago

Hello @bombadiltom,

a user from smartapfel.de updated his homepilot to the firmware from 09.09.2019.

He said, that now the homepilot-plugin breaks the homebridge......

https://forum.smartapfel.de/forum/thread/3843-homebridge-rademacher-plugin-geht-nach-homepilot-update-vom-9-9-2019-nicht-mehr/

I don‘t have updated my homepilot, but I want to ask you, if this is a individual or a general problem?

Thanks for your great work!

Manuel

apfelflo89 commented 4 years ago

It will be a general problem because they switched the way the API works. JSON got new endpoints and the control urls changed to json payload.

bombadiltom commented 4 years ago

Any documentation available? Or some examples? Didn't install the update yet, but will do soon...

Charly-Man commented 4 years ago

Here my Log:

[9/10/2019, 11:06:41 AM] TypeError: Cannot read property 'forEach' of undefined at Request._callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:125:30) at Request.self.callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1161:10) at Request.emit (events.js:198:13) at IncomingMessage. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:286:20) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19) [9/10/2019, 11:06:41 AM] TypeError: Cannot read property 'forEach' of undefined at Request._callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:43:30) at Request.self.callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1161:10) at Request.emit (events.js:198:13) at IncomingMessage. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:286:20) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19) [9/10/2019, 11:06:41 AM] Got SIGTERM, shutting down Homebridge... homebridge.service: Main process exited, code=exited, status=143/n/a homebridge.service: Failed with result 'exit-code'. [9/10/2019, 11:06:47 AM] [Config] Terminal session ended. hoobs : TTY=pts/0 ; PWD=/var/lib/homebridge ; USER=root ; COMMAND=/bin/journalctl -o cat -n 500 -f -u homebridge -u homebridge-config-ui-x pam_unix(sudo:session): session opened for user root by (uid=0) homebridge.service: Service RestartSec=3s expired, scheduling restart. homebridge.service: Scheduled restart job, restart counter is at 21. Stopped Homebridge.

Charly-Man commented 4 years ago

after update Homepilot -> 5.0.39

Greetings Charly-Man

apfelflo89 commented 4 years ago

So I don´t have the old url calls but the new ones are like:

http://HomePilotIP/devices/DID and the PUT with content type :application/json looks like: {"name":"TURN_ON_CMD"} for a switch that was turned on or {"name":"TARGET_TEMPERATURE_CFG","value":16} for a thermostat or {"name":"GOTO_POS_CMD","value":58} for a roller shutter or dimmer

You still get a list of your devices with http://HomePilotIP/v4/devices and for device state you get json from a GET to http://HomePilotIP/devices/DID

bombadiltom commented 4 years ago

You need to replace DID with the id of the device, also you need to do a PUT not a GET, try to download some REST browser plugin for that

apfelflo89 commented 4 years ago

That´s not a URL call anymore, you'll need to make a POST/PUT with e.g. curl, so you send parameters like payload and content type with it.

Something like this: curl -X POST -H "Content-Type: application/json" \ -d '{"username":"abc","password":"abc"}' \ https://api.example.com/v2/login

Primello commented 4 years ago

If somebody could make a config.json sample or a tutorial video that would be great. I bought the homepilot yesterday and didnt know that the update will destroy everything. Please update the Plugin!

oberstobacht commented 4 years ago

Hello, everybody. Is there any solution for the new version of Rademacher? Since the update to 5....the plugin has stopped working. Will there be an update for the plugin and when will it be?

apfelflo89 commented 4 years ago

Guys, please give @bombadiltom some time, Rademacher changed their API that's a pitty and there is no documentation so it´s pretty much reverse engineering the whole thing. So if you can help do it, if not simple be patient please! I bet @bombadiltom is giving his best.

and @IchPeter that's an issue for a homebridge plugin, please look for help in Homematic problems and help elsewhere, that's not forum for that.

Primello commented 4 years ago

Are u Sure there will be an update? Then i wait.

bombadiltom commented 4 years ago

Will be here soon: https://github.com/bombadiltom/homebridge-rademacher-homepilot/tree/feature/update20190909

bombadiltom commented 4 years ago

https://github.com/bombadiltom/homebridge-rademacher-homepilot/commit/9fc09a5bb6af8140ecee396be65d5b901ac7538d

bombadiltom commented 4 years ago

If you see "Unknown product: " in the logs, please note the devicenumber and tell me what it is, there are no more product names in the json

Primello commented 4 years ago

14234511 = RolloTron Standard DuoFern - Gurtwickler

Homebridge is starting but I don’t see the rolltrons in HomeKit ? Sorry iam a neewbie...

martak101 commented 4 years ago

Due i'm an beginner, can anybody tell me, what to do? copy all files in /usr/local/bin/homebridge ?? is there an instruction?

bombadiltom commented 4 years ago

git clone https://github.com/bombadiltom/homebridge-rademacher-homepilot/tree/feature/update20190909 cd homebridge-rademacher-homepilot service homebridge stop npm install -g . service homebridge start

martak101 commented 4 years ago

Danke schön. Nur irgendwie scheint der link nicht zu funktionieren. Ich bekomme ein fatal: repository not found

bombadiltom commented 4 years ago

dann so: git clone https://github.com/bombadiltom/homebridge-rademacher-homepilot cd homebridge-rademacher-homepilot git checkout feature/update20190909 service homebridge stop npm install -g . service homebridge start

martak101 commented 4 years ago

dann so: git clone https://github.com/bombadiltom/homebridge-rademacher-homepilot cd homebridge-rademacher-homepilot git checkout feature/update20190909 service homebridge stop npm install -g . service homebridge start

Danke, damit funktioniert es einwandfrei. Läuft alles wieder bestens Topp-Job

Charly-Man commented 4 years ago

ich bekomme immer noch den Fehler: TypeError: Cannot read property 'forEach' of undefined` 2019-09-17_Error Rademacher

bombadiltom commented 4 years ago

die Zeilennummern deuten darauf hin, dass noch die alte Version benutzt wird.

Charly-Man commented 4 years ago

`hoobs@hoobs:/var/lib/homebridge $ sudo git clone https://github.com/bombadiltom/homebridge-rademacher-homepilot fatal: destination path 'homebridge-rademacher-homepilot' already exists and is not an empty directory. hoobs@hoobs:/var/lib/homebridge $ cd homebridge-rademacher-homepilot hoobs@hoobs:/var/lib/homebridge/homebridge-rademacher-homepilot $ sudo git checkout feature/update20190909 Already on 'feature/update20190909' Your branch is up to date with 'origin/feature/update20190909'. hoobs@hoobs:/var/lib/homebridge/homebridge-rademacher-homepilot $ sudo service homebridge stop hoobs@hoobs:/var/lib/homebridge/homebridge-rademacher-homepilot $ sudo npm install -g . npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ansi-regex npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ansi-styles npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/array-flatten npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/assert-plus npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/asynckit npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/aws-sign2 npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/aws4 npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/bcrypt-pbkdf npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/buffer-indexof npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/buffer-shims npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/caseless npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/core-util-is npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/dashdash npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/decimal.js npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/delayed-stream npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/combined-stream npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/dns-equal npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/dns-txt npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/escape-string-regexp npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/extend npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/extsprintf npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/fast-deep-equal npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/fast-json-stable-stringify npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/fast-srp-hap npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/forever-agent npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/function-bind npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/getpass npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/graceful-readlink npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/commander npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/har-schema npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/has npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/has-ansi npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ip npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/is-arguments npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/is-date-object npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/is-regex npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/is-typedarray npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/isstream npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/jsbn npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/json-schema npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/json-schema-traverse npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/json-stringify-safe npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/mime-db npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/mime-types npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/form-data npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/minimist npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/mkdirp npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ms npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/debug npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/multicast-dns-service-types npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/oauth-sign npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/object-is npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/object-keys npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/define-properties npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/performance-now npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/psl npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/punycode npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/q npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/node-persist npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/qrcode-terminal npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/qs npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/regexp.prototype.flags npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/deep-equal npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/safe-buffer npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/dns-packet npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/safer-buffer npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/asn1 npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ecc-jsbn npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/semver npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/sshpk npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/strip-ansi npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/supports-color npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/chalk npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/thunky npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/multicast-dns npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/bonjour-hap npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/tough-cookie npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/tunnel-agent npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/tweetnacl npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/hap-nodejs npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/uri-js npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ajv npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/har-validator npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/uuid npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/verror npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/jsprim npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/http-signature npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/homebridge npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/request npm WARN checkPermissions Missing write access to /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules npm ERR! path /var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ansi-regex npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall access npm ERR! enoent ENOENT: no such file or directory, access '/var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/ansi-regex' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-09-17T14_10_21_457Z-debug.log hoobs@hoobs:/var/lib/homebridge/homebridge-rademacher-homepilot $ sudo service homebridge start hoobs@hoobs:/var/lib/homebridge/homebridge-rademacher-homepilot $ `

Charly-Man commented 4 years ago

Bin nicht so firm was unix anbelangt, wo ist mein Fehler?

bombadiltom commented 4 years ago

sudo chmod a+rwx /var/lib/homebridge/homebridge-rademacher-homepilot

sollte es tun, oder

npm remove -g homebridge-rademacher-homepilot

Charly-Man commented 4 years ago

mit npm remove -g homebridge-rademacher-homepilot konnte ich die alte Version nun deinstallieren. Mit der config: { "platform":"RademacherHomePilot", "name":"RademacherHomePilot", "url":"http://homepilot.local" }, tut sich aber nichts:

Error: The requested platform 'RademacherHomePilot' was not registered by any plugin.

Charly-Man commented 4 years ago

Habe nun folgendes gemacht: sudo git clone https://github.com/bombadiltom/homebridge-rademacher-homepilot cd homebridge-rademacher-homepilot sudo git checkout feature/update20190909 sudo service homebridge stop sudo npm install -g . sudo service homebridge start

und bekomme noch folgenden Fehler:

TypeError: Cannot read property 'getCharacteristic' of undefined

Charly-Man commented 4 years ago

9/17/2019, 4:43:25 PM] TypeError: Cannot read property 'getCharacteristic' of undefined at new RademacherLockAccessory (/var/lib/homebridge/homebridge-rademacher-homepilot/accessories/RademacherLockAccessory.js:12:10) at /var/lib/homebridge/homebridge-rademacher-homepilot/index.js:90:58 at Array.forEach () at Request._callback (/var/lib/homebridge/homebridge-rademacher-homepilot/index.js:43:30) at Request.self.callback (/var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request. (/var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/request/request.js:1161:10) at Request.emit (events.js:198:13) at IncomingMessage. (/var/lib/homebridge/homebridge-rademacher-homepilot/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:286:20) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19)

Charly-Man commented 4 years ago

http://HomePilotIP/v4/devices

{"response":"get_visible_devices","devices":[{"description":"","deviceGroup":2,"did":10000,"hasErrors":0,"iconSetInverted":1,"iconSet":{"k":"iconset7"},"messages":[],"name":"Markise","properties":{"closingContact":3,"dawn":3,"dusk":3,"motion":1,"rain":3,"smartphone":3,"smoke":3,"sun":3,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":100,"Position":0},"visible":true,"deviceNumber":"35000864","uid":"4b116e_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10001,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"Jalousie Flur oben","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"14234511","uid":"406ca7_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10002,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"Jalousie Schlafzimmer","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"14234511","uid":"406c7b_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10003,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"Jalousie Büro Fenster","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"14234511","uid":"406c7d_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10004,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"Jalousie Büro Balkontür","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"14234511","uid":"406c7a_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10005,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"Jalousie Kleiderz.","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"14234511","uid":"406c79_1","voiceControlledBy":""},{"description":"Jalousie Aussentür Keller","deviceGroup":2,"did":1010009,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset8"},"messages":[],"name":"Jalousie Kellertür","properties":{"closingContact":3,"dawn":3,"dusk":3,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":3,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":100},"visible":true,"deviceNumber":"14234511","uid":"4022c6_1","voiceControlledBy":""},{"description":"","deviceGroup":1,"did":10007,"hasErrors":0,"iconSetInverted":1,"iconSet":{"k":"iconset31"},"messages":[],"name":"Garagentor","properties":{"closingContact":3,"dawn":3,"dusk":3,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":3,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":100,"Position":0},"visible":true,"deviceNumber":"35001164","uid":"460a18_1","voiceControlledBy":""},{"description":"Jalousie In der Küche","deviceGroup":2,"did":1010007,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"Jalousie Küche","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"16234511_A","uid":"61776d_A_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10010,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"JalousieWohnRechts","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"16234511_A","uid":"617f64_A_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":1010005,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset31"},"messages":[],"name":"Dachbodentreppe","properties":{"closingContact":3,"dawn":3,"dusk":3,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":3,"temperature":3,"time":3,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":100,"Position":100,"slatposition":100},"visible":true,"deviceNumber":"35000662","uid":"42d861_1","voiceControlledBy":""},{"description":"","deviceGroup":2,"did":10012,"hasErrors":0,"iconSetInverted":0,"iconSet":{"k":"iconset15"},"messages":[],"name":"JalousieWohnLinks","properties":{"closingContact":3,"dawn":2,"dusk":2,"motion":3,"rain":3,"smartphone":3,"smoke":3,"sun":2,"temperature":3,"time":2,"trigger":3,"warning":3,"wind":3},"statusValid":true,"statusesMap":{"Manuellbetrieb":0,"Position":0},"visible":true,"deviceNumber":"16234511_A","uid":"617f53_A_1","voiceControlledBy":""}]}

Charly-Man commented 4 years ago

http://homepilot.local/devices/DID

{"error_description":"Internal server Error","error_code":5007}

Paule3569 commented 4 years ago

36500172 = Troll Basis DuoFern 36500572_A = Troll Comfort DuoFern

The DuoFern Rohrmotor-Aktor is shown as a switch.

bombadiltom commented 4 years ago

https://github.com/bombadiltom/homebridge-rademacher-homepilot/commit/724e518827c23cb8f0c9095f647ad2610ca6dd34

bombadiltom commented 4 years ago

http://homepilot.local/devices/DID => http://homepilot.local/devices/10012

Paule3569 commented 4 years ago

With 35000662 as blinds, homebridge stops working

bombadiltom commented 4 years ago

Hmmm.... I am using it for a marquee on the terrace and it works any logs available?

Paule3569 commented 4 years ago

After deleting /var/log/homebridge.log, it works. Crazy...

Paule3569 commented 4 years ago

16234511_A = RolloTron Comfort DuoFern

oberstobacht commented 4 years ago

Seit ihr noch in der Testphase? Kann man schon abschätzen wann eine neue Version vom Plugin erscheint? Grüße Oberstobacht

Primello commented 4 years ago

Was a little bit Tricky but now it works perfekt! Thanx 4 the fast update! Perfect work.

basti2oo2 commented 4 years ago

Funktioniert auch bei mir super. Vielen, vielen Dank! Ist auch eine Unterstützung für die neue Funktion des Homepilots, ein Passwort für den Zugriff zu verwenden, angedacht? Wäre eine Unterstützung des Rolloport SX5 möglich?

toralt commented 4 years ago

9/17/2019, 8:24:07 PM] Homebridge is running on port 52232. [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Unknown product: 32000064_S [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Unknown product: 32000064_A [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Found blinds: Lamellenvorhang - Lamellenvorhang Wintergarten [1010022] [9/17/2019, 8:24:08 PM] TypeError: Cannot read property 'toString' of undefined at RademacherBlindsAccessory.RademacherAccessory (/homebridge/node_modules/homebridge-rademacher-homepilot/accessories/RademacherAccessory.js:10:81) at new RademacherBlindsAccessory (/homebridge/node_modules/homebridge-rademacher-homepilot/accessories/RademacherBlindsAccessory.js:6:25) at RademacherHomePilot.addBlindsAccessory (/homebridge/node_modules/homebridge-rademacher-homepilot/index.js:168:40) at /homebridge/node_modules/homebridge-rademacher-homepilot/index.js:51:34 at Array.forEach () at Request._callback (/homebridge/node_modules/homebridge-rademacher-homepilot/index.js:43:30) at Request.self.callback (/homebridge/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request. (/homebridge/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1161:10) at Request.emit (events.js:198:13) [9/17/2019, 8:24:08 PM] Got SIGTERM, shutting down Homebridge...

toralt commented 4 years ago

still not working for me. Since the last patch I got at least [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Unknown product: 32000064_S [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Unknown product: 32000064_A and with the first Actor [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Found blinds: Lamellenvorhang - Lamellenvorhang Wintergarten [1010022] it crashes.

the last one is a 9471-2 Actor. guess I'm the only one who has one of these.

bombadiltom commented 4 years ago

@toralt please reinstall the plugin, I can't see the problem, the toString is called on the deviceNumber which must be present to recognize it as blinds...

What are these? [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Unknown product: 32000064_S [9/17/2019, 8:24:08 PM] [RademacherHomePilot] Unknown product: 32000064_A

toralt commented 4 years ago

@bombadiltom ok, I'll try it.

I guess that these are my Switches, not sure. 9494-1

canoben commented 4 years ago

Ich benutze das Plugin in einem Docker Container auf einer NAS. Ich habe dort kein git. Gibt es eine andere Möglichkeit das Plugin manuell up-to-date zu bekommen?

toralt commented 4 years ago

Bei mir läuft es auch im Docker, via Terminal kann man sich das schon laden. Ich bekomme es aber nicht zum laufen. Wobei ich nicht weiß, was genau mein Problem ist. Hab den Docker seit gestern bestimmt schon 50 mal neu installiert aber ich bekomme immer wieder den gleichen Fehler beim Plugin.

bombadiltom commented 4 years ago

@toralt added some logging, please pull and retry

toralt commented 4 years ago

[9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 32000064_A [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Found blinds: Lamellenvorhang - Lamellenvorhang Wintergarten [1010022] [9/18/2019, 9:55:21 AM] [RademacherHomePilot] 35000662 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] { description: 'Lamellenvorhang Wintergarten', deviceGroup: 2, did: 1010022, hasErrors: 0, iconSetInverted: 0, iconSet: { k: 'iconset9' }, messages: [], name: 'Lamellenvorhang', properties: { closingContact: 3, dawn: 3, dusk: 3, motion: 3, rain: 3, smartphone: 3, smoke: 3, sun: 3, temperature: 3, time: 3, trigger: 3, warning: 3, wind: 3 }, statusValid: true, statusesMap: { Manuellbetrieb: 0, Position: 0, slatposition: 0 }, visible: true, deviceNumber: '35000662', uid: '42be31_1', voiceControlledBy: '' } [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Added blinds: Lamellenvorhang - Lamellenvorhang Wintergarten [1010022] [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Unknown product: 35001164 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Found blinds: Kitchen Rolladen - Fenster Kitchen [1010004] [9/18/2019, 9:55:21 AM] [RademacherHomePilot] 27601565 [9/18/2019, 9:55:21 AM] [RademacherHomePilot] { description: 'Fenster Kitchen', deviceGroup: 2, did: 1010004, hasErrors: 0, iconSetInverted: 0, iconSet: { k: 'iconset8' }, messages: [], name: 'Kitchen Rolladen', properties: { closingContact: 3, dawn: 3, dusk: 2, motion: 3, rain: 3, smartphone: 3, smoke: 3, sun: 2, temperature: 3, time: 2, trigger: 3, warning: 3, wind: 3 }, statusValid: true, statusesMap: { Manuellbetrieb: 0, Position: 40 }, visible: true, deviceNumber: '27601565', uid: '498df4_1', voiceControlledBy: '' } [9/18/2019, 9:55:21 AM] [RademacherHomePilot] Added blinds: Kitchen Rolladen - Fenster Kitchen [1010004] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Found blinds: Guestroom Rolladen - Fenster Guestroom [1010003] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] 27601565 [9/18/2019, 9:55:22 AM] [RademacherHomePilot] { description: 'Fenster Guestroom', deviceGroup: 2, did: 1010003, hasErrors: 0, iconSetInverted: 0, iconSet: { k: 'iconset8' }, messages: [], name: 'Guestroom Rolladen', properties: { closingContact: 3, dawn: 3, dusk: 2, motion: 3, rain: 3, smartphone: 3, smoke: 3, sun: 2, temperature: 3, time: 2, trigger: 3, warning: 3, wind: 3 }, statusValid: true, statusesMap: { Manuellbetrieb: 0, Position: 50 }, visible: true, deviceNumber: '27601565', uid: '498e00_1', voiceControlledBy: '' } [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Added blinds: Guestroom Rolladen - Fenster Guestroom [1010003] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Found blinds: Schlafzimmer Rolladen - Fenster Schlafzimmer [1010002] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] 27601565 [9/18/2019, 9:55:22 AM] [RademacherHomePilot] { description: 'Fenster Schlafzimmer', deviceGroup: 2, did: 1010002, hasErrors: 0, iconSetInverted: 0, iconSet: { k: 'iconset8' }, messages: [], name: 'Schlafzimmer Rolladen', properties: { closingContact: 3, dawn: 3, dusk: 2, motion: 3, rain: 3, smartphone: 3, smoke: 3, sun: 2, temperature: 3, time: 2, trigger: 3, warning: 3, wind: 3 }, statusValid: true, statusesMap: { Manuellbetrieb: 0, Position: 0 }, visible: true, deviceNumber: '27601565', uid: '498dff_1', voiceControlledBy: '' } [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Added blinds: Schlafzimmer Rolladen - Fenster Schlafzimmer [1010002] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Found blinds: Wohnzimmer Rolladen groß - großes Fenster Wohnzimmer [1010001] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] 27601565 [9/18/2019, 9:55:22 AM] [RademacherHomePilot] { description: 'großes Fenster Wohnzimmer', deviceGroup: 2, did: 1010001, hasErrors: 0, iconSetInverted: 0, iconSet: { k: 'iconset8' }, messages: [], name: 'Wohnzimmer Rolladen groß', properties: { closingContact: 3, dawn: 3, dusk: 2, motion: 3, rain: 3, smartphone: 3, smoke: 3, sun: 2, temperature: 3, time: 2, trigger: 3, warning: 3, wind: 3 }, statusValid: true, statusesMap: { Manuellbetrieb: 0, Position: 0 }, visible: true, deviceNumber: '27601565', uid: '498deb_1', voiceControlledBy: '' } [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Added blinds: Wohnzimmer Rolladen groß - großes Fenster Wohnzimmer [1010001] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Found blinds: Wohnzimmer Rolladen klein - kleines Fenster Wohnzimmer [1010000] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] 27601565 [9/18/2019, 9:55:22 AM] [RademacherHomePilot] { description: 'kleines Fenster Wohnzimmer', deviceGroup: 2, did: 1010000, hasErrors: 0, iconSetInverted: 0, iconSet: { k: 'iconset8' }, messages: [], name: 'Wohnzimmer Rolladen klein', properties: { closingContact: 3, dawn: 3, dusk: 2, motion: 3, rain: 3, smartphone: 3, smoke: 3, sun: 2, temperature: 3, time: 2, trigger: 3, warning: 3, wind: 3 }, statusValid: true, statusesMap: { Manuellbetrieb: 0, Position: 0 }, visible: true, deviceNumber: '27601565', uid: '498dec_1', voiceControlledBy: '' } [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Added blinds: Wohnzimmer Rolladen klein - kleines Fenster Wohnzimmer [1010000] [9/18/2019, 9:55:22 AM] [RademacherHomePilot] Unknown product: 32000064_S

toralt commented 4 years ago

Scheint als würde er nur die Rolläden finden?!

bombadiltom commented 4 years ago

added logging for unknown devices