Send Message to a Dash with IFTTT


#1

I am not sure how to setup the webhook for this. Has anyone done this before? Can you provide some tips. Thanks.


#2

I can make IFTTT work by having it send an SMS Message, but there is a limit of 100 SMS Messages by IFTTT, so that is not a long term option.

I think I need to make Webhooks work. Does anyone have any experience with this?


#3

Hi @Bart_Dring and sorry for the delay.

Sending an inbound message from IFTTT to the dash is a great use case.

  1. Create a Dash sketch which listens to a particular port and handles incoming messages
  1. Create an IFTTT Applet.
  • IF: can be any trigger you want
  • THEN: select the Maker Action
  1. In the Maker Action use Hologram’s Message-to-Device API Endpoint

Hope these steps and docs help. Let me know if you’d like a more detailed example. :slight_smile:


#4

Thanks for the reply.

I want to send a single character to the Dash. I can successfully do it using “via Cloud Data” in the dashboard using
TCP and port 6666.

These are my action settings in IFTTT

Action: Maker Webhook
Field Label…URL…https://dashboard.hologram.io/api/1/devices/messages
Field Label…Method…POST
Field Label…Content Type…application/json
Field Label…Body…
{
“deviceids”: [
111111
],
“protocol”: “TCP”,
“port”:6666,
“data”: “1”
}

111111 is replaced with my 6 digit device ID found in dashboard.

IFTTT says the Applet Failed when triggered.


#5

Make sure to append your API key to the URL

https://dashboard.hologram.io/api/1/devices/messages?apikey={{apikey}}