D
D
duxoo2019-05-26 17:20:07
Software design
duxoo, 2019-05-26 17:20:07

How to transfer data from various sensors?

Hello.
There is a desire to make something similar to a smart home. To begin with, I want to have a couple of sensors: temperature and humidity, for example. We need such sensors that can transmit data over the network, preferably using the POST method. I would like to send data from sensors every n time, for subsequent recording in the database and displaying it all on the page in the browser. Please tell me which way to dig.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrew, 2019-05-26
@deepblack

As an option to use as "iron":
There is a huge amount of information on them (esp), the price is low.
Write your own firmware, or take a ready one:
https://github.com/esp8266/Arduino
https://github.com/devicehive/esp8266-firmware
https://github.com/arendst/Sonoff-Tasmota
I did on Banana Pi Pro (included IR receiver, microphone, SATA port, etc.)
It looks like this:
Information from sensors (esp8266) was displayed on a separate dashboard, but eventually turned off. for uselessness.

S
Sergey Sokolov, 2019-05-26
@sergiks

Even without a soldering iron, you can collect what you are looking for. Recently, I joined the Moscow air quality monitoring project ( map with sensors) - I assembled and installed a sensor outside the window, incl. DHT22 (temperature and humidity).
I ordered components on Ali and assembled, stitched according to this instruction . And the firmware, about which they write in the instructions, can send data, incl. to your own URL:
You can forget about the most expensive component, the PM10 and PM2.5 particle sensor, everything will work without it. It is based on the NodeMCU ESP8266 already recommended in another answer - an Arduino type with WiFi.

R
Roman Mirilaczvili, 2019-05-26
@2ord

I think it's better to start with the article Monitoring containment temperature with 1-wire ... .
When it comes to choosing a monitoring system, there are other options besides Zabbix.

N
nrgian, 2019-05-26
@nrgian

duxoo ,
There are specially invented protocols for this.
For example, Z-Wave or ZigBee.
With them, the sensor can work from one battery for years.
If Bluetooth, then only Bluetooth LE (BLE).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question