todbot / Blink1Control2

Blink1Control GUI to control blink(1) USB RGB LED devices.
http://blink1.thingm.com/
Apache License 2.0
154 stars 24 forks source link

Integrate with Microsoft Flow #99

Open mgorovoy opened 6 years ago

mgorovoy commented 6 years ago

I'm trying to configure my blink(1) to notify me when a meeting is about to start because I frequently miss Outlook notifications while working in full screen mode on my MacBook. Unfortunately, IFTTT Microsoft Office 365 Calendar connector only provides notification within 15 minutes of the event start, that makes it useless for my purpose. I ended up to configuring a Microsoft Flow to call my IFTTT applet via Webhook when an event is about to start, that allows me to control the look-ahead time. However, this does not work reliably and the notifications are frequently missing, probably because this type of IFTTT applet "usually runs within an hour". It would be great to have a direct integration with Microsoft Flow (flow.microsoft.com) to allow using Blink(1) directly from any flow.

mgorovoy commented 6 years ago

@todbot, is there a way to craft a URL to get an event injected from Microsoft Flow into blink(1) IFTTT proxy to create a way to do this for now?

mgorovoy commented 6 years ago

A little bit of Wireshark-ing, and http://api.thingm.com/blink1/web-api.txt to the rescue. To send an event from Microsoft Flow I am now using the following HTTP request to host api.thingm.com

GET /blink1/sendevent/{blink1_id}?name=event_starting&source=flow