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?


    Log in to reply
     

  • Admin

    @naviathan

    You should present each child sensor as it own type, that is:
    child sensor id -> type
    1 -> S_TEMP
    2 -> S_HUMIDITY
    3 -> S_BAROMETER

    and then use the correct V_ types for transmitting the different sensor types.


Log in to reply
 

2 out of 2

Suggested Topics


  • General Discussion   1 Mar 2015, 11:21

    87

  • Hardware   9 Aug 2023, 16:28

    5

  • Hardware   18 Nov 2023, 01:41

    3

  • Hardware   19 Jun 2023, 00:41

    1
  • 5
  • 2

0
Online

11.5k
Users

11.1k
Topics

112.8k
Posts