|  Developer
Updated on November 23, 2021

Type of events

Edit

notifies about actual switch state

Edit
				
					{
    event = "switch_value_updated"
    value = true
}				
			
Edit
fields type description
event string type of an event
value bool whether switch is enabled
Edit

notifies about actual electric meters values

Edit
				
					{
    event = "electric_meter_values_updated"
    voltage = 1.1
    current = 2.7
    power = 2.97
    consumed_energy = 66.01
}				
			
Edit
fieldstypedescription
eventstringtype of an event
voltagefloatvoltage (in Volts)
currentfloatelectric current (in Amperes)
powerfloatpower (in Watts)
consumed_energyfloatconsumed energy after reset (in Kilowatt-hours)