bombadiltom / homebridge-rademacher-homepilot

MIT License
26 stars 21 forks source link

v0.2.1 with Rademacher Homepilot v5.0.41 #30

Closed ApplesandPears closed 4 years ago

ApplesandPears commented 4 years ago

Hi all, I have experienced an issue with automation of Rademacher equipment via homebridge-rademacher-homepilot in homekit after upgrading Homepilot to 5.0.41.

I am running version 4.3 of marcoraddatz/homebridge on my Synology. Currently installed homebridge-rademacher-homepilot version is 0.2.1.

Rademacher released 5.0.41 on the 23rd September 2019. After updating the Homepilot to 5.0.41 (web rademacher-homepilot-web: v5.0.1), it shows me the status (open/close/percentage) of my roller shutters, but it doesn't let me open or close them.

Has anyone else experienced issues after updating Homepilot to v5.0.41?

Error seems to be: TypeError: Cannot read property 'getCharacteristic' of undefined. Full until SIGTERM attached in error.txt

Thanks in advance & best regards ApplesandPears

error.txt

ApplesandPears commented 4 years ago

No idea?

bombadiltom commented 4 years ago

please retest with 0.2.4

ApplesandPears commented 4 years ago

Thank you bombadiltom. Doesn't work with 0.2.5 (currently testing 0.2.4)

