User Approval using E-Mail Send and Receipt


#1

1) Give a description of the problem
I have a piston tracking occupancy. When I leave, it currently turns off lights, and performs a few other actions. There are some actions that I’d like to happen sometimes (but not others) based on my approval or input. My original attempt to demonstrate functionality was to send an SMS via vtext.com (verizon’s sms relay) at a specific time. There is a separate condition in the piston to receive an e-mail (the reply), and turn off a light as a test.

Curious if anybody can help troubleshoot, or if anybody has a better way to initiate a piston based on user approval?

2) What is the expected behaviour?
At the given time, I receive a text message from webcore (via Verizon’s SMS relay). If I reply to it, the light bulb turns off.

3) What is happening/not happening?
Nothing. I’m seeing two different issues:

  1. The SMS relay isn’t working reliably - not sure if anybody has encountered this, but is it possible webcore is blocked?
  2. Even if I send an e-mail manually from the specified account, the piston isn’t recognizing it and turning off the light.

**4) Post a Green Snapshot of the piston!

5) Attach logs after turning logging level to Full
Event is not registering, so log is empty

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Was the email trigger ever implemented?


#3

I don’t think it was implemented which is why I ended up finding a workaround using node-red to receive the email then making a web call from there.


#4

An email trigger in webCoRE seems like putting the functionality in the wrong place. Email apps are usually pretty good at processing emails.

I think if I just wanted to run a piston I’d put the piston’s external URL in the SMS/email message so the recipient could just click on it.


#5

There’s an idea, put a non-subscribing piston’s external url in the SMS :slight_smile:
Or... use the piston's external url but with an attached variable iepistonurl?activate=yes


#6

Thanks all. Didn’t realize it wasn’t implemented yet. I just added the external link to the SMS. Works well enough on this case (where it’s just a go/no-go)…and is much more straightforward.


#7

This is what I usually do…