Skip to content

Instantly share code, notes, and snippets.

[{"_id":"2d99c394-aa13-4c3f-8cf6-f75bde36ebe4","device":"Tomato","dateString":"2019-04-14T09:04:40.967-0500","sysTime":"2019-04-14T09:04:40.967-0500","date":1555250680967,"sgv":112,"delta":8.101,"direction":"FortyFiveUp","noise":1,"filtered":126705,"unfiltered":126705,"rssi":100,"type":"sgv","units_hint":"mgdl"},{"_id":"2c858de0-3a76-4387-aaea-78846203604b","device":"Tomato","dateString":"2019-04-14T08:59:40.962-0500","sysTime":"2019-04-14T08:59:40.962-0500","date":1555250380962,"sgv":104,"delta":7.540,"direction":"FortyFiveUp","noise":1,"filtered":118235,"unfiltered":118235,"rssi":100,"type":"sgv"},{"_id":"a99f1841-5d0e-4845-88ec-7ffe7a119ae3","device":"Tomato","dateString":"2019-04-14T08:54:41.051-0500","sysTime":"2019-04-14T08:54:41.051-0500","date":1555250081051,"sgv":97,"delta":6.413,"direction":"FortyFiveUp","noise":1,"filtered":110352,"unfiltered":110352,"rssi":100,"type":"sgv"},{"_id":"d881ee92-7003-4a46-adc3-89112c19e256","device":"Tomato","dateString":"2019-04-14T08:49:41.041-0500","sysTime":"2019-0
diff --git a/controller/comms/Comms.ts b/../../pool2/nodejs-poolController/controller/comms/Comms.ts
index 38289b8..1f8a77e 100755
--- a/controller/comms/Comms.ts
+++ b/../../pool2/nodejs-poolController/controller/comms/Comms.ts
@@ -22,7 +22,7 @@ import { logger } from '../../logger/Logger';
import * as net from 'net';
import { setTimeout, setInterval } from 'timers';
import { Message, Outbound, Inbound, Response } from './messages/Messages';
-import { OutboundMessageError } from '../Errors';
+import { MessageError, OutboundMessageError } from '../Errors';
@loopy321
loopy321 / gist:b115a510421e48eb63fa180c206b0fb5
Created September 24, 2023 21:51
wz_mini Floodlight not staying on when turned on in app
***ENABLE FLOODLIGHT IN APP***
iCamera: [iot.c:130](iot_send):{"mac":"XXXXXXXXXXXX","model":"WYZE_CAKP2JFUS","data":{"P1056":"2"},"ts":XXXXXXXXXXXX} (ret95, len:87)
iCamera: [iot.c:1908]iot_send success :{"mac":"XXXXXXXXXXXX","model":"WYZE_CAKP2JFUS","data":{"P1056":"2"},"ts":XXXXXXXXXXXX}!!
iCamera: [iot.c:1897]iot return ack
iCamera: [iot.c:130](iot_send):{"Guid":"XXXXXXXXXXXX","ts":"XXXXXXXXXXXX","result":"1"} (ret85, len:77)
iCamera: [iot.c:1908]iot_send success :{"Guid":"XXXXXXXXXXXX","ts":"XXXXXXXXXXXX","result":"1"}!!
iCamera: [flood_light.c:3028](floodlight_running) ###pst->flightSwitchNew:1,pTmpStr->flightSwitch:1
iCamera: [flood_light.c:3192]handleStatusOld:[2], pst->handleStatus:[1]
iCamera: [flood_light.c:3193]nightModeSwitchOld:[3], nightModeSwitchNew:[3]