Skip to main content

YO H2O

Overview

Description

YO H2O is a LoRaWAN-enabled device designed for efficient flood detection and environmental monitoring. In addition to detecting potential floods, it measures temperature and humidity while transmitting position data along the X, Y, and Z axes using its built-in accelerometer. Ideal for remote or urban deployment, the YO H2O ensures reliable performance in critical monitoring scenarios.

Device top viewDevice top view

Figure 1. Device top view

Device sticker placed on the bottom of the device enclosure contains information about model, version, LoRaWAN region and 3 parameters important in case of device identification and configuration:

  • DEV EUI: 64-bit unique device identifier in a LoRaWAN network,
  • DEV ADDR: address required to connect via ABP activation type to LoRaWAN,
  • BLE MAC: Bluetooth physical address.
Device stickerDevice sticker

Figure 2. Device sticker

Features

  • LoRaWAN Technology: Available in multiple versions with LoRa radio configured for various regions and ISM frequency bands (e.g., EU868, US915, AU915), it is compatible with both private and public LoRaWAN networks and supports connections via ABP (Activation by Personalization) or OTAA (Over-The-Air Activation).
  • Bluetooth Low Energy (BLE): Enables easy configuration through a user-friendly JSON data exchange format, supports firmware updates via OTA (Over-the-Air), and boasts very low energy consumption.
  • Battery-Powered: CR2450 featuring very low self-discharge, ensuring long-term operation without the need for an external power supply.
  • Temperature and Relative Humidity: Measures temperature and relative humidity within the device enclosure, providing valuable insights into the surrounding environment.
  • Flood Detection: Instantly detects potential floods to enable rapid response and mitigate risks.
  • Accelerometer: Provides position data on the X, Y, and Z axes for precise movement and orientation tracking.
  • Yosensi Management Platform: Provides a web tool for device configuration, firmware updates, and infrastructure management. Enables comprehensive monitoring of transmitted data and easy device management.
  • Yosensi Mobile App: Effortlessly manage devices with features to register new ones, configure settings, perform firmware updates, view/send logs, and test LoRaWAN connectivity. Learn more in our detailed Yosensi App blog post.

Specifications

Physical

DimensionDimension

Figure 3. Dimensions of the device

Device

AttributeDescription
DimensionsHeight: 13 mm
Diameter: 47 mm
ColourLight grey
Black
Mounting methodNo handles
Enclosure materialABS
Level of protectionIP40
Weight18.6 g (without batteries)

Operating Conditions

°C°F
AttributeDescription
Temperature0°C to 70°C
Humidity0 to 90%
PlacementIndoor use
Power supplyCR2450 3 V
Power consumptionMaximum: 110 mA DC (3 V DC)

Measured Values

°C°F
ParameterMeasurement rangeAccuracy
Temperature (internal)-40°C to 125°C±0.2°C (5°C to 60°C)
Relative humidity (internal)0% to 100%±2% (20% to 80%)
Flood detection0 - dry, 1 - flood detected-
Accelerometer±90° on X and Y axes
0-180° on Z axis
±0.1° (-40°C to 85°C)

Controls and Indicators

LED Status Indicator

YO H2O communicates its current behaviour to the user by RGBW LED placed on the top.

Diode statuses interpretation

BehaviorColourStatus
Single flashGreenGeneral: device is working correctly (power and memory).
Single flashRedGeneral: device is working incorrectly (power and memory).
LoRaWAN communication: failed to receive an acknowledgement from LoRaWAN Server within specified timeout.
Single flashWhiteLoRaWAN communication: LoRaWAN frame sent / confirmation from LoRaWAN Server after receiving the frame.
Slow flashingBlueBLE communication: connection to the device via BLE (configuration).
Rapid flashingBlueLoRaWAN communication: connecting to LoRaWAN network.

Buttons

The YO H2O has a button for resetting the device. Figure 4 shows its placement. To reboot the device, press the reset button for a moment.

Reset buttonReset button

Figure 4. Reset button

Installation

Package Contents

  1. Device (without batteries).
  2. Warranty card.

Safety Precautions

NOTE

Go to the Safety Precautions section to see important information on handling, disposal and maintenance.

Installation Guide

  1. Unscrew the device: remove 4 screws from the enclosure.
Device opening instructionsDevice opening instructions

Figure 5. Device opening instructions

  1. Place CR2450 3 V battery in the device according to the polarity.
Device battery assembling instructionsDevice battery assembling instructions

Figure 6. Device battery assembling instructions

  1. Assemble the device. The order of the elements is important:
  • Place the PCB (B) at the top of the enclosure (A)
  • Then insert the seal (C)
  • Fit the bottom part of the enclosure (D)

