WS: add protocol Acurite-606TX, LaCrosse_TX141THBv2

OFW PR 1898 by Skorpionm - Details will be in changelog
This commit is contained in:
MX
2022-10-20 19:14:04 +03:00
parent 2740368b0e
commit 96dd3ad1ce
16 changed files with 1015 additions and 49 deletions

View File

@@ -127,7 +127,7 @@ static void ws_protocol_nexus_th_remote_controller(WSBlockGeneric* instance) {
instance->id = (instance->data >> 28) & 0xFF;
instance->battery_low = !((instance->data >> 27) & 1);
instance->channel = ((instance->data >> 24) & 0x03) + 1;
instance->btn = WS_NO_BTN;
if(!((instance->data >> 23) & 1)) {
instance->temp = (float)((instance->data >> 12) & 0x07FF) / 10.0f;
} else {