-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working in celcius #5
Comments
I actually don't remember because I haven't looked at this code since I first commited it. ;-) However, I believe the y-axis automatically adjusts to the range of data points. The hackish thing I did was map the "heat on/off" line to 60 and 61 degrees so it could appear on the same axis. So I bet if you change the line:
to:
Or some value that's within the range of your Celsius values, it might solve the problem. No guarantees; I can barely understand the D3 code any more at this point. |
Thanks for your suggestion. Here is what I did to get it looking reasonable for us new UK Nest customers who like degrees celsius: Change line 156. I have changed 60 to 0. When heating is on there is a line at 1 degrees, when off the line is at 0 degrees. Make sure that the temp range you list in the next section includes these values. line 156:
Change lines 170-173. Change 0, 30 for the temp range you want, using the 'auto' settings I commented out it would miss out my target temperature graph which is lower than any of my away temperatures currently. I have commented out the lines that are now redundant, you can delete them: lines 170-173:
line 191:
|
Trying to decode the index.html to find the setting for changing the y axis so it is a sensible range for degrees celcius - any ideas?
The text was updated successfully, but these errors were encountered: