TJForc / risco-lan-bridge

risco-lan-bridge is a "bridge" between a node.js application and a Risco Panel
Other
21 stars 12 forks source link

Problem with Panel Id #16

Closed kkmaslowski closed 2 years ago

kkmaslowski commented 2 years ago

I'm trying to test your library with Partitions_Events.js. I have LightSys2 with RW132IP.

I set IP address, Panel Id, Panel password and changed panel to LightSys.

When I start Partitions_Events.js it iterates over penel Ids:

CRC Not Ok
Panel Id is not : 9967
Pseudo Buffer Created for Panel Id(9966): 
[220,184,112,225,194,132,8,16,32,65,131,7,15,31,62,125,250,244,232,209,163,71,142,28,56,112,224,193,131,6,12,24,49,99,199,143,31,62,125,250,244,232,208,160,65,130,5,11,22,44,88,176,96,192,129,2,5,11,23,47,95,191,126,252,248,241,227,199,142,28,57,115,231,207,159,62,124,249,243,230,204,152,48,96,192,128,1,3,6,13,26,52,104,209,162,69,139,23,47,94,189,122,245,235,215,174,92,184,113,226,197,138,20,41,83,166,77,155,55,110,221,186,116,232,209,163,70,140,25,50,101,203,150,44,88,177,98,197,139,23,46,93,186,116,233,210,165,74,149,42,85,171,87,174,93,187,118,236,217,179,103,206,157,58,117,234,212,169,83,166,77,154,52,104,209,162,68,137,19,38,77,155,54,108,216,177,98,197,139,23,46,92,184,112,224,192,129,3,7,14,28,57,115,231,207,159,63,127,255,255,255,255,254,252,249,243,230,205,154,53,107,214,172,88,176,96,193,131,7,14,29,59,118,236,217,178,101,203,151,47,94,189,123,247,238,220,185,114,228,201,147,38,77,154,53]
Command CRC Value : FFFF
CRC Not Ok
Panel Id is not : 9966
Pseudo Buffer Created for Panel Id(9965): 
[219,182,108,217,179,103,207,158,60,121,242,228,200,145,35,70,141,27,54,108,216,176,96,192,128,1,2,5,11,22,44,89,178,101,203,151,47,94,189,122,244,233,210,165,74,149,42,84,168,81,162,68,136,16,32,64,128,1,2,4,9,19,38,76,153,50,100,201,146,36,73,146,36,72,144,33,67,134,12,25,50,100,201,147,38,76,152,49,99,199,142,29,59,118,237,218,180,104,209,162,69,139,23,46,93,187,118,236,216,177,98,197,139,23,46,92,185,114,229,203,150,44,89,179,102,205,155,55,110,221,186,116,233,210,165,74,149,42,84,169,82,165,74,148,40,81,163,71,143,30,60,120,240,225,194,132,9,19,38,76,153,50,101,202,148,40,80,161,66,132,9,18,37,74,149,42,84,168,81,163,71,142,28,57,115,230,205,155,55,111,223,191,127,255,254,252,249,243,230,205,154,52,105,211,167,79,159,62,124,249,243,230,205,154,52,105,210,164,72,145,34,68,136,16,33,67,134,12,24,49,99,198,140,25,51,103,206,156,56,113,226,196,137,18,36,72,145,35,71,143,31,62,125,250,244]
Command CRC Value : FFFF
CRC Not Ok

etc. Partitions_Events.log Full log attached and Partitions_Events.js. Partitions_Events.js.txt

kkmaslowski commented 2 years ago

Fixed in vanackej build https://github.com/vanackej/risco-mqtt-local/issues/20