Skip to main content
39 votes
Accepted

When and why to use MQTT protocol?

MQTT is a "messenger" between devices: your device measures at time T a temperature of X degrees it connects (itself or via the zwave hub) to the MQTT broker it create a message with the topic /...
Goufalite's user avatar
  • 3,766
23 votes

When and why to use MQTT protocol?

MQ Telemetry Transport Protocol known as MQTT is designed for devices which run on low power and low bandwidth. It is a lightweight publish/subscribe messaging protocol which means any other device ...
bravokeyl's user avatar
  • 1,540
12 votes

When and why to use MQTT protocol?

MQTT (Message Queue Telemetry Transport) seems to be well suited for the proposed application. It is lightweight both with respect to bandwidth (smallest packet size with a header of just 2 bytes) ...
Ghanima's user avatar
  • 2,539
7 votes

Which backend database is suitable for the IoT implementation

Timescaledb, a postgres extension customized for timeseries datasets works really well. And you get the usual relational database features, use of SQL, reliability, indexes, scalability.
IOTdev's user avatar
  • 71
7 votes
Accepted

Cheap video streaming platform using Raspberry Pi

You should have a look at the Raspberry Pi Zero W for this. It doesn't cost more than $9 or so, and it can handle a camera. You would also get the benefit of an OS that is easy to program and ...
Bex's user avatar
  • 673
7 votes
Accepted

Can I implement ZigBee with generic hardware?

You could, but you'd need a radio transceiver with compatible frequency range, modulation, and data rate. Typically radios with those capabilities are either sold as Zigbee radios, or for the ...
Chris Stratton's user avatar
7 votes
Accepted

Raspberry Pi to send sensor's data to server continuously and receive commands from server

Ok here goes Install MQTT on your Raspberry Pi Look if it is already running on your Rpi linux flavor or install it Expose your MQTT port Look at which port MQTT is installed and open this port ...
Goufalite's user avatar
  • 3,766
6 votes

When and why to use MQTT protocol?

Here I wrote an article which shows and evolution in communications system we had in our project. It about micro-services, but you can consider any sensor to be micro-service with its job to gather ...
shal's user avatar
  • 806
6 votes

Which backend database is suitable for the IoT implementation

IoT is pretty much time-series data. There are a few TSDB out there: InfluxDB, OpenTSDB, GridDB, etc. They all have the community/oss version so you can see if it suits your need. InfluxDB is a ...
Codelicious's user avatar
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

Which backend database is suitable for the IoT implementation

You are limited to either NoSQL databases, because any SQL database won't allow you 6K TPS directly on the server nor you may use any SaaS cloud service or platform already specialized in such kind of ...
shal's user avatar
  • 806
5 votes

Are there any 'minimal' power meter data loggers?

There is the Sonoff Pow WiFi Switch With Power Consumption Measurement or the SONOFF S31 - COMPACT DESIGN SMART PLUG WITH ENERGY MONITORING that seems to be popular with the DIY community. You can ...
FoxSam12's user avatar
  • 370
5 votes
Accepted

Why is 5G a plus for IoT?

One thing that should be noted is that 5G will not just improve network performance from a single user perspective, but will also utilise bandwidth more efficiently; more devices will be served by a ...
Chris Steinbach's user avatar
5 votes
Accepted

How does transmit power influence the accuracy of beacon sensor readings?

Bluetooth (and pretty much every other transmission protocol in contrast to sensors like radar) are based on digital protocols. This means that the signals are both binary, and protected by error ...
Sean Houlihane's user avatar
5 votes
Accepted

Parity calculation problem

Oh man, don't ask me how but I think I figured it out. Let's have a look: Basically you split the data up into packets of 4 bits each. You then concat each first, second, third and fourth letter ...
Omegavirus's user avatar
5 votes
Accepted

Should I use the MQTT protocol?

You don't have to use MQTT. Kafka clients installed on employee ID cards can send data to the kafka broker in the cloud directly. So while you are using Kafka for the gateway, you can actually use ...
atakanyenel's user avatar
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
  • 806
5 votes
Accepted

How rapidly should the data from IoT devices be sent to the cloud?

Sending packets at a high rate 'feels' wrong, and does increase the chances of seeing some odd effects when the network latency spikes occasionally. In this instance, the fact that you're in a ...
Sean Houlihane's user avatar
5 votes

Sending data from remote locations

If it's just 8 bytes every 30mins then one of the short message services will probably be good enough (no need for a full on IP connection). e.g. Rock7 RockBLOCK. Also see this answer for rough ...
hardillb's user avatar
  • 12.6k
5 votes

Retrieve raw data from Smart Plug?

One solution would be with the help of Rasberry Pi. Make raspberry Pi as an access point and bridge the internet via the ethernet port. Make Rasberry Pi as your wifi connection to the smart plug. Now ...
Sahil Gupta's user avatar
4 votes

How can I push data from car-mounted microcontrollers to a remote server?

You want to get data off a moving vehicle into the cloud. A trailing cable seems a trifle impractical, so you're down to wireless. Wireless options are roughly: Satellite Cellular Point-to-point ...
Heath Raftery's user avatar
4 votes

How can I push data from car-mounted microcontrollers to a remote server?

To summarize, you want an Arduino, which is driving around in a car or a bus, to send some data to a sensor. Firstly, you need to be clear whether you need this data in real time, or whether you can ...
Mawg's user avatar
  • 3,110
4 votes

Why is 5G a plus for IoT?

As I began to research this, I ran across this article from NetworkWorld.com. There were several things I hadn't thought of which they pointed out. Basically, it's not just speed that's changing in ...
anonymous2's user avatar
  • 4,872
4 votes

Which backend database is suitable for the IoT implementation

The question is broad and no accurate answer can be given, but these links can help: http://outlyer.com/blog/top10-open-source-time-series-databases/ Followup with benchmarks: http://outlyer.com/...
FarO's user avatar
  • 303
4 votes

Are there any 'minimal' power meter data loggers?

If you already have a digital meter inline (or can fit a cheap 2nd hand one), then you can optically monitor the 1000 impulse/kwH LED which is likely present (without needing to interface to the ...
Sean Houlihane's user avatar
4 votes

Retrieve raw data from Smart Plug?

I have seen systems like this built using the TP-Link sockets with a raspberry pi that polls the sockets regularly enough to determine what mode a product was in (the product draws different amounts ...
hardillb's user avatar
  • 12.6k
4 votes
Accepted

Stream real time data from smart band/watch to computer via Bluetooth

It looks like a pretty standard Bluetooth Low Energy (BLE) device so assuming the manufacturer hasn't done something strange (e.g. like fitbit) then you should be able to use any language that has BLE ...
hardillb's user avatar
  • 12.6k
4 votes
Accepted

remotely update a raspberry pi with limited data

Given the answers in the comments then using git over ssh is probably the best option. Firstly git will only pull the differences between the current head hash and the head on the remote. Given you ...
hardillb's user avatar
  • 12.6k
4 votes
Accepted

How can I transmit this information from my device using the least data possible?

What you want is to “pack” your 3 integers as such rather than express the in decimal as text. If your 3 values were for instance 123, 1200 and 45678, then if you send them as three 16-bit integers ...
jcaron's user avatar
  • 2,303
4 votes
Accepted

Documentation similar to open API for IoT protocols like MQTT for open data sharing

Check AsyncAPI: https://www.asyncapi.com/docs/getting-started/coming-from-openapi/ From their website: Open source tools to easily build and maintain your event-driven architecture. All powered by ...
geonnave's user avatar

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