Xiaopei's DokuWiki

These are the good times in your life,
so put on a smile and it'll be alright

User Tools

Site Tools


it:iot

物联网

协议和平台

Insteon (微软)

INSTEON | Wireless Home Control Solutions for Lighting, Security, HVAC and A/V Systems

Insteon 是一种复杂度低,功耗低,数据传输速率低,成本低的 双向混合通信技术,具有即时响应,易安装,易使用,经济可靠和与X10兼容的特点。Insteon 被称为混合通信技术是因为它通过 电力线和无线两种方式 来实现家庭设备间的互联。Insteon 网络是点对点通信的网状网结构(mesh),因而网络中所有设备的角色是对等的,都能发送报文、接收报文及转发报文。

Insteon is also the name of the company that develops and markets Insteon technology and products.

Insteon 公司已经与微软达成合作。

Insteon 自身宣传的与其他协议的对比

技术白皮书:INSTEON: Compared

对比说明:

  • ZigBee & Z-wave: Essential requirements of the network control host and taking into account the basic home lighting control and timer, only the RF wireless network.
  • X10: Application flexibility and reliability in line with the home control requirements, low cost but the lack of stability, noise immunity is poor, additional protective equipment required in the use of field.
  • HomePlug: Focus on the broadband applications, is not a valid smart home control technology.
  • Bluetooth: Specially designed for the application of network technology is not designed for the smart home control technology.
 

INSTEON

ZigBee

Z-wave

X10

Bluetooth

HomePlug

Reliable

Excellent

Good

Good

Good

Good

Good

Mesh networking

Yes

N/A

N/A

N/A

N/A

N/A

Physical Medium

RF

+

PowerLine

 

Only

RF

 

Only

RF

Only PowerLine

Only

RF

Only PowerLine

Repeat all communication

Yes

NO

NO

NO

NO

NO

Simulcasting Instead of Routing

Yes

N/A

N/A

Yes

Yes

Yes

Unique I.D.s

16,777,216

256

256

-

8

-

X10 Compatibility

Yes

N/A

N/A

Yes

N/A

N/A

Insteon 平台与其他平台的对比

INSTEON - Home Control Landscape

  Nest SmartThings Lowes Iris WeMo INSTEON
Climate Control  
Drapery Control        
Energy Monitoring
On/Off Wall Switch    
Dimming Wall Switch    
LED Bulbs  
Low Voltage & Custom Devices      
On/Off Plug-in Module  
Dimming Plug-in Module      
Motion Sensor  
Water Leak Sensor  
Smoke and CO Detection    
WiFi Cameras  
Adjustable Ramp Rates for Dimmers        
Customizable On Levels for Dimmers        
Multi-device Scenes        
iOS App
Android App  
Windows Phone App        
Windows 8 App        
Communication Radio Frequency Radio Frequency Radio Frequency Radio Frequency Radio Frequency + Powerline
Technology WiFi, Zigbee WiFi, Zigbee, Z-Wave Z-Wave WiFi INSTEON

SmartThings (三星)

Apple Homekit

Nest (Google)

The Nest Thermostat (恒温器) learns your schedule and the temperatures you like. It keeps you comfortable and saves energy when you're away.

The Nest Protect is a smoke and carbon monoxide alarm.

