I am working on power monitoring and want to send real-time data only to authorized users. Some users decide to install power sensors in their homes, while others look at these sensors. Each sensor sends samples to a Twisted backend - the goal is for this backend to send data to Javascript running in the browser.
My current data transfer solution is an Orbited server and an instance of MorbidQ (MorbidQ is a Stomp server). Each building in my system ( example here ) has its own channel for updates. A twisted backend transmits data through the MorbidQ channel to anyone who watches, but everyone can watch. My blog has a record about the flow of data from the sensor to the site
For many buildings, I want several users to be able to see live data in this building. I would like to use Django Auth if possible, or some kind of workaround if not.
What is the easiest way to protect these channels for each user? Can I use Django Auth? Should I use RabbitMQ or ActiveMQ instead of MorbidQ? What measures can I take to protect this decision?
For coding, I am most confident in C ++ and Python.
Thanks!
source share