Smart water valve

This documentation was generated from: swv_smart_water_valve.json

AttributeValue
status Gold
product Smart water valve
modelid SWV
manufacturername SONOFF

1. On/Off output

Endpoint: /lights

Top level attributes

AttributeDatatypeDescriptionAccess
lastannounced ISO 8601 timestamp Timestamp of the last power-cyle or rejoin. R
lastseen ISO 8601 timestamp Timestamp of the last communication. R
manufacturername String "SONOFF" R
modelid String "SWV" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "On/Off output" R
uniqueid String Unique identifier of the resource. R
manufacturername String "SONOFF" R
modelid String "SWV" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "On/Off output" R
uniqueid String Unique identifier of the resource. R

Config attributes

AttributeDatatypeDescriptionAccess
battery UInt8 The current device battery level in 0–100 %.

Default: 0

R

State attributes

AttributeDatatypeDescriptionAccess
reachable Bool When true the device is assumed to be operational. R
on Bool True when device is on; false when off. RW

2. ZHAWater

Endpoint: /sensors

Top level attributes

AttributeDatatypeDescriptionAccess
lastannounced ISO 8601 timestamp Timestamp of the last power-cyle or rejoin. R
lastseen ISO 8601 timestamp Timestamp of the last communication. R
manufacturername String "SONOFF" R
modelid String "SWV" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHAWater" R
uniqueid String Unique identifier of the resource. R

Config attributes

AttributeDatatypeDescriptionAccess
battery UInt8 The current device battery level in 0–100 %.

Default: 0

R
on Bool When true the sensor is enabled in rules.

Default: true

RW
reachable Bool When true the device is assumed to be operational. R
offset Int16 Relative offset to the main measured value.

Default: 0

RW

State attributes

AttributeDatatypeDescriptionAccess
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R
flow Int16 The current relative flow in m3/h.

Default: 0

R
water Bool True when water is detected. R