|  Developer
Updated on November 23, 2021

Type of events

Edit
  • notifies about changing of water valve state (opened/closed)
Edit
				
					{
    event = "valve_switch_value_updated"
    value = true
}				
			
Edit
fields type description
event string type of an event
value bool whether valve is opened
Edit
  • notifies about changing of water leak state
Edit
				
					{
    event = "water_leak_value_updated"
    value = true
    sensor_index = 0
}				
			
Edit
fieldstypedescription
eventstringtype of an event
valueboolwhether water leak is detected
sensor_indexintindex of leak sensor. It should be less than leak sensors count