Add spaces between the words in the following text: Itoccurstomethatyoucouldusesomekindofsensorthatverifiesthetensionthatisreachingthelightingyouwanttocontrol,andnotifyitisyourwebserverinrealtimetoknowatanytimeifitisonornot.
It occurs to me that you could use some kind of sensor that verifies the tension that is reaching the lighting you want to control, and notify it is your web server in real time to know at any time if it is on or not.