Skip to content

Commit 42ce4f4

Browse files
authored
Onset Hobo negative decoder Boolean (#618)
1 parent 1979c12 commit 42ce4f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/devices/HOBOMX2001_json.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const char* _HOBOMX2001_json = "{\"brand\":\"Onset\",\"model\":\"Hobo Water Level Sensor\",\"model_id\":\"HOBOMX2001\",\"tag\":\"ff\",\"condition\":[\"manufacturerdata\",\"=\",44,\"index\",0,\"c500\"],\"properties\":{\"lvl_cm\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",36,8,true,false,true],\"post_proc\":[\"*\",100]}}}";
1+
const char* _HOBOMX2001_json = "{\"brand\":\"Onset\",\"model\":\"Hobo Water Level Sensor\",\"model_id\":\"HOBOMX2001\",\"tag\":\"ff\",\"condition\":[\"manufacturerdata\",\"=\",44,\"index\",0,\"c500\"],\"properties\":{\"lvl_cm\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",36,8,true,true,true],\"post_proc\":[\"*\",100]}}}";
22
/* R""""(
33
{
44
"brand":"Onset",
@@ -8,7 +8,7 @@ const char* _HOBOMX2001_json = "{\"brand\":\"Onset\",\"model\":\"Hobo Water Leve
88
"condition":["manufacturerdata", "=", 44, "index", 0, "c500"],
99
"properties":{
1010
"lvl_cm":{
11-
"decoder":["value_from_hex_data", "manufacturerdata", 36, 8, true, false, true],
11+
"decoder":["value_from_hex_data", "manufacturerdata", 36, 8, true, true, true],
1212
"post_proc":["*", 100]
1313
}
1414
}

0 commit comments

Comments
 (0)