Simple IoT Telegram Notifications & Commanding, Node-RED & Telegram Integration

This video walks you through how to interact with a Telegram bot using Node-RED. We create a simple flow to send an alert to the user if a sensor has not been heard from in a while as well as creating an interactive keyboard to allow the user to request different available sensor data values. These data values are pulled from an InfluxDB database using a query. Telegram is a free and open source instant messaging application. We used our IoT server video as a baseline for this project but it should work for any Node-RED instance you have running. The baseline system consists of a series of sensor nodes that send sensor data in a JSON message over a WiFi network to a Raspberry Pi via MQTT. NodeRED subscribes to the MQTT topic, interprets the json message data and then send the data to a database to be stored and used. InfluxDB stores all the sensor data. Then a Graphana front end will query the database in order to display the data we want to see and do a whole host of other things. Links: Project walkthrough: IoT Server Video: Follow us on Google News here: Timestamps: 00:00 Introduction 01:02 You will need 01:20 Installing Node-RED plugins 02:37 Creating a Telegram Bot 05:24 Commanding the Bot 03:30 Possible Errors 07:51 Conclusion You can find more embedded systems tutorials and projects on our website -- Equipment we use regularly -- The following links are affiliate links where we may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed. Budget Soldering Iron: UK: US: Breadboards: UK: US: Jumper Cables: UK: US: Camera: UK: US: Lens: UK: US: Tripod: UK: US: All videos and tutorials on this channel and mentioned websites are for educational purposes only.
Back to Top