Display Real Time Updates Using Python, Flask and Websocket



Display Real Time Updates Using Python, Flask and Websocket

Display Real Time Updates Using Python, Flask and Websocket

Do you need to display real-time updates coming from your server into your HTML page then using Websocket is a good option? In this post, we will explore Python, Flask, and Websocket to display sensor values coming from our server on our page and show it as a graphical chart. We will be using Flask-SocketIO to configure the bidirectional real-time exchange of Websocket messages between our server and our HTML page. We will then use Chart.js to draw a line chart of our sensor reads.

WriteUp:
https://www.donskytech.com/python-flask-websockets/

Code:
https://github.com/donskytech/python-flask-socketio

If you like my post or videos then please consider subscribing to my channels and sharing them with your friends:

Website: https://www.donskytech.com
Facebook: https://www.facebook.com/DonskyTech
Youtube: https://www.youtube.com/c/DonskyTech

Happy Exploring!

#flask
#websockets
#python

Comments are closed.