||

||

||

||

||

||

demo.items

Group All
Group gGF (All)
Group gFF (All)
Group gC (All)
Group Outdoor (All)
Group Shutters (All)
Group Weather (All)
Group Status (All) Group GF_Living "Living Room" <video> (gGF)
Group GF_Kitchen "Kitchen" <kitchen> (gGF)
Group GF_Toilet "Toilet" <bath> (gGF)
Group GF_Corridor "Corridor" <corridor> (gGF) Group FF_Bath "Bathroom" <bath> (gFF)
Group FF_Office "Office" <office> (gFF)
Group FF_Child "Child's Room" <boy1> (gFF)
Group FF_Bed "Bedroom" <bedroom> (gFF)
Group FF_Corridor "Corridor" <corridor> (gFF) /* active groups */
Group:Switch:OR(ON, OFF) Lights "All Lights [(%d)]" (All)
Group:Switch:OR(ON, OFF) Heating "No. of Active Heatings [(%d)]" <heating> (All)
Group:Number:AVG Temperature "Avg. Room Temperature [%.1f °C]" <temperature> (Status)
Group:Contact:OR(OPEN, CLOSED) Windows "Open windows [(%d)]" <contact> (All) /* Lights */
Dimmer Light_GF_Living_Table "Table" (GF_Living, Lights)
Switch Light_GF_Corridor_Ceiling "Ceiling" (GF_Corridor, Lights)
Switch Light_GF_Kitchen_Ceiling "Ceiling" (GF_Kitchen, Lights)
Switch Light_GF_Kitchen_Table "Table" (GF_Kitchen, Lights)
Switch Light_GF_Corridor_Wardrobe "Wardrobe" (GF_Corridor, Lights)
Switch Light_GF_Toilet_Ceiling "Ceiling" (GF_Toilet, Lights)
Switch Light_GF_Toilet_Mirror "Mirror" (GF_Toilet, Lights) Switch Light_FF_Bath_Ceiling "Ceiling" (FF_Bath, Lights)
Switch Light_FF_Bath_Mirror "Mirror" (FF_Bath, Lights)
Switch Light_FF_Corridor_Ceiling "Corridor" (FF_Corridor, Lights)
Switch Light_FF_Office_Ceiling "Ceiling" (FF_Office, Lights)
Switch Light_FF_Child_Ceiling "Ceiling" (FF_Child, Lights)
Switch Light_FF_Bed_Ceiling "Ceiling" (FF_Bed, Lights) Switch Light_C_Corridor_Ceiling "Ceiling" (gC, Lights)
Switch Light_C_Staircase "Staircase" (gC, Lights)
Switch Light_C_Washing_Ceiling "Washing" (gC, Lights)
Switch Light_C_Workshop "Workshop" (gC, Lights) Switch Light_Outdoor_Garage "Garage" (Outdoor, Lights)
Switch Light_Outdoor_Terrace "Terrace" (Outdoor, Lights)
Switch Light_Outdoor_Frontdoor "Frontdoor" (Outdoor, Lights) /* Heating */
Switch Heating_GF_Corridor "GF Corridor" <heating> (GF_Corridor, Heating)
Switch Heating_GF_Toilet "Toilet" <heating> (GF_Toilet, Heating)
Switch Heating_GF_Living "Livingroom" <heating> (GF_Living, Heating)
Switch Heating_GF_Kitchen "Kitchen" <heating> (GF_Kitchen, Heating) Switch Heating_FF_Bath "Bath" <heating> (FF_Bath, Heating)
Switch Heating_FF_Office "Office" <heating> (FF_Office, Heating)
Switch Heating_FF_Child "Child's Room" <heating> (FF_Child, Heating)
Switch Heating_FF_Bed "Bedroom" <heating> (FF_Bed, Heating) /* Rollershutters */
Switch Shutter_all (Shutters) Rollershutter Shutter_GF_Toilet "Toilet" (GF_Toilet, Shutters)
Rollershutter Shutter_GF_Kitchen "Kitchen" (GF_Kitchen, Shutters)
Rollershutter Shutter_GF_Living "Livingroom" (GF_Living, Shutters) Rollershutter Shutter_FF_Bed "Bedroom" (FF_Bed, Shutters)
Rollershutter Shutter_FF_Bath "Bath" (FF_Bath, Shutters)
Rollershutter Shutter_FF_Office_Window "Office Window" (FF_Office, Shutters)
Rollershutter Shutter_FF_Office_Door "Office Door" (FF_Office, Shutters) /* Indoor Temperatures */
Number Temperature_GF_Corridor "Temperature [%.1f °C]" <temperature> (Temperature, GF_Corridor)
Number Temperature_GF_Toilet "Temperature [%.1f °C]" <temperature> (Temperature, GF_Toilet)
Number Temperature_GF_Living "Temperature [%.1f °C]" <temperature> (Temperature, GF_Living)
Number Temperature_GF_Kitchen "Temperature [%.1f °C]" <temperature> (Temperature, GF_Kitchen)
Number Temperature_FF_Bath "Temperature [%.1f °C]" <temperature> (Temperature, FF_Bath)
Number Temperature_FF_Office "Temperature [%.1f °C]" <temperature> (Temperature, FF_Office)
Number Temperature_FF_Child "Temperature [%.1f °C]" <temperature> (Temperature, FF_Child)
Number Temperature_FF_Bed "Temperature [%.1f °C]" <temperature> (Temperature, FF_Bed) /* Windows */
Contact Window_GF_Frontdoor "Frontdoor [MAP(en.map):%s]" (GF_Corridor, Windows)
Contact Window_GF_Kitchen "Kitchen [MAP(en.map):%s]" (GF_Kitchen, Windows)
Contact Window_GF_Living "Terrace door [MAP(en.map):%s]" (GF_Living, Windows)
Contact Window_GF_Toilet "Toilet [MAP(en.map):%s]" (GF_Toilet, Windows) Contact Window_FF_Bath "Bath [MAP(en.map):%s]" (FF_Bath, Windows)
Contact Window_FF_Bed "Bedroom [MAP(en.map):%s]" (FF_Bed, Windows)
Contact Window_FF_Office_Window "Office Window [MAP(en.map):%s]" (FF_Office, Windows)
Contact Window_FF_Office_Door "Balcony Door [MAP(en.map):%s]" (FF_Office, Windows) Contact Garage_Door "Garage Door [MAP(en.map):%s]" (Outdoor, Windows) Group Weather_Chart (Weather)
Number Weather_Temperature "Outside Temperature [%.1f °C]" <temperature> (Weather_Chart) { http="<[http://weather.yahooapis.com/forecastrss?w=638242&u=c:60000:XSLT(yahoo_weather_temperature.xsl)]" }
Number Weather_Temp_Max "Todays Maximum [%.1f °C]" <temperature> (Weather_Chart)
Number Weather_Temp_Min "Todays Minimum [%.1f °C]" <temperature> (Weather_Chart) /* NTP binding demo item */
DateTime Date "Date [%1$tA, %1$td.%1$tm.%1$tY]" <calendar> { ntp="Europe/Berlin:de_DE" } /* Demo items */
Switch DemoSwitch "Switch"
Dimmer DimmedLight "Dimmer [%d %%]" <slider>
Color RGBLight "RGB Light" <slider>
Rollershutter DemoShutter "Roller Shutter"
Dimmer DemoBlinds "Blinds [%d %%]" <rollershutter>
Number Scene_General "Scene" <sofa>
Number Radio_Station "Radio" <network>
Dimmer Volume "Volume [%.1f %%]"
Number Temperature_Setpoint "Temperature [%.1f °C]" <temperature> String UnknownDevices "Unknown Devices in Range: [%s]" { bluetooth="?" }
Number NoOfPairedDevices "Paired Devices in Range: [%d]" { bluetooth="!" }

