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
4 out of 4
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
PJON and Minicore not working
Development • 21 Mar 2025, 19:51 • Trand 21 Mar 2025, 19:51 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Home Assistant/MySensors quirks
Development • 17 Mar 2025, 02:35 • OldSurferDude 17 Mar 2025, 02:35 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14