How to initiate an action from and email, through an Alexa Dot's smart light switch

How to initiate an action from and email, through an Alexa Dot’s smart light switch. When I receive and email from a specific email address, I want to turn on an Alexa Dot’s smart light switch for an adjustable period of approximately 5 minutes.

You can use the IMAP integration to create a sensor that can act as your triggering entity:

If you search these forums for “IMAP”, you will find a bunch of examples.

Amazon makes it really annoying for third parties, like HA, to control devices that are directly connected to Alexa devices. If possible, it is recommended to move your devices to HA control. There is a workaround to get the devices in HA by using proxy entities.

For short durations you can use a Delay action. For longer periods it is better to use a Timer.

When I search for “IMAP” I see a lot about IMAP problem examples, where can I find some working examples?

Look at the posts marked Solution… there are also a few examples in the documents page I linked above.

If you still can’t solve your IMAP question, post a specific question.

Do you mean the workaround link?

There are examples in the official docs IMAP - Home Assistant and the example looks pretty solid in this case.

@Didgeridrew means that you can not just search for “imap” and instead use the advanced filters like this:

1 Like

No, the big one that says “IMAP” in bold blue letters…

How to initiate an action to a smart light switch, from a specific banner message notification alert; received at my smart phone?