Internet Of Things 101 Intel® Edison
  • Cover
  • Summary
  • About This Traning
    • Objectives
    • Skills
    • Prerequisites
    • Requirements
  • Once Upon A Time ...
  • Internet Of Things
    • Examples
    • Consortiums
    • Resources
      • Architecture
      • Associations
      • Awards
      • Contests
      • Events
      • Investors
      • Job Roles
      • People
      • Programming Languages
      • Projects
      • Standards
      • Tendencies
      • Training
        • Coursera
      • Licensing
      • Sites
    • Key Players
      • Amazon
      • Apple
      • ARM
      • AT&T
      • Atari
      • Axeda
      • Bosch
      • Cisco
      • Dell
      • Eclipse
      • Facebook
      • General Electric
      • Google
      • Hewlett Packard
      • Huawei
      • IBM
      • Intel
        • Tools
      • IoT Ticket
      • Libelium
      • Oracle
      • Others
      • Mediatek
      • Micrium
      • Microchip
      • Microsoft
      • Mozilla
      • NXP
      • NVIDIA
      • Nokia
      • Predixion
      • PTC
      • Qualcomm
      • RedHat
      • Renesas
      • Salesforce
      • Samsung
      • SAP
      • Schneider Electric
      • Telefonica
      • Texas Instruments
      • ThingWorx
      • Verizon
      • Vodafone
      • C2M
  • Architecture
    • Thing
      • Boards
        • Arduino
        • Beagleboard
        • C.H.I.P.
        • Raspberry Pi
        • ESP8266
        • Intel Architecture
          • Development Workstation
      • Boot Loaders
        • Labs
      • Operating Systems
      • Embedded Linux
        • Board Support Package
          • Labs
        • Boot Up
          • Labs
        • Command Line Interface
          • Labs
        • File Systems
          • Labs
        • Text Editors
          • Labs
        • Package Management System
          • Labs
        • Version Control Systems
          • Labs
        • Programming Languages
          • Python
          • PiP Package Management System
          • Labs
        • Libraries
          • Labs
      • Integrated Development Environments
    • Data
      • Sensors
        • Labs
        • Project
      • Actuators
        • Labs
        • Project
      • Local Operations
      • Frameworks
    • Gateways
      • Intel® IoT Gateways
    • Communications
      • Connectivity
        • Labs
      • Protocols
        • RESTful
          • Labs
        • MQTT
          • Labs
          • Project
    • Cloud Computing
      • Application Programming Interface
        • Labs
        • Project
      • Services
        • Labs
      • Platforms
        • Labs
  • Wrap-Up
    • Online Training
    • Challenge
  • SandBox
    • Sandbox-NonIT
    • IoTPy
    • Analytics
    • Security
    • Cloud
Powered by GitBook
On this page
  • Services Labs
  • Lab: Dweet
  • Lab: Freeboard.Io
  1. Architecture
  2. Cloud Computing
  3. Services

Labs

Services Labs

Lab: Dweet

root@edison:~# nano maindweet.py
#!/usr/bin/python

import dweepy
import time

def functionServicesDweet():
    while True:
        time.sleep(5)
        dweepy.dweet_for('InternetOfThings101Dweet', {'Status':'1'})
        print dweepy.get_latest_dweet_for('InternetOfThings101Dweet')
        time.sleep(5)
        dweepy.dweet_for('InternetOfThings101Dweet', {'Status':'0'})
        print dweepy.get_latest_dweet_for('InternetOfThings101Dweet')

if __name__ == '__main__':

    functionServicesDweet()

# End of File
root@edison:~# python maindweet.py
[{u'content': {u'Status': 0}, u'thing': u'InternetOfThings101Dweet', u'created': u'2016-05-01T16:03:10]
[{u'content': {u'Status': 1}, u'thing': u'InternetOfThings101Dweet', u'created': u'2016-05-01T16:04:06]
[{u'content': {u'Status': 0}, u'thing': u'InternetOfThings101Dweet', u'created': u'2016-05-01T16:04:12]
[{u'content': {u'Status': 1}, u'thing': u'InternetOfThings101Dweet', u'created': u'2016-05-01T16:04:19]
^Z
[8]+  Stopped(SIGTSTP)        python maindweet.py

Lab: Freeboard.Io

Dashboard Creation

    • "Enter a Name" and "Create New", let's call it IoT101

    • You should see "IoT101" board created being a "Public" dashboard

  1. Click on "IoT101" to open the dashboard

DataSource Selection

  1. Once you are in "IoT101" Dashboard click on "Add" from "DataSources"

  2. Select "Dweet.io" as "Type"

  3. Choose a "Name" for the DataSource, e.g. "MyIoT101Source"

  4. Type the "Thing Name" based on what you are sending to dweet.io e.g. "InternetOfThings101Dweet"

Pane/Widget Creation and DataSource Linkage

  1. Select "Add Pane"

  2. Select a type of Widget "Sparkline"

  3. Click on "DataSource" and select ["Internet of Things 101"]["Status"]

PreviousServicesNextPlatforms

Last updated 7 years ago

Go to and sign up

Go to , under "My Freeboards"

freeboard.io
freeboard.io account