14 votes

Are there any smart electrical plugs with an open API?

The easiest to use is Shelly. They have relays and smart plugs and you can control them via http, like this: http://your-shelly-ip/relay/0?turn=off Here is the reference. If you use authentication ...
ILO Romero's user avatar
13 votes
Accepted

Are there any smart electrical plugs with an open API?

A couple of options off the top of my head. Sonoff kit, can be flashed with open source firmware that allows control via MQTT/HTTP. While not sockets directly adding it into the cable is not hard. ...
hardillb's user avatar
  • 12.6k
6 votes

Are there any smart electrical plugs with an open API?

Check out Wifiplug.co.uk they provide the hardware and open API for 3 pin plug (UK, ASIA etc) API here: Developer.wifiplug.co.uk Free API for hobbyists - excellent suppport too.
DeDo1's user avatar
  • 61
5 votes

Upload measurements with unix script ( RESTful API?)

Looks like flespi is the way to go in your case. You may use flespi http channel to upload data in http with CURL (or alternatively use mqtt channel). The data you upload should be in format like: ...
shal's user avatar
  • 796
5 votes

Upload measurements with unix script ( RESTful API?)

If you already have curl to do the download there should be no reason not to use it to do a POST to push the data to another service. So you need to search for HTTP APIs for any provider you want to ...
hardillb's user avatar
  • 12.6k
5 votes

How to pass two parameters in header using AT Command with SIM800 GSM modem?

As per SIM800 AT command Manual, you can set HTTPParamTag to USERDATA and send content in HTTPParamValue. You can pack all key-value pairs into HTTPParamValue and parse to retrieve individual key-...
sob's user avatar
  • 2,610
5 votes
Accepted

Recommendation to choose API development open source Language, Framework and Database

If you want to use a RESTlike Environment, you can setup: PHP CodeIgniter + MariaDB But you need to reconsider your requirements. Using REST over HTTP may require the use of intermediate techniques ...
Carlos Moreno Salazar's user avatar
4 votes

Are there any smart electrical plugs with an open API?

After struggling to find smart plugs with an open API, I found a stable workaround that can work for a lot of personal projects. I noticed that a lot of smart plugs have an IFTTT service, from which ...
jinnlao's user avatar
  • 141
4 votes

Are there any smart electrical plugs with an open API?

Netio makes industrial grade smart power strip. It is a bit pricey but has ton of open interfaces(SOAP, REST, MQTT, CGI and more) and you can download the specs from their site. It even has wired ...
Jirka Pražák's user avatar
4 votes
Accepted

How to make a MQTT Broker and a REST API communicate?

Here's one way: The actual business logic of your system would have a certain API. That API needs to have some doXYZ methods, some getXYZ methods and some events of onXYZ. What I'm assuming you're ...
kalyanswaroop's user avatar
3 votes

Are there any smart electrical plugs with an open API?

This website provides a list of devices compatible with Tasmota and likely ESPhome because based on ESP8266 or similar chips. After reflashing you can control them easily.
FarO's user avatar
  • 303
3 votes
Accepted

Thingspeak API Limit GET Requests?

A roundabout answer. As per info at bottom of this answer, you get charged by a number of messages written, not by number of times someone reads the data. That means you can experiment with multiple ...
jsotola's user avatar
  • 322
3 votes

How do smart plugs of domotic IoT work?

Most consumer IoT devices do not use port forwarding, they connect out to a central cloud based Command/Control server. This is for several reasons: Port forwarding limits the number of devices that ...
hardillb's user avatar
  • 12.6k
3 votes

Multiple agents authentication to MQTT

Never let "anyone" add stuff via MQTT to a database ;) Once bad data gets into the database, any results from your analysis programs will be skewed at best, or down right wrong at worse. Any time ...
JD Allen's user avatar
  • 618
3 votes

Multiple agents authentication to MQTT

There should be no need to use Authentication via HTTP first for MQTT devices. MQTT supports Authentication which can be linked to ACLs to control what topics a given user/device can publish/subscribe ...
hardillb's user avatar
  • 12.6k
3 votes

Does AWS Mobile SDK for Android gives capabilities to call AWS IoT REST APIs?

AWS IoT uses the MQTT protocol (and AWS APIs), not REST. There are two ways to solve your problem: Convert everything to MQTT: Have your web app send a message to AWS IoT (Luckily, they support ...
BraveNewCurrency's user avatar
2 votes

Multiple agents authentication to MQTT

If you do not want to bother with broker yourself and embed any authentication scheme inside it I have solution for you (non commercial, e.g. it is free): Per each instance of your small IoT platform ...
shal's user avatar
  • 796
2 votes

Are there any smart electrical plugs with an open API?

For switching a 1200W devices you can use ESP8266 incl relay. You can upload a generic Arduino code to control it, or even more- use Home Assistant for controlling and scheduling.
guyd's user avatar
  • 861
2 votes

Are there any smart electrical plugs with an open API?

I was looking for something similar today and found the CloudFree smart plug which should work. That one supports 10 amps. That same site also has other consumer products they have flashed with open ...
Michael Painter's user avatar
2 votes

Are there any smart electrical plugs with an open API?

If you have an amazon alexa and your device is compatible to be controlled with it, you can use voicemonkey. You install the voicemonkey skill You go to the voicemonkey web and create a 'monkey' with ...
Kaostias's user avatar
  • 121
2 votes

How do smart plugs of domotic IoT work?

Most smart plugs use cloud providers to toggle the power state of the device, there are a few (big) issues with this: If your internet is down you can't use it, even if you are on the same network. (...
Falz's user avatar
  • 151
2 votes
Accepted

How to call an API using a smart button?

There’s no shortage of options, though they may have different advantages or drawbacks. The two main things to consider are how the device will connect to the Internet, and power. To reach the ...
jcaron's user avatar
  • 2,283
2 votes

How to make a MQTT Broker and a REST API communicate?

Edit I've come across this stack overflow post. In case the link is dead: In short, the post describes a way to use JWT to authenticate a frontend user with your backend and mqtt broker. While it ...
Riki's user avatar
  • 121
1 vote
Accepted

Advise on device to use when tracking a moving vehicle and pushing data to an API

Assuming the van as an ODB-2 port (most do) then you can just grab something like this. This assumes that you need something that reports in real-time, since you'd have to pay for a data plan. That ...
TheGentleman's user avatar
1 vote

Advise on device to use when tracking a moving vehicle and pushing data to an API

Firstly, how are you going to power your device? If you have a modern radio, or even a cigarette lighter USB adapter, then you can easily power an EDSP32, Raspberry Pi Zero W, BBC:Microbit, Arduino, ...
Mawg says reinstate Monica's user avatar
1 vote

RESTapi and MQTT Broker

May be it is simpler to use MQTT Broker that supports REST API by its nature? Like flespi broker which contain secure and private MQTT namespace, free to use and actively used by some home automations ...
shal's user avatar
  • 796
1 vote

Are there any smart electrical plugs with an open API?

Generally speaking, in such case one would simply use a relay. A relay is exactly a "smart plug" without the smart part, basically a relay is a simple device that will flip a switch based on ...
YCN-'s user avatar
  • 473
1 vote

Are there any smart electrical plugs with an open API?

Take a look at the Kiwi Warmer Rowi: https://www.vaiotech.co.nz/products/. It is a fully customisable and programmable Smart Plug with open API (no need to connect with the cloud). And it is possible ...
user14665305's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible