homebridge-smartsystem
Version:
SmartServer (Proxy Websockets to TCP sockets, Smappee MQTT, Duotecno IP Nodes, Homekit interface)
74 lines (70 loc) • 4.63 kB
Plain Text
...
accessory: getState was called for SB 1 - Lamp-Bottom -> 1
smartapp: HTTP-Switch(true) -> http://localhost:3001/api/demo/haha?set=true
smartapp: The request to http://localhost:3001/api/demo/haha?set=true, error:
accessory: getState was called for SB 1 - Lamp-Top -> 1
accessory: setPower: *** waiting *** false
accessory: setPower: false
smartapp: The request to http://192.168.0.96/light/0?brightness=75&turn=off, error: connect EHOSTUNREACH 192.168.0.96:80
smartapp: The request to http://192.168.0.96/light/0?brightness=75&turn=off, error: connect EHOSTUNREACH 192.168.0.96:80
master: 192.168.0.97: receiveRegister(1) = 3450
accessory: setPower: *** waiting *** false
accessory: setPower: false
master: 192.168.0.97: receiveRegister(12) = 696
power: smappee > RealTime totals: Power = 4350, Export = 72508338000, Import = 532857808800
master: 192.168.0.97: receiveRegister(2) = 914
power: p1 > RealTime totals: Power = 915, Export = 15971.894, Import = 60105.418
master: 192.168.0.97: Received heartbeat at Tue May 20 2025 10:20:19 GMT+0200 (Central European Summer Time)
master: 192.168.0.5: Received heartbeat at Tue May 20 2025 10:20:19 GMT+0200 (Central European Summer Time)
power: shelly > RealTime totals: Power = 132.24, Export = 0, Import = 265734.9
master: 192.168.0.97: receiveRegister(1) = 3450
master: 192.168.0.97: receiveRegister(12) = 914
accessory: get CurrentPosition was called of Salon Top
accessory: get PositionState was called of Salon Top -> 0
accessory: get Characteristic.TargetPosition was called
accessory: get CurrentPosition was called of Tim Small
accessory: get PositionState was called of Tim Small -> 0
accessory: get Characteristic.TargetPosition was called
...
accessory: getBrightness was called for SB 1 - Red LED -> 75
accessory: getState was called for SB 1 - Lamp-Bottom -> 1
smartapp: HTTP-Switch(true) -> http://localhost:3001/api/demo/haha?set=true
smartapp: The request to http://localhost:3001/api/demo/haha?set=true, error:
accessory: getState was called for SB 1 - Lamp-Top -> 1
accessory: setBrightness 54
accessory: setBrightness 55
accessory: setBrightness 73
accessory: setBrightness 63
master: 192.168.0.97: receiveRegister(2) = 757
accessory: setBrightness 100
[20/05/2025, 10:20:36] TypeError: Cannot read properties of undefined (reading 'message')
at ClientRequest.<anonymous> (/var/lib/homebridge/node_modules/homebridge-smartsystem/server/smartapp.js:706:91)
at ClientRequest.emit (node:events:518:28)
at Socket.emitRequestTimeout (node:_http_client:863:9)
at Object.onceWrapper (node:events:632:28)
at Socket.emit (node:events:530:35)
at Socket._onTimeout (node:net:609:8)
at listOnTimeout (node:internal/timers:588:17)
at processTimers (node:internal/timers:523:7)
[20/05/2025, 10:20:36] Got SIGTERM, shutting down Homebridge...
[20/05/2025, 10:20:36] TypeError: Cannot read properties of undefined (reading 'message')
at ClientRequest.<anonymous> (/var/lib/homebridge/node_modules/homebridge-smartsystem/server/smartapp.js:706:91)
at ClientRequest.emit (node:events:518:28)
at Socket.emitRequestTimeout (node:_http_client:863:9)
at Object.onceWrapper (node:events:632:28)
at Socket.emit (node:events:530:35)
at Socket._onTimeout (node:net:609:8)
at listOnTimeout (node:internal/timers:588:17)
at processTimers (node:internal/timers:523:7)
master: 192.168.0.97: receiveRegister(1) = 3359
[20/05/2025, 10:20:41] [HB Supervisor] Homebridge process ended. Code: 143, signal: null.
[20/05/2025, 10:20:46] [HB Supervisor] Restarting Homebridge...
-- Grote Moerstraat --
smartapp: HTTP-Switch(true) -> http://192.168.0.200/fcgi/do?action=OpenDoor&UserName=admin&Password=Grote46b&DoorNum=1
smartapp> Sending to http://192.168.0.200/fcgi/do?action=OpenDoor&UserName=admin&Password=Grote46b&DoorNum=1 with options: {"method":"GET"}
smartapp> http GET -> 200: http://192.168.0.200/fcgi/do?action=OpenDoor&UserName=admin&Password=Grote46b&DoorNum=1 = {"retcode":0,"message":"OK"}
smartapp: HTTP-Switch(false) -> http://192.168.0.200/fcgi/do?action=OpenDoor&UserName=admin&Password=Grote46b&DoorNum=xxx
smartapp> Sending to http://192.168.0.200/fcgi/do?action=OpenDoor&UserName=admin&Password=Grote46b&DoorNum=xxx with options: {"method":"GET"}
smartapp> http GET -> 200: http://192.168.0.200/fcgi/do?action=OpenDoor&UserName=admin&Password=Grote46b&DoorNum=xxx = {"retcode":-2,"message":"Error Param"}
power: smappee > RealTime totals: Power = 4431, Export = 72509864400, Import = 532865754000
master: 192.168.0.8: Received heartbeat at Tue May 20 2025 10:44:27 GMT+0200 (Central European Summer