Thanks for the calcification. Makes total sense! Just starting to mess around with HomeKit. I was wondering about buttons because the HSM shows a button like switch (Arm, Disarm, etc).
Here are the last bit of logs from the Hubconnect and Hoobs.
Hubconnect Logs
[1/22/2020, 08:17:25] [Hubitat hhh:0.3.8] HE websocket sending keepalive ping
[1/22/2020, 08:17:25] [Hubitat hhh:0.3.8] HE got pong
[1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Refreshing All Device Data
[1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/devices/get', method: 'GET' }
[1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Received All Device Data
[1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Loading HSM
[1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/hsm/get', method: 'GET' }
[1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Processing HSM
[1/22/2020, 08:18:06] [Hubitat hhh:0.3.8] send ping
[1/22/2020, 08:18:06] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/ping', method: 'GET' }
[1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/event/337/push/["1"]', method: 'GET' }
[1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] Received new ws message: {"source":"DEVICE","name":"pushed","displayName":"Test Homekit Keypad","value":"1","unit":null,"deviceId":337,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Test Homekit Keypad button 1 was pushed"}
[1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] Change Event (Socket): (Test Homekit Keypad:337) [PUSHED] is 1
[1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] Change Event: (337) [PUSHED] is 1
- this is the end of the log before it crashed.
Hoobs Logs
[Homebridge] [1/22/2020, 08:17:25] [Hubitat hhh:0.3.8] HE websocket sending keepalive ping
[Homebridge] [1/22/2020, 08:17:25] [Hubitat hhh:0.3.8] HE got pong
[Homebridge] [1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Refreshing All Device Data
[Homebridge] [1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/devices/get', method: 'GET' }
[Homebridge] [1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Received All Device Data
[Homebridge] [1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Loading HSM
[Homebridge] [1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/hsm/get', method: 'GET' }
[Homebridge] [1/22/2020, 08:18:04] [Hubitat hhh:0.3.8] Processing HSM
[Homebridge] [1/22/2020, 08:18:06] [Hubitat hhh:0.3.8] send ping
[Homebridge] [1/22/2020, 08:18:06] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/ping', method: 'GET' }
[Homebridge] [1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] GET: { debug: false, path: '/event/337/push/["1"]', method: 'GET' }
[Homebridge] [1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] Received new ws message: {"source":"DEVICE","name":"pushed","displayName":"Test Homekit Keypad","value":"1","unit":null,"deviceId":337,"hubId":null,"locationId":null,"installedAppId":null,"descriptionText":"Test Homekit Keypad button 1 was pushed"}
[Homebridge] [1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] Change Event (Socket): (Test Homekit Keypad:337) [PUSHED] is 1
[Homebridge] uncaughtException: platform is not defined
[Homebridge] [1/22/2020, 08:18:10] ReferenceError: platform is not defined
at HE_ST_Platform.processFieldUpdate (/home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/index.js:765:66)
at /home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/lib/receiver-homebridge-hubitat-hubconnect.js:665:30
at Array.forEach ()
at WebSocket.ws.onmessage (/home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/lib/receiver-homebridge-hubitat-hubconnect.js:663:27)
at WebSocket.onMessage (/home/hoobs/.hoobs/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:210:5)
at Receiver.receiverOnMessage (/home/hoobs/.hoobs/node_modules/ws/lib/websocket.js:800:20)
at Receiver.emit (events.js:210:5)
at Receiver.dataMessage (/home/hoobs/.hoobs/node_modules/ws/lib/receiver.js:423:14)
at Receiver.getData (/home/hoobs/.hoobs/node_modules/ws/lib/receiver.js:353:17)
at Receiver.startLoop (/home/hoobs/.hoobs/node_modules/ws/lib/receiver.js:139:22)
at Receiver._write (/home/hoobs/.hoobs/node_modules/ws/lib/receiver.js:74:10)
at doWrite (_stream_writable.js:431:12)
at writeOrBuffer (_stream_writable.js:415:5)
at Receiver.Writable.write (_stream_writable.js:305:11)
at Socket.socketOnData (/home/hoobs/.hoobs/node_modules/ws/lib/websocket.js:875:35)
[Homebridge] uncaughtException: platform is not defined
[Homebridge] [1/22/2020, 08:18:10] Got SIGTERM, shutting down service...
[Homebridge] [1/22/2020, 08:18:10] [Hubitat hhh:0.3.8] Change Event: (337) [PUSHED] is 1
[Homebridge] ReferenceError: platform is not defined
[Homebridge] at HE_ST_Platform.processFieldUpdate (/home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/index.js:765:66)
[Homebridge] at /home/hoobs/.hoobs/node_modules/homebridge-hubitat-hubconnect/lib/receiver-homebridge-hubitat-hubconnect.js:208:26
[Homebridge] at Layer.handle [as handle_request] (/home/hoobs/.hoobs/node_modules/express/lib/router/layer.js:95:5)
[Homebridge] at next (/home/hoobs/.hoobs/node_modules/express/lib/router/route.js:137:13)
[Homebridge] at Route.dispatch (/home/hoobs/.hoobs/node_modules/express/lib/router/route.js:112:3)
[Homebridge] at Layer.handle [as handle_request] (/home/hoobs/.hoobs/node_modules/express/lib/router/layer.js:95:5)
[Homebridge] at /home/hoobs/.hoobs/node_modules/express/lib/router/index.js:281:22
[Homebridge] at param (/home/hoobs/.hoobs/node_modules/express/lib/router/index.js:354:14)
[Homebridge] at param (/home/hoobs/.hoobs/node_modules/express/lib/router/index.js:365:14)
[Homebridge] at param (/home/hoobs/.hoobs/node_modules/express/lib/router/index.js:365:14)
[Homebridge] at Function.process_params (/home/hoobs/.hoobs/node_modules/express/lib/router/index.js:410:3)
[Homebridge] at next (/home/hoobs/.hoobs/node_modules/express/lib/router/index.js:275:10)
[Homebridge] at jsonParser (/home/hoobs/.hoobs/node_modules/body-parser/lib/types/json.js:110:7)
[Homebridge] at Layer.handle [as handle_request] (/home/hoobs/.hoobs/node_modules/express/lib/router/layer.js:95:5)
[Homebridge] at trim_prefix (/home/hoobs/.hoobs/node_modules/express/lib/router/index.js:317:13)
[Homebridge] at /home/hoobs/.hoobs/node_modules/express/lib/router/index.js:284:7
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
[Refresh Services] connect ECONNREFUSED 127.0.0.1:51826
- It just keeps repeating a Refresh Services