Skip to content

IoT Platforms

tamberg edited this page Aug 23, 2020 · 1 revision

These platforms are used in the course.

Dweet.io

  • http://dweet.io/
  • Host: dweet.io
  • Port: 443
  • POST /dweet/for/THING_NAME?name=value
  • POST /dweet/for/THING_NAME?name=value&name2=value2
  • GET /get/latest/dweet/for/THING_NAME
  • GET /get/dweets/for/THING_NAME

Curl

  • $ curl -vX POST https://dweet.io/dweet/for/THING_NAME?name=value
  • $ curl -vX POST "https://dweet.io/dweet/for/THING_NAME?name=value&name2=value2"
  • $ curl -v https://dweet.io/get/latest/dweet/for/THING_NAME
  • $ curl -v https://dweet.io/get/dweets/for/THING_NAME

IFTTT

Node-RED

ThingSpeak

Arduino

  • Library: Sketch > Include Library > Manage Libraries... >ThingSpeak > Install
  • Example: File > Examples > ThingSpeak > ESP8266 > WriteMultipleFields.ino

Curl

  • $ curl -vX POST "http://api.thingspeak.com/update?api_key=WRITE_API_KEY&field1=42"
  • $ curl -vX POST "http://api.thingspeak.com/update?api_key=WRITE_API_KEY&field1=42&created_at=2019-05-03T00:00:00Z"
  • $ curl -v http://api.thingspeak.com/channels/CHANNEL_ID/feed.json?api_key=READ_API_KEY

Raspberry Pi

Clone this wiki locally