Skip to Content
🚀 We just launched! Please star us on Github!

Valve Device

Device Category: valve

The Valve device represents a controllable valve used for managing the flow of liquids or gases in various systems.


Required Channels

These channels are mandatory for the functionality of the valve device:

ChannelDescriptionMultipleDetails
valveControls the open/close state and operation of the valve.NoSee details
device_informationProvides metadata about the device, such as manufacturer, model, and firmware.NoSee details

Optional Channels

These channels are optional and provide additional features:

ChannelDescriptionMultipleDetails
batteryMonitors the battery status, if the valve is battery-powered.NoSee details
electrical_energyTracks total energy consumption over time.NoSee details
electrical_powerProvides real-time power usage information.NoSee details
flowMonitors the flow rate through the valve.NoSee details
leakDetects leaks or other flow-related issues.NoSee details
pressureMonitors the pressure level in the system where the valve is installed.NoSee details

Use Case Scenarios

  1. Flow Control:

    • Open or close the valve using the valve channel.
    • Monitor flow rate with the flow channel for precision control.
  2. Energy Monitoring:

    • Track power usage and energy consumption using the electrical_power and electrical_energy channels.
  3. System Safety:

    • Use the leak channel to detect potential issues and ensure system integrity.
    • Monitor pressure levels through the pressure channel to prevent overloading.
  4. Battery Management:

    • For battery-powered valves, monitor battery status using the battery channel.

Developer Notes

  1. Channel Implementation:

    • The device_information and valve channels are mandatory for basic valve operation.
    • Implement optional channels to provide advanced features like flow rate monitoring or energy management.
  2. Integration:

    • Ensure seamless operation with other system components using the flow and pressure channels.
  3. Extensibility:

    • Add leak detection and energy tracking features using the leak, electrical_energy, and electrical_power channels as needed.
Last updated on