I am a reasonably experienced amateur python coder. With this site's help I have fought my way through, celery, channels, websockets, NGINX, docker etc etc to produce a website which controls my astronomy dome and some house automation.
Part of the astronomy setup is a 3rd party weather station which collects data (temperature, wind speed, humidity, brightness, rain etc) and distributes a json file every 15 secs. I have successfully coded pyhton / Django / Plotly to collect the data and produce one graph (temperature). I have successful embedded this graph in a webpage.
The next step is to add a drop down box as a choice mechanism for what data (e.g. temperature or bightness) to show in the graph.
I think I can do this with websocket calls.
Should I use Dash instead ? I have found plotly relatively easy to use and I am attracted to the idea of using the bootstrap plugin to manage bootstrap in python code as opposed to in an html page.
but
Problem: installing Django-Plotly-Dash v2.0 downgrades django (v4.0.5 to 3.2.13), daphne (v3.0.2 to 2.5.0) and channels (v3.0.4 to 2.4.0). I'm not sure if that is going to 'break' anything but since everything is 'dockerised' troubleshooting broken code is not something I want to do, if I can avoid it.
Problem: I would need to 'move' bootstrap code from html to python...... shouldn't be an issue ? Just time consuming ?
Opinions from anyone with experience of using Django with Plotly and Dash would be most welcome. Thank you