Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AllThingsTalk Maker
#1
Zdravo svima,

Zelim sa vama da podelim jedan besplatan i veoma koristan alat koji moze da vam pomogne oko brze vizuelizacije podataka prilikom razvoja projekata koji rade sa "senzorskim podacima". Rec je o platformi koja se nalazi na adresi: https://maker.allthingstalk.com/.
Kada se registrujete imate razne opcije kreiranja svojih uredjaja i njihovih atributa.
Ostavicu par slika kako bi stekli utisak o cemu se radi a i evo i primera slanja podataka iz njihovog SDK:

Quote:#
# AllThingsTalk Counter example
#

from time import sleep
from allthingstalk import Client, Device, IntegerAsset

# Parameters used to authorize and identify your device
# Get them on maker.allthingstalk.com
DEVICE_TOKEN = ''
DEVICE_ID = ''

class Counter(Device):
counter = IntegerAsset()
client = Client(DEVICE_TOKEN)
device = Counter(client=client, id=DEVICE_ID)
for i in range(10):
    device.counter = i
    sleep(1)

[Image: attachment.php?aid=26865]


Attached Files Thumbnail(s)

“If you think you are too small to make a difference, try sleeping with a mosquito.” - Dalai Lama XIV
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)