Questions tagged [rest-api]
For questions regarding the use of REST (Representational State Transfer) in an IoT context.
16
questions
0
votes
0
answers
45
views
Where should I start on IoT architecture design?
I've built Arduino based sensors/modules that send readings to an RF Receiver on RaspPi, but I ultimately want to POST this to a REST api service, and possibly preprocess or cache the data on a local ...
0
votes
0
answers
48
views
How to make a POST to Alexa to make her speak/announce?
I'm a web developer. I use HTTP POST request all the time. I'm wondering if there is a way for me to make a POST to alexa.
Example, I want to sent this payload to my Alexa
{"text":"I ...
1
vote
1
answer
301
views
Real-time web-app for IOT devices
Goal
I'm currently building a web-application to control multiple IOT devices over the cellular network, given the nature of the devices (working off battery power and operating in network constrained ...
0
votes
0
answers
327
views
Communicate with a smart plug from my own JSON server directely
I am new to the field of IoT, I am very grateful for your help. My goal is to turn on/off and obtain the state a smart plug via my own JSON server not using its manufacturer's API.
Please if you have ...
1
vote
1
answer
1k
views
How to call an API using a smart button?
I want to do a simple thing:
Give away buttons to my friends that they can click randomly and it simply calls an API that I have implemented.
I cannot wrap my head around what should I do and what is ...
6
votes
2
answers
6k
views
How to make a MQTT Broker and a REST API communicate?
I'm still very new to IoT and IoT protocols, so pardon my ignorance.
I'm trying to go about creating a home automation system to control lights, read room temperatures etc.
The user should be able to ...
2
votes
3
answers
86
views
Advise on device to use when tracking a moving vehicle and pushing data to an API
I need to determine when a van leaves or enters a geofence range, and alert a system on my side - either via an API call or email sent - so that I can digest that data for later. My blocker is finding ...
1
vote
1
answer
444
views
Thingspeak API Limit GET Requests?
Is there a GET request rate limit for the Thingspeak API? So far I've only been able to find information about POST requests.
I have a data acquisition R script that I would like to run in parallel. ...
4
votes
1
answer
2k
views
RESTapi and MQTT Broker
Question:
What I'm trying to do is to get the REST API to be able to publish to my Mosquitto MQTT Broker (which is also hosted on my Pi on Port 1883) via IFTTT Webhook.
Context
I've built a webapp ...
3
votes
2
answers
753
views
How do smart plugs of domotic IoT work?
I was wondering how smart plugs work, how they can be controlled and how secure they are.
Since they are part of your local network and since they can be controlled remotely even from another network ...
42
votes
12
answers
53k
views
Are there any smart electrical plugs with an open API?
My friend and I are in a university and we have been asked by the agriculture professor to create automated watering systems for plants. We want to have control over the grow lights so are there any ...
6
votes
2
answers
217
views
Upload measurements with unix script ( RESTful API?)
A thermostat device returns JSON like data from the command line:
curl -s http://192.168.X.Y/tstat/humidity
{"humidity":51.00}
It would be interesting to setup a UNIX cron job to periodically script ...
6
votes
3
answers
1k
views
Multiple agents authentication to MQTT
I am building a small IoT platform. I have a webapp reading data from MongoDB. There is a worker that reads from MQTT and stores the data to mongo.
Until here, all good.
I want to be able to ship an ...
7
votes
1
answer
2k
views
How to pass two parameters in header using AT Command with SIM800 GSM modem?
I have a restful webservice with POST method. I want to use this webservice using a GSM Modem with SIM800.
I am using following command instruction:
AT+SAPBR=2,1 --Check if bearer 1 is open or not
...
3
votes
1
answer
438
views
Recommendation to choose API development open source Language, Framework and Database
I'm working in a IoT project and my role is to provide APIs to allow devices to communicate with server/database.
I have decided to use MySql for relational data like user details etc.. and MongoDb ...
7
votes
1
answer
161
views
Does AWS Mobile SDK for Android gives capabilities to call AWS IoT REST APIs?
I thought of writing an WebApp to control my Android Phone.
What I'm intended to do is My WebApp will call the REST APIs of AWS IoT and send some commands. Using AWS rules engine I store those ...