Integration method for particle.io?

For the get, check Tutorial adding HUE Motion sensor (Lux,Temp and Motion)