由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Hardware版 - How can Nest thermostat be accessible from internet?
相关主题
带log网络访问的router有什么推荐吗?或者需要啥个特别的firmw有谁用了D-link 615 wireless N Router
刷了ddwrt没有wan ip怎么办从外网访问bridge mode的router怎么搞?
How to restrict https access on Tomato based router如何设置才能远程配置router后的voip adapter?
tomato router 上怎样通过DHCP指定另外一个DNS server?推荐个便宜的Cable modern?
包子求好心人解答:如何提高wifi coverage?无线上网问题
求推荐能看PPS的router有用comcast cable internet的吗
求router10个包子求问不同router之间访问问题
有好办法 加 a WiFi hotspot in my car 吗 (转载)连不上modem的界面
相关话题的讨论汇总
话题: thermostat话题: nest话题: server话题: router话题: accessible
进入Hardware版参与讨论
1 (共1页)
n***s
发帖数: 551
1
I guess the mobile app logs into cloud server. But how can the server
communicate the thermostat behind the router in home network? I don't see
any step to setup port forwarding or dynamic DNS.
N*****m
发帖数: 42603
2
很简单啊
控制器从服务器读数据和指令就行了

【在 n***s 的大作中提到】
: I guess the mobile app logs into cloud server. But how can the server
: communicate the thermostat behind the router in home network? I don't see
: any step to setup port forwarding or dynamic DNS.

n***s
发帖数: 551
3
So do you mean the thermostat will poll the server constantly? Otherwise,
the mobile device will see a gap of availability of the thermostat.I am
thinking that the communication should be server push and thus I have the
question of how server can find/remember the thermostat behind router.
N*****m
发帖数: 42603
4
push or pull/polling
没啥区别,都是client建立连接,比如建个websocket,然后server push

【在 n***s 的大作中提到】
: So do you mean the thermostat will poll the server constantly? Otherwise,
: the mobile device will see a gap of availability of the thermostat.I am
: thinking that the communication should be server push and thus I have the
: question of how server can find/remember the thermostat behind router.

a9
发帖数: 21638
5
你以为push怎么实现的?

【在 n***s 的大作中提到】
: So do you mean the thermostat will poll the server constantly? Otherwise,
: the mobile device will see a gap of availability of the thermostat.I am
: thinking that the communication should be server push and thus I have the
: question of how server can find/remember the thermostat behind router.

n***s
发帖数: 551
6
Thanks for the replies, guys.
What in my mind:
Most home router doesn't have static router so it is an stable for server
push (the router IP might be changed by ISP). Therefore router needs to send
its information to server (But it is not the case of Nest setup).
For server to aware the existence of Nest thermostat, the thermostat need to
send info to server, similar to the above logic of router. But its LAN IP
address is even less stable than router WAN address and its address is
completely unknown to server. Therefore, it needs to maintain Keep-Alive
connection to the server in order for mobile device to contact it. The
number of thermostats are in millions. Is is a huge requirement for server
to maintain millions of active connections?

【在 a9 的大作中提到】
: 你以为push怎么实现的?
p***o
发帖数: 1252
7
search for "c10m"

send
to

【在 n***s 的大作中提到】
: Thanks for the replies, guys.
: What in my mind:
: Most home router doesn't have static router so it is an stable for server
: push (the router IP might be changed by ISP). Therefore router needs to send
: its information to server (But it is not the case of Nest setup).
: For server to aware the existence of Nest thermostat, the thermostat need to
: send info to server, similar to the above logic of router. But its LAN IP
: address is even less stable than router WAN address and its address is
: completely unknown to server. Therefore, it needs to maintain Keep-Alive
: connection to the server in order for mobile device to contact it. The

g*******t
发帖数: 7704
8
和手机一样,就是长连接,20-30分钟发一个心跳信号,
N*****m
发帖数: 42603
9
你得学点网络服务的基础
第一段,所有client/server都有re-connect机制。router重置、断线等等,都可以由
客户端发起重连;
第二段,这个也不是问题。不说一个机器就能处理1M个连接;实在不行,还有负载平衡
到集群。

send
to

【在 n***s 的大作中提到】
: Thanks for the replies, guys.
: What in my mind:
: Most home router doesn't have static router so it is an stable for server
: push (the router IP might be changed by ISP). Therefore router needs to send
: its information to server (But it is not the case of Nest setup).
: For server to aware the existence of Nest thermostat, the thermostat need to
: send info to server, similar to the above logic of router. But its LAN IP
: address is even less stable than router WAN address and its address is
: completely unknown to server. Therefore, it needs to maintain Keep-Alive
: connection to the server in order for mobile device to contact it. The

1 (共1页)
进入Hardware版参与讨论
相关主题
连不上modem的界面包子求好心人解答:如何提高wifi coverage?
这样的home network设置可行吗?router 和 switch 应怎样设置?求推荐能看PPS的router
comcast 的新router大家都怎么整的?求router
【请教】FIOS+DD-WRT的LINKSYS理论上可行吗?有好办法 加 a WiFi hotspot in my car 吗 (转载)
带log网络访问的router有什么推荐吗?或者需要啥个特别的firmw有谁用了D-link 615 wireless N Router
刷了ddwrt没有wan ip怎么办从外网访问bridge mode的router怎么搞?
How to restrict https access on Tomato based router如何设置才能远程配置router后的voip adapter?
tomato router 上怎样通过DHCP指定另外一个DNS server?推荐个便宜的Cable modern?
相关话题的讨论汇总
话题: thermostat话题: nest话题: server话题: router话题: accessible