Closed NicciZar closed 2 months ago
Hi,
Payload definition of TS30x doesn't say that "magnet_chn1_alarm" exists but in the decoder.js it does exist. (line 109)
line 108 data.magnet_chn1 = readInt16LE(bytes.slice(i, i + 2)) === 0 ? "closed" : "opened"; line 109 data.magnet_chn1_alarm = "threshold"; line 110 break;
Is this correct or should this be a different property?
https://github.com/Milesight-IoT/SensorDecoders/tree/main/TS_Series/TS30x#historical-data-channel-mask
Since we haven't heard back from you for a while, we will proceed to close this issue. If you encounter any other problems, don't hesitate to open an issue.
Hi,
Payload definition of TS30x doesn't say that "magnet_chn1_alarm" exists but in the decoder.js it does exist. (line 109)
Is this correct or should this be a different property?