date stream content
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] Got SIGTERM, shutting down Homebridge...
2019-10-08 01:05:47 stdout at process._tickCallback (internal/process/next_tick.js:63:19)
2019-10-08 01:05:47 stdout at endReadableNT (_stream_readable.js:1125:12)
2019-10-08 01:05:47 stdout at IncomingMessage.emit (events.js:194:15)
2019-10-08 01:05:47 stdout at Object.onceWrapper (events.js:277:13)
2019-10-08 01:05:47 stdout at IncomingMessage. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1083:12)
2019-10-08 01:05:47 stdout at Request.emit (events.js:189:13)
2019-10-08 01:05:47 stdout at Request. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1161:10)
2019-10-08 01:05:47 stdout at Request.emit (events.js:189:13)
2019-10-08 01:05:47 stdout at Request.self.callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:185:22)
2019-10-08 01:05:47 stdout at Request._callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/accessories/RademacherHomePilotSession.js:117:13)
2019-10-08 01:05:47 stdout at handleActuators (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:43:34)
2019-10-08 01:05:47 stdout at Array.forEach ()
2019-10-08 01:05:47 stdout at /usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:77:58
2019-10-08 01:05:47 stdout at new RademacherThermostatAccessory (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/accessories/RademacherThermostatAccessory.js:18:18)
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] TypeError: Cannot read property 'getCharacteristic' of undefined
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] thermostat is online: Thermostat Schlafzimmer [1010018]
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] blinds are online: Rollade Schlafzimmer [1010020]
2019-10-08 01:05:47 stdout visible: true }
2019-10-08 01:05:47 stdout uid: '705c71_S_1',
2019-10-08 01:05:47 stdout deviceNumber: '36500572_S',
2019-10-08 01:05:47 stdout statusValid: true,
2019-10-08 01:05:47 stdout name: 'Troll Sonnensensor Terrasse',
2019-10-08 01:05:47 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:05:47 stdout iconSetInverted: 0,
2019-10-08 01:05:47 stdout timestamp: -1,
2019-10-08 01:05:47 stdout readings: { sun_detected: false },
2019-10-08 01:05:47 stdout automations: [ 30 ],
2019-10-08 01:05:47 stdout did: 1010004,
2019-10-08 01:05:47 stdout deviceGroup: 3,
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:05:47 stdout visible: true }
2019-10-08 01:05:47 stdout uid: '705ec0_S_1',
2019-10-08 01:05:47 stdout deviceNumber: '36500572_S',
2019-10-08 01:05:47 stdout statusValid: true,
2019-10-08 01:05:47 stdout name: 'Troll Sonnensensor WZ Seite',
2019-10-08 01:05:47 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:05:47 stdout iconSetInverted: 0,
2019-10-08 01:05:47 stdout timestamp: -1,
2019-10-08 01:05:47 stdout readings: { sun_detected: false },
2019-10-08 01:05:47 stdout automations: [ 30 ],
2019-10-08 01:05:47 stdout did: 1010005,
2019-10-08 01:05:47 stdout deviceGroup: 3,
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] temperature sensor is online: Ihre Gerätebeschreibung [1010006]
2019-10-08 01:05:47 stdout visible: true }
2019-10-08 01:05:47 stdout uid: '705c77_S_1',
2019-10-08 01:05:47 stdout deviceNumber: '36500572_S',
2019-10-08 01:05:47 stdout statusValid: true,
2019-10-08 01:05:47 stdout name: 'Troll Sonnensensor Küche',
2019-10-08 01:05:47 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:05:47 stdout iconSetInverted: 0,
2019-10-08 01:05:47 stdout timestamp: -1,
2019-10-08 01:05:47 stdout readings: { sun_detected: false },
2019-10-08 01:05:47 stdout automations: [ 30 ],
2019-10-08 01:05:47 stdout did: 1010007,
2019-10-08 01:05:47 stdout deviceGroup: 3,
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] temperature sensor is online: Ihre Gerätebeschreibung [1010009]
2019-10-08 01:05:47 stdout visible: true }
2019-10-08 01:05:47 stdout uid: '705eba_S_1',
2019-10-08 01:05:47 stdout deviceNumber: '36500572_S',
2019-10-08 01:05:47 stdout statusValid: true,
2019-10-08 01:05:47 stdout name: 'Troll Sonnensensor Bad',
2019-10-08 01:05:47 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:05:47 stdout iconSetInverted: 0,
2019-10-08 01:05:47 stdout timestamp: -1,
2019-10-08 01:05:47 stdout readings: { sun_detected: false },
2019-10-08 01:05:47 stdout automations: [ 30 ],
2019-10-08 01:05:47 stdout did: 1010011,
2019-10-08 01:05:47 stdout deviceGroup: 3,
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] temperature sensor is online: Ihre Gerätebeschreibung [1010013]
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] temperature sensor is online: Ihre Gerätebeschreibung [1010015]
2019-10-08 01:05:47 stdout visible: true }
2019-10-08 01:05:47 stdout uid: '705d51_S_1',
2019-10-08 01:05:47 stdout deviceNumber: '36500572_S',
2019-10-08 01:05:47 stdout statusValid: true,
2019-10-08 01:05:47 stdout name: 'Troll Sonnensensor Arbeitszimmer',
2019-10-08 01:05:47 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:05:47 stdout iconSetInverted: 0,
2019-10-08 01:05:47 stdout timestamp: -1,
2019-10-08 01:05:47 stdout readings: { sun_detected: false },
2019-10-08 01:05:47 stdout automations: [ 30 ],
2019-10-08 01:05:47 stdout did: 1010017,
2019-10-08 01:05:47 stdout deviceGroup: 3,
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] temperature sensor is online: Ihre Gerätebeschreibung [1010019]
2019-10-08 01:05:47 stdout visible: true }
2019-10-08 01:05:47 stdout uid: '705eb2_S_1',
2019-10-08 01:05:47 stdout deviceNumber: '36500572_S',
2019-10-08 01:05:47 stdout statusValid: true,
2019-10-08 01:05:47 stdout name: 'Troll Sonnensensor Schlafzimmer',
2019-10-08 01:05:47 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:05:47 stdout iconSetInverted: 0,
2019-10-08 01:05:47 stdout timestamp: -1,
2019-10-08 01:05:47 stdout readings: { sun_detected: false },
2019-10-08 01:05:47 stdout automations: [ 30 ],
2019-10-08 01:05:47 stdout did: 1010021,
2019-10-08 01:05:47 stdout deviceGroup: 3,
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] Homebridge is running on port 51826.
2019-10-08 01:05:47 stdout [10/8/2019, 1:05:47 AM] [homebridge-soundtouch-platform.SoundTouchPlatform] Searching accessories...
ApplesandPears commented 4 years ago

With 0.2.4.

