how do you include a water level sensor device in rainmaker?
Posted: Fri Mar 08, 2024 1:22 pm
i mean, reading temperature and humidity values from a dht11 sensor is fairly easy since you can just declare:
but i also want to read values from my water level sensor and this is where i get stumped. i've checked the rainmaker documentation numerous times already but there is no specific type for adding this kind of device:
or yknow, maybe i'm just missing something? how can i include the water level sensor to my rainmaker app? any help is much appreciated
Code: Select all
TemperatureSensor temperature("Temperature");
TemperatureSensor humidity("Humidity");
Code: Select all
Standard Devices
Classes are defined for the standard devices.
Creating object of these class creates the standard device with default parameters to it.
Class for standard devices
Switch
LightBulb
TemperatureSensor
Fan