WebSocket with ESp32 w/ Node-RED and InfluxDB

ESP32 websocket

WebSocket is a communication protocol that provides full-duplex, bidirectional communication over a single, long-lived connection between clients and servers. In the context of IoT, WebSocket can be used for real-time data  By using WebSocket with ESP32, Node-RED, and InfluxDB, it is possible to create a real-time data streaming and visualization system. The ESP32 can be programmed to send data to the server using WebSocket protocol, which can then be processed and stored in InfluxDB using Node-RED. The data can then be visualized in real-time using InfluxDB’s powerful data visualization tools.…

Read More

Automatic Backup of my Home Automation System (OpenHAB, InfluxDB, Grafana, Node-RED, MonogoDB)

RAK831 LoRa Gateway

I use different tools like OpenHAB, InfluxDB, Grafana, Node-RED, MonogoDB etc. in my Home Automation System. There is always a chance any tool may crash or the server may crash or HDD may fail or due to some other causes can lead to data loss. This has happened to me earlier also where I again had to start my setup from scratch but it taught me a lesson, backups are really important. So I went ahead and wrote a simple shell script to do the backup tasks automatically with a…

Read More