{ event = "scene_activated", node_id = 2, class_id = 43, channel_id = 0, scene_id = 1 }
example: (event_handling.lua)
local params = ... if params.event == "node_added" then print( "we got a node_added event for a " .. params.node_id .. " device" ) elseif params.event == "value_updated" then print( "we got a value_updated event, pcp: " .. to_string( params.class_id ) + to_string( params.channel_id ) ) end