Nest 目前开放了 API,但只是调用 Nest 本身,而非一个智能家居平台。它的 API 使用了 firebase 是直接面向数据(订阅/写)的,而非传统的 REST、RPC 等方式。通过 Nest API,目前实现的场景有1): — Xiaopei Li 2014/10/09 03:31

  • Google 会把语音命令、Google Now 与 Nest 整合。到时候,用户将能够语音操作 Nest,并且在 Google Now 中接收 Nest 的信息;
  • Chamerberlain 则是把智能车库门与 Nest 整合,通过用户进出车库的动作,Nest 会知道是否应该调整温度了。
  • 奔驰汽车:汽车会把用户到家的时间告诉 Nest,让它提前调整好温度。
  • LIFX 智能灯泡:当 Nest 烟雾器探测到烟雾或一氧化碳,LIFX 灯泡会闪红光,警示屋里有危险。在用户外出度假,Nest 变为 Away 模式后,LIFX 灯泡可以自动开关,造成家里有人的假象。
  • Jawbone UP24:智能手环把用户的作息时间传达给 Nest,让它的温度调节更加智能。
  • Whirlpool 洗衣机:当 Nest 探测到用户离家的时候,它会让 Whirlpool 转换到 refresh 模式,保持衣服新鲜无褶皱。另外,Nest 还能够告诉 Whirlpool 用电高峰期何时到来,让它错过这段时间后,再重新开始工作。
  • IFTTT:通过简单命令,实现更多的连接。比如“如果 Nest 烟雾器探测到烟雾,发信息给我的邻居。”
  • 罗技的 Harmony 遥控器:使用罗技的万能遥控器 Harmony 控制 Nest。当用户回家拿起 Harmony,上面运动感应器会告诉 Nest 关掉 Auto-Away 模式。

// API Reference
// Everything is organized in a single data object.
 
{
  "devices": {
    "thermostats": {
      "peyiJNo0IldT2YlIVtYaGQ": {
        "device_id": "peyiJNo0IldT2YlIVtYaGQ" ,
        "locale": "en-US" ,
        "software_version": "4.0" ,
        "structure_id": "VqFabWH21nwVyd4RWgJgNb292wa7hG_dUwo2i2SG7j3-BOLY0BA4sw" ,
        "name": "Hallway (upstairs)" ,
        "name_long": "Hallway Thermostat (upstairs)" ,
        "last_connection": "2014-03-02T23:20:19+00:00" ,
        "is_online": true ,
        "can_cool": true ,
        "can_heat": true ,
        "is_using_emergency_heat": true ,
        "has_fan": true ,
        "fan_timer_active": true ,
        "fan_timer_timeout": "2014-03-02T23:20:19+00:00" ,
        "has_leaf": true ,
        "temperature_scale": "C" ,
        "target_temperature_f": 72 ,
        "target_temperature_c": 21.5 ,
        "target_temperature_high_f": 72 ,
        "target_temperature_high_c": 21.5 ,
        "target_temperature_low_f": 64 ,
        "target_temperature_low_c": 17.5 ,
        "away_temperature_high_f": 72 ,
        "away_temperature_high_c": 21.5 ,
        "away_temperature_low_f": 64 ,
        "away_temperature_low_c": 17.5 ,
        "hvac_mode": "heat" ,
        "ambient_temperature_f": 72 ,
        "ambient_temperature_c": 21.5
      }
    } ,
    "smoke_co_alarms": {
      "RTMTKxsQTCxzVcsySOHPxKoF4OyCifrs": {
        "device_id": "RTMTKxsQTCxzVcsySOHPxKoF4OyCifrs" ,
        "locale": "en-US" ,
        "software_version": "1.01" ,
        "structure_id": "VqFabWH21nwVyd4RWgJgNb292wa7hG_dUwo2i2SG7j3-BOLY0BA4sw" ,
        "name": "Hallway (upstairs)" ,
        "name_long": "Hallway Protect (upstairs)" ,
        "last_connection": "2014-03-02T23:20:19+00:00" ,
        "is_online": true ,
        "battery_health": "ok" ,
        "co_alarm_state": "ok" ,
        "smoke_alarm_state": "ok" ,
        "ui_color_state": "gray"
      }
    }
  } ,
  "structures": {
    "VqFabWH21nwVyd4RWgJgNb292wa7hG_dUwo2i2SG7j3-BOLY0BA4sw": {
      "structure_id": "VqFabWH21nwVyd4RWgJgNb292wa7hG_dUwo2i2SG7j3-BOLY0BA4sw" ,
      "thermostats": [ "peyiJNo0IldT2YlIVtYaGQ", ... ] ,
      "smoke_co_alarms": [ "RTMTKxsQTCxzVcsySOHPxKoF4OyCifrs", ... ] ,
      "away": "home" ,
      "name": "Home" ,
      "country_code": "US" ,
      "peak_period_start_time": "2014-03-10T23:10:12+00:00" ,
      "peak_period_end_time": "2014-03-10T23:14:19+00:00" ,
      "time_zone": "America/Los_Angeles" ,
      "eta": {
        "trip_id": "myTripHome1024" ,
        "estimated_arrival_window_begin": "2014-07-04T10:48:11+00:00" ,
        "estimated_arrival_window_end": "2014-07-04T18:48:11+00:00"
      }
    }
  }
}