2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] Got SIGTERM, shutting down Homebridge...
2019-10-08 01:14:58 stdout at process._tickCallback (internal/process/next_tick.js:63:19)
2019-10-08 01:14:58 stdout at endReadableNT (_stream_readable.js:1125:12)
2019-10-08 01:14:58 stdout at IncomingMessage.emit (events.js:194:15)
2019-10-08 01:14:58 stdout at Object.onceWrapper (events.js:277:13)
2019-10-08 01:14:58 stdout at IncomingMessage. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1083:12)
2019-10-08 01:14:58 stdout at Request.emit (events.js:189:13)
2019-10-08 01:14:58 stdout at Request. (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:1161:10)
2019-10-08 01:14:58 stdout at Request.emit (events.js:189:13)
2019-10-08 01:14:58 stdout at Request.self.callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/node_modules/request/request.js:185:22)
2019-10-08 01:14:58 stdout at Request._callback (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/accessories/RademacherHomePilotSession.js:117:13)
2019-10-08 01:14:58 stdout at handleActuators (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:43:34)
2019-10-08 01:14:58 stdout at Array.forEach ()
2019-10-08 01:14:58 stdout at /usr/local/lib/node_modules/homebridge-rademacher-homepilot/index.js:77:58
2019-10-08 01:14:58 stdout at new RademacherThermostatAccessory (/usr/local/lib/node_modules/homebridge-rademacher-homepilot/accessories/RademacherThermostatAccessory.js:18:18)
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] TypeError: Cannot read property 'getCharacteristic' of undefined
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] thermostat is online: Thermostat Schlafzimmer [1010018]
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] blinds are online: Rollade Schlafzimmer [1010020]
2019-10-08 01:14:58 stdout visible: true }
2019-10-08 01:14:58 stdout uid: '705c71_S_1',
2019-10-08 01:14:58 stdout deviceNumber: '36500572_S',
2019-10-08 01:14:58 stdout statusValid: true,
2019-10-08 01:14:58 stdout name: 'Troll Sonnensensor Terrasse',
2019-10-08 01:14:58 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:14:58 stdout iconSetInverted: 0,
2019-10-08 01:14:58 stdout timestamp: -1,
2019-10-08 01:14:58 stdout readings: { sun_detected: false },
2019-10-08 01:14:58 stdout automations: [ 30 ],
2019-10-08 01:14:58 stdout did: 1010004,
2019-10-08 01:14:58 stdout deviceGroup: 3,
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:14:58 stdout visible: true }
2019-10-08 01:14:58 stdout uid: '705ec0_S_1',
2019-10-08 01:14:58 stdout deviceNumber: '36500572_S',
2019-10-08 01:14:58 stdout statusValid: true,
2019-10-08 01:14:58 stdout name: 'Troll Sonnensensor WZ Seite',
2019-10-08 01:14:58 stdout iconSet: { k: 'iconset19' },
2019-10-08 01:14:58 stdout iconSetInverted: 0,
2019-10-08 01:14:58 stdout timestamp: -1,
2019-10-08 01:14:58 stdout readings: { sun_detected: false },
2019-10-08 01:14:58 stdout automations: [ 30 ],
2019-10-08 01:14:58 stdout did: 1010005,
2019-10-08 01:14:58 stdout deviceGroup: 3,
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] { description: 'Ihre Gerätebeschreibung',
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] Unknown product: 36500572_S
2019-10-08 01:14:58 stdout [10/8/2019, 1:14:58 AM] [RademacherHomePilot] temperature sensor is online: Ihre Gerätebeschreibung [1010006]
2019-10-08 01:14:58 stdout visible: true }
bombadiltom commented 4 years ago

seems like the device in persisted as another device type already, please delete it in /etc/homebridge/persist

ApplesandPears commented 4 years ago

Hi Tom, Thank you very much! After deleting JSON files from persist, the error was still existing. I have deleted cachedAccessories as well and now it's working again.

Do you recommend to delete persist and accessories with every update of platform extensions?

Is the root cause potentially the update of Homepilot or what do you think what the root cause could be?

Thanks & regards, ApplesandPears

ApplesandPears commented 4 years ago

Off topic: As well a big THANK YOU to adding DuoFern 9485! Works like a charm!

bombadiltom commented 4 years ago

root cause was me adding the device numbers to wrong device types ;-)

ApplesandPears commented 4 years ago

Thank you Tom! :-D

Will you modify this, which then could require another reset of persist and Accessories?

Thanks & Regards ApplesandPears

Am 08.10.2019 um 13:06 schrieb Tom Lorenz notifications@github.com:

 root cause was me adding the device numbers to wrong device types ;-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

bombadiltom commented 4 years ago

Hopefully all devices are correct now...

ApplesandPears commented 4 years ago

Thank you! All 13 devices are connected now and working.

Am 08.10.2019 um 18:40 schrieb Tom Lorenz notifications@github.com:

 Hopefully all devices are correct now...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.