Important! Before assembling the device, be sure to check the tips in the following pictures.

Assemble device instruction.Assemble device instruction.

Figure 7. Assemble device instruction

Tip 1: Adjust the flood probes as shown in the image below:

Tip 1 AssemblyTip 1 Assembly

Figure 8. Tip 1 Assembly

Tip 2: Match the PCB (marked component) to the top enclosure to the according to the diagram:

Tip 2 AssemblyTip 2 Assembly

Figure 9. Tip 2 Assembly

  1. The device is on. Screw it back together.
Assembled device top view.Assembled device top view.

Figure 10. Assembled device top view

Configuration

Configurable Parameters

A few parameters must be set before sending data to the gateway. The default firmware is configured in OTAA mode with predefined deveui, appkey (OTAA) and appskey, nwkskey (ABP).

Configuration of the device is stored in a JSON file divided into the following sections:

  • info (generic, read only): information about the device,
  • lorawan (generic): configuration data for LoRaWAN connection,
  • ble (generic): Bluetooth settings,
  • device (dynamic): individual configuration for a specific device (this section’s structure differs for each device),

Sample configuration file for the YO H2O device.

{
"info": {
"devmodel": "LNFD",
"fwver": "3.6.2",
"loraradio": "SX1261",
"lorawanver": "1.0.2",
"loraregion": "EU868",
"blemacaddr": "0123456789ab"
},
"lorawan": {
"subband": 1,
"nwktype": "public",
"acttype": "otaa",
"otaa": {
"deveui": "0123456789abcdef",
"appeui": "fedcba9876543210",
"appkey": "000102030405060708090a0b0c0d0e0f",
"trials": 1
},
"abp": {
"devaddr": "01234567",
"nwkskey": "0123456789abcdef0123456789abcdef",
"appskey": "000102030405060708090a0b0c0d0e0f"
}
},
"ble": {
"power": 0,
"interval": 900
},
"device": {
"measinterval": 28800,
"bleuptime": 86400,
"blepwr": 0,
"bleadvinterval": 9000
}
}

OTAA & ABP

OTAAABP
Device EUIDevice Address
Application EUINetwork Session Key
Application KeyApplication Session Key
Number of Trials

Generic Parameters

Parameters

Device Parameters

NameDescriptionPossible ValuesDefault ValueRead/Write
measintervalMeasuring and sending interval LoRa [s]601-9999997200R/W
bleuptimeBluetooth LE uptime [s]1-99999986400R/W
blepwrBluetooth LE transmit power [dBm]0-990R/W
bleadvintervalBluetooth LE advertising interval [ms]10-99999000R/W
  1. OTAA minimum 60 [s], ABP minimum 120 [s]

Parameters description

  • nwktype: used for setting the device in public or private network type.
  • acttype: used for setting the device in ABP or OTAA mode.
  • deveui, … , appskey: predefined addresses and keys, these parameters are generated using multiple IDs specific to the particular MCU and are unique for each device. They can be changed if needed.
  • interval: determines the interval of sending broadcast packets, used to connect to every BLE receiver around the device.
  • subband: used for setting the communication frequency sub-band in LoRaWAN.
  • measinterval: measurement interval [s] between sending LoRa packets.
  • bleuptime: time in seconds after Bluetooth advertising parameters conguration will change to those set in the “device” section. Unless the user shakes the device or the device detects a leak, then parameters “blepwr” and “bleadvinterval” are equal to the parameters given in the “ble” section. It helps the device to work longer on a single battery.
  • blepwr: indicates the Bluetooth LE transmit power [dBm]. In YO H2O Bluetooth power changes after the time period set in the “bleuptime” parameter to the given value in the device section.
  • bleadvinterval: indicates the Bluetooth LE advertising interval [ms]. In YO H2O Bluetooth advertising interval changes after the time period set in “bleuptime” parameter to the given value in the device section.

You can remotely adjust certain parameters by sending a downlink message through our platform. Simply navigate to the "COMMANDS" section for the selected device.

Update Measurement Interval

It is possible to change the measurement interval (measinterval) by using downlink. Information about changing the parameter will be sent from the server via the gateway.

Example of Downlink Message:

  • Prefix: 0x03
  • Measurement Index: 0x00
  • Data (up to 4 bytes in hex): 0258

Sample Downlink: 0x03000258 - Sets a measurement interval of 600 seconds (10 minutes).


Payload Decoder

If you want to connect to your own server, it is necessary to decode the specific payload for each device. To accomplish this, a payload decoder is required, which can be downloaded using the following link: Payload decoder. You can also use our integrated Payload Decoder here. Extended documentation of the protocol can be found in the Payload description on our website.