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 -
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_TempIf 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); -
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 :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login