Skip to content

Update dash to have colour gradient background boxes for temps#47

Open
Alex-Dubljevic wants to merge 8 commits intodevelopfrom
dash_updates_alex
Open

Update dash to have colour gradient background boxes for temps#47
Alex-Dubljevic wants to merge 8 commits intodevelopfrom
dash_updates_alex

Conversation

@Alex-Dubljevic
Copy link
Copy Markdown
Collaborator

Added functionality for the 4 temp boxes on the dash to gradually change from green to red as temps increase.
Current temp bands are placeholders and can be adjusted by changing the "self.temp_targets" variable
Target is the temp the box will be green, range is the band of when the box would be red.
(ie. withe target=20 and range=15, box is green at 20, red at 35 and mixed in between and also green below 20)

@notion-workspace
Copy link
Copy Markdown

@Alex-Dubljevic
Copy link
Copy Markdown
Collaborator Author

Cell max temp: 55
Motor max temp: 120
Coolant/water max temp: 80?
Inverter max temp: 80?

Base automatically changed from 2024_CAR to develop October 6, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants