I am currently working on a project to directly integrate Node-RED with Django. The integration is almost complete, with objects like push buttons and toggles successfully connected to Django. There’s just a bit of frontend work left to display series on the screen. This solution will save a lot of effort, as I've set it up so that by simply entering the WebSocket URL for Node-RED, along with its name, ID, and some additional data, Django will automatically create and link all WebSockets with Node-RED. This process is similar to running a command like makemigrations. You only need to focus on the frontend. The main advantages include:
- Action Logging: Ability to record and track any changes and actions performed by users.
- Access Control: Restricts access to Node-RED through Django, enhancing security. Only authorized users can access or control specific functionalities.
- Permissions Management: Django provides fine-grained permissions to determine who can execute or view certain features.
- In The end The idea is clear and concise, Django will be used for website and site management, while Node-RED will handle end device management and control.If anyone would like to offer advice or participate, I am eager to see advice
If anyone has advice or wants to contribute, I am excited to hear advice and suggestions.
source code github link
The project is still incomplete