I’m trying to add a tipping bucket rain gauge (contact closure/reed switch) to a RAK2560-Probe IO on a Sensor Hub. The sensor wires are connected to DI and DI_COM. My sensor profile is as follows:
{
“SensorName”: “TippingBucket_0.2mm”,
“TemplateVersion”: “1”,
“ProbeioVersion”: “1.2.7”,
“Interface”: “DI”,
“Content”: [
“ATC+IO_PSM={PRB_ID}:9:1:10000:0:1”,
“ATC+SNSR_CONF={PRB_ID}:8:{SNSR_INTV}:2”,
“ATC+IO_DECODE={PRB_ID}:di:1:50:1:{PROFILE_NAME}:0.2”,
“ATC+PRB_DEL={PRB_ID}”
]
}
I’m getting a payload through TTN but am unable to register counts.

Any suggestions?
Welcome to the forum @PeakHydroMet
The SensorHub or ProbeIO does not count events. It can only transmit the status of the digital input and detect changes. The best you can get is an uplink if the gauge input changes, but on heavy rain, that would exceed the possible number of uplinks per time. The minimum send interval for sensor payloads of the SensorHub is every 60 seconds.
For your sensor profile, I am checking with R&D, but the
“ATC+IO_DECODE={PRB_ID}:di:1:50:1:{PROFILE_NAME}:0.2”,
seems to be wrong.
The format is
devid:<di>:channel:type:trigger mode: debounce time:sensor name
devidwill be set by {PRB_ID}di:1sets the digital input channel 150is the channel type, but50is not a supported channel type. A digital input would be01sets the trigger mode to 1debounce timeis missing in your configsensor namewill be set by {PROFILE_NAME}0.2is not part of the sensor profile for a digital input
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.