Thanks for the tip about inserting the code, sorry! In this example I used two scratch specified and Light Sensor, in order to use the smoke sensor and light sensor in one gateway. Individually, these scratching are working properly and the WTO combine of together does not work, error appears. Thank you for understanding! see here: sendSketchInfo("Light Sensor+GaS_Smoke_MQ2", "1.0");