demo.sitemap

sitemap demo label="Main Menu"
{
Frame {
Group item=gFF label="First Floor" icon="firstfloor"
Group item=gGF label="Ground Floor" icon="groundfloor"
Group item=gC label="Cellar" icon="cellar"
Group item=Outdoor icon="garden"
}
Frame label="Weather" {
Text item=Weather_Temperature {
Frame {
Text item=Weather_Temp_Max
Text item=Weather_Temp_Min
}
Frame {
Chart item=Weather_Chart period=h refresh=10000
}
}
}
Frame label="Date" {
Text item=Date
}
Frame label="Demo" {
Text label="Group Demo" icon="firstfloor" {
Switch item=Lights mappings=[OFF="All Off"]
Group item=Heating
Group item=Windows
Text item=Temperature
}
Text label="Widget Overview" icon="chart" {
Frame label="Binary Widgets" {
Switch item=DemoSwitch label="Toggle Switch"
Switch item=DemoSwitch label="Button Switch" mappings=[ON="On"]
}
Frame label="Discrete Widgets" {
Selection item=Scene_General label="Scene Selection" mappings=[0=off, 1=TV, 2=Dinner, 3=Reading]
Switch item=Scene_General label="Scene" mappings=[1=TV, 2=Dinner, 3=Reading]
Setpoint item=Temperature_Setpoint minValue=16 maxValue=28 step=0.5
}
Frame label="Percent-based Widgets" {
Slider item=DimmedLight switchSupport
Colorpicker item=RGBLight icon="slider"
Switch item=DemoShutter
Slider item=DemoBlinds
}
}
Text label="Multimedia" icon="video" {
Frame label="Radio Control" {
Selection item=Radio_Station mappings=[0=off, 1=HR3, 2=SWR3, 3=FFH]
Slider item=Volume
}
Frame label="Multimedia Widgets" {
Image url="http://localhost:8080/images/splash-ipad-h.png" label="openHAB" {
Text label="http://www.openHAB.org" icon="icon"
}
Video url="http://demo.openhab.org/Hue.m4v"
Webview url="http://heise-online.mobi/" height=8
}
}
}
}

