Fail presentation to gateway
-
Hi, got some nodes with DHT22 and for some reason the GW dosent now the sensortype for S_Temp just the S_HUM. Anyone seen this before?
Using MYSController to connect to GW. And got node -child item 0 -s_hum and child item 1 (blank description)
Subtype is V_Temp
-
If I look in log it fail to present temp senor. Code looks like this .
// Register all sensors to gw (they will be created as child devices)
present(CHILD_ID_HUM, S_HUM);
present(CHILD_ID_TEMP, S_TEMP);If I swap places on Temp it fails to present HUM sensor.
-
Try adding a short "wait(50);" between the presentations and put a cap on your radio
present(CHILD_ID_HUM, S_HUM); wait(50) present(CHILD_ID_TEMP, S_TEMP);
-
@korttoma Thx the wait(50) did the trick