Hello all,
Need help finishing my Nest addition into ST.
It shows as one of the last steps, to go back in to the list of Devices, click the Nest that you added, and then hit “Edit, next to Preferences”. I actually see nowhere where those 2 buttons are. I am at the point where I am looking to put the Nest’s serial number in.
Where specifically am I putting this? Inside the web console that I built this all in, or within the iOS app? Can anyone clarify with a little more detail? The instructions generically say to put in all your info… Besides serial number, are there other specific things that have to go in so ST will recognize my Nest?
What exactly is this code above? It’s only about 112 lines, vs. looking out on GitHub and what appears to be the latest full code and 313 lines of code:
Can anyone explain if I am supposed to do anything with these 112 lines of code and add or replace the full code?
Update “def cToF(temp)” to just return temp, i.e. no conversion
Same for “def fToC(temp)”
Looks like Nest is native Celsius, so the device hander is converting to/from C which you don’t want for native celsius.
Then if you want the background colours to be “correct” update lines 73-79 and 96-102 to have equivalent Celsius values:
31 is approx 0
44 is approx 7
59 is approx 15
74 is approx 23
84 is approx 29
95 is approx 35
96 is approx 36
That would be a quick “hack”. Proper way would be to allow unit to be a preference setting.
One other question. Is there a way to change the temp change slider to a “Set Temp Increase” and “Set Temp Decrease” tap buttons with some sort of arrow or direction indication instead (maybe the direction indication in place of “increase” or “decrease”)? I find that buttons are better (for myself anyway)
Anyone else notice the instructions or code seem to be missing something? I recently got my ST setup and started with getting my garage door hooked up, which works amazingly. I moved on to connecting my Nest and followed the steps to the tee and it didn’t work. For the life of me I couldn’t figure it out.
I then noticed that the code generated once you create the device type in the ST IDE has the following code under the metadata section which is missing from the code provided on GIT:
Not sure if the above code is now required due to a change in with ST or it was a step that I missed. I’m going to keep testing to see if what I did actually allows for everything to work, so far so good.
You dont add it to ST hub, nest is a wifi device. What you are doing you are telling ST cloud to communicate with NEST cloud using your id, password and serial number of your thermostat, so to speak.