Is this possible? I want to trigger off of multiple lights turning on (different times), then pass the module (Light) name to the program code which will email with the correct name of the light that just turned on. This way I have only one program for all lights rather then one light, one program.
Can I use a case statement and pass the name via a variable or am I barking up the wrong tree in complexity and should just do a separate program for each light? Talking about 5-10 lights.
On another note, it took me several hours to get gmail to work, but ended up having to allow "Access for less secure apps" on the gmail account. I am still using SSL and port 587 but it now works.