Anyone successfully running Nest thermostat with a DD-WRT?

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
scarymike23
DD-WRT Novice


Joined: 15 Nov 2012
Posts: 4

PostPosted: Thu Nov 15, 2012 21:20    Post subject: Anyone successfully running Nest thermostat with a DD-WRT? Reply with quote
I'm considering a Nest thermostat, but many posts indicate that the "Power saving mode" that the Nest uses makes it incompatible with DD-WRT.

I'm just wondering if anyone is successfully running a Nest on a DD-WRT router. Thanks.

Example post: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=715819

Official explanation from Nest:
Quote:
Nest needs to be connected to the Internet in order for you to access and control it from your Nest Account. There are some routers that’ll incorrectly disconnect Nest from the Internet after 30 minutes or less of inactivity. Unfortunately, these routers don’t conform to the TCP/IP specifications around Network Address Translation (NAT) timeouts and are disconnecting Nest too soon.


and

Quote:
Nest uses Wi-Fi "Power Save Mode" to allow it to sleep and charge its battery while remaining connected to the internet. Not all Wi-Fi routers support this feature or implement it correctly.

When they don't, Nest will have difficulty sleeping and will restart in an attempt to reset its network connection. This may happen repeatedly if your Wi-Fi router is incompatible with the “Power Save Mode” feature.
Sponsor
davestein1
DD-WRT Novice


Joined: 02 Jan 2014
Posts: 2

PostPosted: Thu Jan 02, 2014 23:52    Post subject: My Nest Thermostat and DDWRT are WORKING GREAT Reply with quote
This are the settings I changed to accommodate the Nest Thermostat
UDP Timeout 3600s
Beacon Interval 221ms
DTIM 3

I am running V24 Sp2 build 21061
Cisco WRT400N - AR7161
Running DHCP on an Open network with MAC filtering only.
Nest 2nd Generation

Note: UDP timeout is found in Administration->Management. But Beacon Interval and DTIM are often NOT found in your Advanced Wireless settings. They are SSID-specific parameters, and the variable names will vary based on which radio you connect the nest to.

Mine were wl0_bcn and wl0_dtim but yours will vary.

Here is a friendly example for you. Forgive little errors, please.
Telnet 192.168.1.1
Name root
Password *******
nvram show
(This displays a long list of nvram vars. Dig in and find your beacon and dtim var names! You will find one set for each SSID you have.)
Replace my XX’s with your proper chars.
nvram set wXX_bcn="221"
nvram set wXX_dtim="3"
nvram commit

Best of luck. The Nest is a great thermostat. Sorry their own support has been so untechnical. A few magic numbers go a long way!
xophe
DD-WRT Novice


Joined: 06 Jan 2014
Posts: 2

PostPosted: Mon Jan 06, 2014 20:26    Post subject: Reply with quote
Thanks for the info, it helped. However, I think you meant to set the beacon interval to 211 ms, not 221 ms. It's better to set it as a prime number to minimize the risk of collisions among clients. Also, I haven't seen why the UDP timeout matters, I've only seen TCP connections from the Nest.

Based on my experience with my router (WRT54G) default values, the Nest connects every hour for about 5 mins, so it's offline most of the time. With the updated values, it's offline for about 15 mins at a time. Not perfect but much more usable. I'll keep testing.
davestein1
DD-WRT Novice


Joined: 02 Jan 2014
Posts: 2

PostPosted: Mon Jan 06, 2014 23:04    Post subject: Reply with quote
Keep us posted.
I am new to Beacon and DTIM but as I understand it the router will save the client power by saving up communications. It should be communicating to Nest once every 211ms x 3 = 633ms.
I popped in those numbers because they were posted on this forum. ( I will double check that value, thanks. )
Nest didn't say they are TCP only, so I felt it proper to set UDP to be the same.
I would have guessed Nest would want DTIM much higher since a one or two second lag when accessing via the app would not be a problem.
However, my battery level is fine, and I am never offline for more than a second.
It works great.
I am so happy I ordered a second one.
Cheers!
xophe
DD-WRT Novice


Joined: 06 Jan 2014
Posts: 2

PostPosted: Wed Jan 08, 2014 19:17    Post subject: Problem solved Reply with quote
Well, I was doing some tests with the beacon and DTIM values without much improvement when suddenly, my nest appeared online at all times. It turns out it had updated itself to the latest 4.0.1 version (from 3.5.x) and that seemed to have done it. The Nest people must have fixed the problem or found a workaround on their side.
rseiler
DD-WRT Guru


Joined: 01 Oct 2007
Posts: 622

PostPosted: Thu Jan 09, 2014 23:20    Post subject: Reply with quote
Yes, just a few days ago:
http://support.nest.com/article/Intermittent-low-battery-or-connectivity-issues-with-thermostat-software-4-0

I'll have to re-check when I get that update.

What were your symptoms for this issue? I first noticed it when I saw it dropping off the network every minute or so when scanning with SoftPerfect Network Scanner.

I have not yet been able to check if I saw either symptom mentioned here, or check to see that it's showing up in "Energy History."
http://support.nest.com/article/Some-Wi-Fi-routers-can-cause-Nest-to-restart-frequently-or-unexpectedly
stephnsons
DD-WRT Novice


Joined: 31 Aug 2017
Posts: 1

PostPosted: Sun Oct 15, 2017 10:40    Post subject: Best thermostat Reply with quote
Very informative thread.
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Mon Oct 16, 2017 13:39    Post subject: Reply with quote
I've been running my Nest & DD-WRT router without issue. I honestly didn't even think of the Nest when I made the switch to DD-WRT. I'm running a Netgear R7800.
mamock116
DD-WRT Novice


Joined: 17 Dec 2008
Posts: 20

PostPosted: Mon Oct 16, 2017 14:23    Post subject: Reply with quote
I have a 2nd gen Nest and have not had any issues with dd-wrt. I also ran a 1st gen Nest and had no issues with dd-wrt. Have had a Nest and dd-wrt with several different routers for the past 5 years and no issues.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum