BME280 Sensor Presentation
-
I'm planning to use the BME280 in my sensor projects. Going through the information I see that I have to present the node to the controller as a specific device. I see options for each individual sensor category that this unit falls into, but I'm unsure of how to present it as all three (barometer, hygrometer and temperature). Should I just use the generic S_CUSTOM in the present or should I give it one of the sensors like S_TEMP and just message the extra data anyway? Is it possible to present a node as more than one thing? Maybe I'm over thinking it. Thoughts?
-
You should present each child sensor as it own type, that is:
child sensor id -> type
1 -> S_TEMP
2 -> S_HUMIDITY
3 -> S_BAROMETERand then use the correct V_ types for transmitting the different sensor types.
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39