You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SensorPca9685Rgbw | 2 | Generic RGBW-dimmer sensor (S_RGBW_LIGHT) used to drive RGBW resp. 4-channel pwm output of PCA9685| https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library
150
150
SensorDSM501A | 1 | Dust sensor module DSM501A for PM1.0 and PM2.5 particles | -
151
151
SensorPN532 | 1 | PN532 NFC RFID Module | https://github.com/elechouse/PN532
Those sensors requiring a pin to operate would take it as an argument in the constructor.
154
155
NodeManager automatically creates all the child_ids, assigning an incremental counter. If you need to set your own child_id, pass it as the last argument to the constructor
@@ -955,6 +956,14 @@ Each sensor class may expose additional methods.
955
956
bool getCardIsValid();
956
957
~~~
957
958
959
+
* SensorCCS811
960
+
~~~c
961
+
// [101] set the temperature for calibrating the sensor
962
+
voidsetTemperature(float value);
963
+
// Set to true if the board has a temperature sensor embedded that can be used for calibration (default: false)
964
+
void setTemperatureSensor(bool value);
965
+
~~~
966
+
958
967
### OTA Configuration
959
968
960
969
When `NODEMANAGER_OTA_CONFIGURATION` is set to ON the API presented above can be also called remotely through `SensorConfiguration`, which is automatically added to NodeManager. SensorConfiguration exposes by default child id 200 that can be used to interact with the service by sending `V_CUSTOM` type of messages and commands within the payload. For each `REQ` message, the node will respond with a `SET` message if successful.
0 commit comments