Closed cgmckeever closed 2 years ago
I think its this Homebridge Error (DEBUG MODE enabled) that is bouncing it .. still parsing the error itself
[12/29/2021, 8:38:40 AM] [homebridge-hubitat-makerapi] This plugin threw an error from the characteristic 'Brightness': Unhandled error thrown inside read handler for characteristic: Characteristic is not defined. See https://git.io/JtMGR for more info.
[12/29/2021, 8:38:40 AM] [homebridge-hubitat-makerapi] ReferenceError: Characteristic is not defined
at validateValue (/homebridge/node_modules/homebridge-hubitat-makerapi/lib/validate.js:178:35)
at Brightness.<anonymous> (/homebridge/node_modules/homebridge-hubitat-makerapi/accessories/he_st_accessories.js:650:40)
at Brightness.emit (node:events:390:28)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1544:14
at new Promise (<anonymous>)
at Brightness.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1542:12)
at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
at new Promise (<anonymous>)
at __awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
at Brightness.Characteristic.handleGetRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:656:38)
at Brightness.Characteristic.getValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1252:10)
at HE_ST_Accessory.loadData (/homebridge/node_modules/homebridge-hubitat-makerapi/accessories/he_st_accessories.js:1614:63)
at /homebridge/node_modules/homebridge-hubitat-makerapi/index.js:218:47
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Possible issue with MakerAPI and lighting that are offline, working it there and will update here if there is anything relevant directly to dockerizing
https://github.com/danTapps/homebridge-hubitat-makerapi/issues/23
closing. Its been up for 30+ hours now. I think it had to do with that cranky makerapi call
Describe Your Problem:
Container will run properly for a while and the fall over/restart multiple times in the day. No identifiable amount of time between restarts.
docker ps -a
shows the restart [up 1 min], Homebridge UI shows a longer uptime [up 12 hours] (screenshots below).Im going to turn off the auto-restart and see if there are any more logs that are persisted.
This is running on a RASP-PI 2 (B?) -- The load seems insignificant (screenshot) - but I wonder if when a update refresh request comes in it just gets knocked over?
Logs:
docker logs CONTAINER-ID
Docker Start Command:
systemd
homebridge.sh
Homebridge Config:
Screenshots:
Environment:
Server: Docker Engine - Community Engine: Version: 20.10.12 API version: 1.41 (minimum version 1.12) Go version: go1.16.12 Git commit: 459d0df Built: Mon Dec 13 11:43:45 2021 OS/Arch: linux/arm Experimental: false containerd: Version: 1.4.12 GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d runc: Version: 1.0.2 GitCommit: v1.0.2-0-g52b36a2 docker-init: Version: 0.19.0 GitCommit: de40ad0