还有 Nest 确实是有一套针对 空调 的算法的,而非只是把空调接上网

thread

  • 与 zigbee 一样,基于 IEEE_802.15.4 (负责 MAC/PHY 层)
    • 支持 mesh
    • 低功耗
  • 通过 6LoWPAN 实现 IPv6
  • 未涉及 服务发现、设备发现、API

产品

家居

汽车

可穿戴

场景

  • 到家前自动煮饭 (菜怎么办?)
  • 找空调遥控器
  • ifttt Recipes for the Internet of Things: https://ifttt.com/recipes/collections/32-iot
    • Turn off the lights
    • Toggle on/off your WeMo Switch with a #LongPress on your Light Switch
    • If it rises above ___ degrees outside then turn your A/C on
    • Add an iOS reminder when my check engine light comes on
    • Check Engine Light on again? Set a reminder to schedule a mechanic appointment!
    • See the big picture of how you sleep. Track your Zzz's with a spreadsheet!
    • Add your Fitbit daily activity summaries to a Google spreadsheet
    • Glass alerts for all Calendar events
    • Text a neighbor when your Nest Protect detects a smoke alarm emergency
    • Set to Away and turn your Philips hue bulbs off
    • Send an email to someone when the temperature drops below freezing
    • My Plant can send email when it needs water :)
    • Call me if the liquor cabinet opens!
    • Get an email today with yesterday's logged activity by Pulse
    • Blink when I get a new email
// 从 ifttt 摘 title:
$('.recipe-desc_title').each(function(){console.log($(this).text())});

modou 路由

  • 老黄对智能的定义: (本设备)方便交互 + (与其他设备间)智能互通
  • modou 路由的特点:
    • 支持 openwrt
    • 有 modou boot 供刷机, 刷坏可以重刷
    • 有 modou api
  • modou 期望的 物联网 协议栈 (STOIS, 还未发布正式文档):
    服务访问 服务发现
    CoAP (RESTFUL 接口)mDNS(发现主机/发布自身)DNS-sd(发现服务/发布自身服务)
    DTLS (对 UDP 做加密)mDNS + DNS-sd 即 zeroconf 的一部分实现 (bonjour)
    UDP/IP
    多种物理通信统一为 IP 协议 (zigbee/zwave/dash7/etc)
  • modou 按键
    • 无线通信采用 DASH7, 传输距离远, 功耗低, 能用 10 年
    • 还未发布, 无配置界面

zeroconf

Zeroconf is built on three core technologies
zerconf 协议主要是定义了三个层次:

  1. Address selection assignment of numeric network addresses for networked devices
    不需利用dhcp server取得 设备地址如IP的相关资料
  2. Name resolution automatic distribution and resolution of computer hostnames
    不需要通过 DNS server 就转换 domain name 和 IP 的关系
  3. Service discovery automatic location of network services, such as printing devices
    利用 DNS-SD 来取得设备服务,而不需通过 directory server

其中 apple 的 zeroconf 实现是 bonjour, 它使用了 multicast DNSDNS Service Discovery. 2), 在 mac 上提供的接口是 mDNSResponder.

Linux 的开源实现是 Avahi. It implements IPv4LL, mDNS and DNS-SD.

2)
apple 是从 Service Location Protocol (SLP) 迁移到 mDNS + DNS-sd 的
it/iot.txt · Last modified: 2014/10/15 10:26 by admin