[置顶] openHAB 体系结构与编程模型 (2) --- Web Application Servlet 源码结构的更多相关文章

  1. [置顶] openHAB 体系结构与编程模型 (1) --- 术语

    openHAB 术语 Item : 对硬件设备属性的抽象 ( Items are objects that can be read from or written to in order to int ...

  2. [置顶] 我的Android进阶之旅------>如何将Android源码导入Eclipse中来查看(非常实用)

    Android源码下载完成的目录结构如如所示: step1:将.classpath文件拷贝到源代码的根目录 Android源码支持多种IDE,如果是针对APP层做开发的话,建议大家使用Eclipse开 ...

  3. Atitit..组件化事件化的编程模型--(2)---------Web datagridview 服务器端控件的实现原理and总结

    Atitit..组件化事件化的编程模型--(2)---------Web datagridview 服务器端控件的实现原理and总结 1. 服务端table控件的几个流程周期 1 1.1. 确认要显示 ...

  4. ARMV8 datasheet学习笔记4:AArch64系统级体系结构之编程模型(4)- 其它

    1. 前言 2.可配置的指令使能/禁用控制和trap控制 指令使能/禁用 当指令被禁用,则这条指令就会变成未定义 指令Trap控制 控制某条或某些指令在运行时进入陷阱,进入陷阱的指令会产生trap异常 ...

  5. ARMV8 datasheet学习笔记4:AArch64系统级体系结构之编程模型(1)-EL/ET/ST

    1.前言 ARMV8系统级编程模型主要包括异常级别.运行状态.安全状态.同步异常.异步异常.DEBUG 本文主要对系统级编程模型做一个概要介绍 2. 异常级别 2.1 Exception level概 ...

  6. 多线程高并发编程(12) -- 阻塞算法实现ArrayBlockingQueue源码分析(1)

    一.前言 前文探究了非阻塞算法的实现ConcurrentLinkedQueue安全队列,也说明了阻塞算法实现的两种方式,使用一把锁(出队和入队同一把锁ArrayBlockingQueue)和两把锁(出 ...

  7. Java并发编程笔记之LongAdder和LongAccumulator源码探究

    一.LongAdder原理 LongAdder类是JDK1.8新增的一个原子性操作类.AtomicLong通过CAS算法提供了非阻塞的原子性操作,相比受用阻塞算法的同步器来说性能已经很好了,但是JDK ...

  8. 多线程高并发编程(11) -- 非阻塞队列ConcurrentLinkedQueue源码分析

    一.背景 要实现对队列的安全访问,有两种方式:阻塞算法和非阻塞算法.阻塞算法的实现是使用一把锁(出队和入队同一把锁ArrayBlockingQueue)和两把锁(出队和入队各一把锁LinkedBloc ...

  9. ARMV8 datasheet学习笔记4:AArch64系统级体系结构之编程模型(3)- 异常

    1.前言 本文介绍异常相关内容,包括异常类型,异常进入,异常返回,异常层次结构,异常的路由等 2.  RESET ARMV8体系结构支持两种类型的RESET Cold reset:Reset PE所有 ...

随机推荐

  1. Bonjour/Zeroconf with Arduino

    转自:http://gkaindl.com/software/arduino-ethernet/bonjour Bonjour/Zeroconf with Arduino DownloadVersio ...

  2. Linux学习二:基于CentOS 6.5的网络配置

    查看网卡信息: ifconfig [root@hadoop01 ~]# ifconfig [正常的显示信息] eth0 Link encap:Ethernet HWaddr :0C::::5C ine ...

  3. 朴素贝叶斯(Naive Bayesian)

    简介 Naive Bayesian算法 也叫朴素贝叶斯算法(或者称为傻瓜式贝叶斯分类) 朴素(傻瓜):特征条件独立假设 贝叶斯:基于贝叶斯定理 这个算法确实十分朴素(傻瓜),属于监督学习,它是一个常用 ...

  4. Ubuntu16.04安装Caffe

    一.安装ccmake ccmake和cmake的功能是一样的,但它很方便设置编译前的一些参数,安装只需从官网下载压缩包,解压,最后将解压得到的文件夹中的bin文件夹的路径加入PATH环境变量中即可. ...

  5. asp.net core 2.1开发环境下配置IIS

    asp.net core 2.1是可以在开发环境下配置到IIS中的,这样就可以在vs中按F5直接运行了 在项目上右键点击属性,然后在Debug中配置如下参数 首先点击New按钮,输入IIS,点击确定 ...

  6. nyoj19(排列组合next_permutation(s.begin(),s.end()))

    题目意思: 从n个数中选择m个数,按字典序输出其排列. pid=19">http://acm.nyist.net/JudgeOnline/problem.php?pid=19 例: 输 ...

  7. CF 567D(One-Dimensional Battle Ships-二分)

    D. One-Dimensional Battle Ships time limit per test 1 second memory limit per test 256 megabytes inp ...

  8. python2.7编码与解码

    常见的编码 ASCII: 美国人发明的,只编码英文字母和符号,1个字节. GB2312: 中国人发明的,增加了中文汉字和符号,2个字节. Unicode: 为了把所有语言都统一到一套编码里,一般是2个 ...

  9. cmd 进入mysql 小技巧

    1.開始中找出执行:输入cmd 2.查找appserv所在盘,我的在D盘.所以接着输入:d: 3.在d盘中查找mysql所在文件夹:cd appserv\mysql\bin 4.再输入主机名.数据库名 ...

  10. HDU 1015.Safecracker【暴力枚举】【8月17】

    Safecracker Problem Description === Op tech briefing, 2002/11/02 06:42 CST ===  "The item is lo ...