In the security system program code there is a check for these parameter names:
|| parameter.Name == "Sensor.Smoke"
|| parameter.Name == "Sensor.Heat"
|| parameter.Name == "Sensor.CarbonMonoxide"
|| parameter.Name == "Sensor.CarbonDioxide" )
So if you RaiseEvent like this, I think HG will recognize it as such...
Program.RaiseEvent(module4, "Sensor.Smoke", ArduinoData, "Smoke");