dweet.io is simple publishing and subscribing for machines, sensors, devices, robots etc.
Questions tagged [dweet.io]
7 questions
2
votes
2 answers
Unable to print Json object
The code below get's Json object from a URL in a loop.
Problem is I cannot seem to display returned Json data.
I want to display the Temperature and Humidity from the object.
Valid Json objects are returned OK, but i cannot display it in HTML…

Robert Brown
- 23
- 5
2
votes
1 answer
Arduino connected via TCP using SIM900 to Dweet.io
I am trying to stream some sensor data to Dweet.io using my Arduino connected to a SIM900 GSM/GPRS module. I am able to access internet, load data, check GPRS connectivity etc from my Arduino board. Could someone specifically tell me the syntax to…

Tanveer
- 21
- 1
1
vote
3 answers
How to print specific part of json in Javascript?
I have a json, viewable at https://i.stack.imgur.com/lxjiM.jpg
or here https://dweet.io/get/dweets/for/shyam__5
In python, I am able to print the yearlyWatts by doing:
print(collection[1]['content']['yearlyWatts'])
where collection is the json,…

Shyam BHAGAT
- 43
- 6
0
votes
1 answer
dweetpro javascript API
I am migrating working code from regular dweet.io to dweetpro.io
In the javascript API documentation for dweetpro, it says to initialize using
var dweetClient = require("dweetio-client");
var dweetio = new dweetClient("username", "password");
But…

sunilmeister
- 1
- 1
0
votes
1 answer
Loop getting stuck on python on Raspberry PI when using Dweet.io
I'm very new to python so bear with me. I'm trying to change the state of a GPIO pin to control a relay based on the state of a dweet.io variable. The variable is command, it is either on, off, or done. The program checks the dweet until it isn't…

initial FPV
- 1
- 2
0
votes
1 answer
How to print a particular value from dweet?
I have an output from dweepy as :
[{'content': {'mouse_x': 271,
'mouse_y': 285,
'tilt_x': 0,
'tilt_y': 0,
'tilt_z': 82},
'created': '2018-02-10T06:03:02.680Z',
'thing': 'my_thing_name'}]
My input was…

Tharif
- 13,794
- 9
- 55
- 77
0
votes
1 answer
Live update highcharts-gauge from dweet
I would like to have the gauge chart update live dweet data, which is success.
The problem is that every time a new data is pushed to the array humidityData, a new pointer is added in the gauge chart as shown here:
guage chart Though I'd like to…

Sarah
- 5
- 4