Nest API查询-通过入侵者警报控制系统 [英] Nest API Query - Control of system from Intruder Alarm

查看:75
本文介绍了Nest API查询-通过入侵者警报控制系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑购买Nest,并且对API功能有一些想法.我在房屋周围有一个带有PIR的入侵者/安全警报.我打算做的是通过API在此系统和Nest之间开发接口.

I'm considering the purchase of a Nest and have some thoughts in relation to the API capabilities. I have a intruder/security alarm with PIRs around the house. What I intend to do is to develop an interface between this system and Nest via the API.

我这样做的原因是使用来自警报PIR传感器的运动检测来通知" Nest某人仍在房屋内(由于他们的移动),因此可以防止Nest在房屋内切换到其自动离开"状态有人居住.

My reasoning for this is to use the motion detection from the alarms PIR sensors to 'inform' Nest that someone is still on the premises (due to their movement) and hence prevent Nest switching to its Auto-Away state when the house is inhabited.

另外,当房屋处于离开模式时,我希望Nest能够立即进入自动离开状态.

Also when the house is armed in away-mode I would want Nest to enter Auto-Away state immediately.

所以我想知道的是是否可以通过API执行以下操作:

So what I'd like to know is whether it's possible to do the following via the API:

1)保留/切换到家中/到家中 2)将Nest置于自动离开状态

1) Keep/switch Nest in/to the Home 2) Place Nest in the Auto-Away state

干杯伊恩

推荐答案

您可以将Nest切换为Away或Home,但是您无法控制Auto-Away.以我的经验,自动离开"可能并不是您想要的,因为Nest每次遇到预定的加热/冷却等事件时都会退出自动离开"模式.

You can switch Nest to Away, or to Home, but you cannot control Auto-Away. In my experience Auto-Away is probably not what you want anyway, as Nest seems to drop out of Auto-Away mode every time it crosses a scheduled heating/cooling etc event.

这正是我使用API​​的方式-在每次设置警报时将Nest设置为离开",而在未设置警报时将Nest设置为首页".

This is exactly how I use the API - to set the Nest to Away whenever the alarm is set, and to Home whenever the alarm is unset.

这篇关于Nest API查询-通过入侵者警报控制系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