Skip to content
Snippets Groups Projects
Commit 9642e7a7 authored by René Schöne's avatar René Schöne
Browse files

Remove out and logs.

parent e59964ae
Branches
No related tags found
No related merge requests found
Showing
with 3 additions and 45707 deletions
.gradle/ .gradle/
.idea/ .idea/
build/dependencyUpdates/ build/dependencyUpdates/
venv/
*/out/
logs/
Mqtt: incoming="oh2/out" outgoing="oh2/in" host="localhost" ;
ThingType: id="hue:bridge" label="Hue Bridge" description="The hue bridge represents the Philips hue bridge." parameters=[] channelTypes=[] ;
// ChannelType: id="hue:color" label="Color" description="The color channel allows to control the color of a light. It is also possible to dim values and switch the light on and off." itemType="Color" category="ColorLight" ;
// Thing: id="hue:bridge:0017880adcf4" label="Philips hue (10.8.0.160)" type="hue:bridge" channels=[] ;
// Thing: id="hue:0210:0017880adcf4:1" label="Wohnzimmer" type="hue:0210" channels=["hue:0210:0017880adcf4:1:alert", "hue:0210:0017880adcf4:1:effect"] ;
// Channel: id="hue:0210:0017880adcf4:1:color_temperature" type="hue:color_temperature" links=[] ;
Item: id="iris1_item" label="Iris 1" state="121,88,68" topic="iris1_item/state";
ThingType: id="skywriter-hat" label="SkyWriterHAT" description="SkyWriterHAT Gesture Recognition" parameters=["brokername"] channelTypes=["flick-type"] ;
ChannelType: id="flick-type" itemType="String" label="Last Flick" description="Last Flick detected (and its direction)" category="Motion" readOnly ;
Parameter: id="brokername" type="text" required label="Broker Name" description="Name of the broker as defined in the <broker>.url in services/mqtt.cfg. See the MQTT Binding for more information on how to configure MQTT broker connections." context="service" default="mosquitto" ;
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="Console">
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} %-5level} %c{1.} - %msg%n"/>
</Console>
<RollingFile name="RollingFile" fileName="logs/eraser.log"
filePattern="logs/eraser-%i.log">
<PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n"/>
<Policies>
<OnStartupTriggeringPolicy/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="Console"/>
<AppenderRef ref="RollingFile"/>
</Root>
<Logger name="de.tudresden.inf.st.eraser.openhab2.mqtt" level="DEBUG" additivity="false">
<Appender-ref ref="Console"/>
</Logger>
</Loggers>
</Configuration>
ThingType: id="hue:bridge" label="Hue Bridge" description="The hue bridge represents the Philips hue bridge." parameters=[] channelTypes=[] ;
ThingType: id="hue:0200" label="Color Light" description="A dimmable light with changeable colors." ;
ThingType: id="hue:0210" label="Extended Color Light" description="A dimmable light with changeable colors and tunable color temperature." parameters=[] channelTypes=[];
Thing: id="hue:bridge:0017880adcf4" label="Philips hue (10.8.0.160)" type="hue:bridge" channels=[] ;
Thing: id="hue:0210:0017880adcf4:1" label="Wohnzimmer" type="hue:0210" channels=["hue:0210:0017880adcf4:1:alert", "hue:0210:0017880adcf4:1:effect"] ;
Thing: id="hue:0200:0017880adcf4:5" label="Hue iris 1" type="hue:0200" channels=["hue:0210:0017880adcf4:4:color", "hue:0210:0017880adcf4:4:color_temperature", "hue:0210:0017880adcf4:4:alert", "hue:0210:0017880adcf4:4:effect"] ;
Thing: id="hue:0210:0017880adcf4:4" label="Hue go 1" type="hue:0210" channels=["hue:0200:0017880adcf4:5:color", "hue:0200:0017880adcf4:5:alert", "hue:0200:0017880adcf4:5:effect"] ;
ChannelType: id="hue:color" label="Color" description="The color channel allows to control the color of a light. It is also possible to dim values and switch the light on and off." itemType="Color" category="ColorLight" ;
ChannelType: id="hue:alert" label="Alert" description="The alert channel allows a temporary change to the bulb’s state." itemType="String" category="Unknown" ;
ChannelType: id="hue:effect" label="Color Loop" description="The effect channel allows putting the bulb in a color looping mode." itemType="Switch" category="ColorLight" ;
ChannelType: id="hue:color_temperature" label="Color Temperature" description="The color temperature channel allows to set the color temperature of a light from 0 (cold) to 100 (warm)." itemType="Dimmer" category="ColorLight" ;
Channel: id="hue:0210:0017880adcf4:1:color_temperature" type="hue:color_temperature" links=[] ;
Channel: id="hue:0210:0017880adcf4:1:effect" type="hue:effect" links=[] ;
Channel: id="hue:0210:0017880adcf4:4:color" type="hue:color" links=[] ;
Channel: id="hue:0210:0017880adcf4:4:color_temperature" type="hue:color_temperature" links=[] ;
Channel: id="hue:0210:0017880adcf4:4:alert" type="hue:alert" links=[] ;
Channel: id="hue:0210:0017880adcf4:4:effect" type="hue:effect" links=[] ;
Channel: id="hue:0200:0017880adcf4:5:color" type="hue:color" links=[] ;
Channel: id="hue:0200:0017880adcf4:5:alert" type="hue:alert" links=[] ;
Channel: id="hue:0200:0017880adcf4:5:effect" type="hue:color" links=[] ;
Item: id="iris1_item" label="Iris 1" state="121,88,68" topic="iris1_item/state";
Group: id="Lights" groups=[] items=["iris1_item"];
// currently unused thing types
ThingType: id="hue:0100" label="Dimmable Light" description="A dimmable light." ;
ThingType: id="hue:0110" label="Dimmable Plug-in Unit" description="An outlet that can be dimmed." ;
ThingType: id="hue:0210" label="Extended Color Light" description="A dimmable light with changeable colors and tunable color temperature." ;
ThingType: id="hue:0000" label="On/Off Light" description="A light that could be switched on and off." ;
ThingType: id="hue:0010" label="On/Off Plug-in Unit" description="An outlet that could be switched on and off." ;
ThingType: id="hue:bridge" label="Hue Bridge" description="The hue bridge represents the Philips hue bridge." ;
// currently unused channel types
ChannelType: id="hue:switch"description="The switch channel allows to switch the light on and off."label="Switch"itemType="Switch"category="Light" ;
ChannelType: id="system:signal-strength"label="Signal Strength"description=""itemType="Number"category="QualityOfService" readOnly ;
ChannelType: id="system:low-battery"label="Low Battery"description=""itemType="Switch"category="Battery" readOnly ;
ChannelType: id="system:battery-level"label="Battery Level"description=""itemType="Number"category="Battery" readOnly ;
ChannelType: id="system:trigger"label="Trigger"description=""category="System" ;
ChannelType: id="system:rawbutton"label="Raw button"description=""category="System" ;
ChannelType: id="system:button"label="Button"description=""category="System" ;
ChannelType: id="system:rawrocker"label="Raw rocker button"description=""category="System" ;
Mqtt: incoming="oh2/out" outgoing="oh2/in" host="localhost" topics=["iris1_item/state", "go1_item/state"] ;
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="Console">
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} %-5level} %c{1.} - %msg%n"/>
</Console>
<RollingFile name="RollingFile" fileName="logs/eraser-test.log"
filePattern="logs/eraser-test-%i.log">
<PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n"/>
<Policies>
<OnStartupTriggeringPolicy/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="Console"/>
<AppenderRef ref="RollingFile"/>
</Root>
<Logger name="de.tudresden.inf.st.eraser.openhab2.mqtt" level="DEBUG" additivity="false">
<Appender-ref ref="Console"/>
</Logger>
<!-- Testcontainers reduce noise-->
<Logger name="org.testcontainers" level="INFO" additivity="false">
<Appender-ref ref="Console"/>
<AppenderRef ref="RollingFile"/>
</Logger>
<Logger name="com.github.dockerjava.core" level="INFO" additivity="false">
<Appender-ref ref="Console"/>
<AppenderRef ref="RollingFile"/>
</Logger>
</Loggers>
</Configuration>
[]
{}
result=OUTPUT_PASS
Real-world content of items.
[
{
"link": "http://192.168.1.250:8080/rest/items/Rule_Switch",
"state": "NULL",
"editable": false,
"type": "Switch",
"name": "Rule_Switch",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/Color_Manual_Slider",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "Color_Manual_Slider",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/watch_acceleration_x",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_acceleration_x",
"label": "Watch Acceleration X",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/watch_acceleration_y",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_acceleration_y",
"label": "Watch Acceleration Y",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/watch_acceleration_z",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_acceleration_z",
"label": "Watch Acceleration Z",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/watch_rotation_x",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_rotation_x",
"label": "Watch Rotation X",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/watch_rotation_y",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_rotation_y",
"label": "Watch Rotation Y",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/watch_rotation_z",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_rotation_z",
"label": "Watch Rotation Z",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/phone_rotation_x",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "phone_rotation_x",
"label": "Phone Rotation X",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/phone_rotation_y",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "phone_rotation_y",
"label": "Phone Rotation Y",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/phone_rotation_z",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "phone_rotation_z",
"label": "Phone Rotation Z",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/samsung_brightness",
"state": "NULL",
"editable": true,
"type": "Number",
"name": "samsung_brightness",
"label": "Samsung Brightness",
"category": "Brightness",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/skywriter_flick_item",
"state": "NULL",
"editable": true,
"type": "String",
"name": "skywriter_flick_item",
"label": "Skywriter Flick Detected",
"category": "Motion",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/polar_brightness",
"state": "NULL",
"editable": true,
"type": "Number",
"name": "polar_brightness",
"label": "Polar Brightness",
"category": "Brightness",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/moto_360_brightness",
"state": "NULL",
"editable": true,
"type": "Number",
"name": "moto_360_brightness",
"label": "Moto 360 Brightness",
"category": "Brightness",
"tags": [],
"groupNames": []
},
{
"members": [],
"groupType": "Dimmer",
"function": {
"name": "AVG"
},
"link": "http://192.168.1.250:8080/rest/items/all_dimmable_lamps",
"state": "NULL",
"editable": true,
"type": "Group",
"name": "all_dimmable_lamps",
"label": "All dimmable lamps",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/Go1_item",
"state": "NULL",
"editable": true,
"type": "Color",
"name": "Go1_item",
"label": "Go 1",
"category": "Lighting",
"tags": [],
"groupNames": [
"all_dimmable_lamps"
]
},
{
"link": "http://192.168.1.250:8080/rest/items/wohnzimmer_item",
"state": "NULL",
"editable": true,
"type": "Color",
"name": "wohnzimmer_item",
"label": "Wohnzimmer",
"category": "Lighting",
"tags": [],
"groupNames": []
},
{
"link": "http://192.168.1.250:8080/rest/items/iris1_item",
"state": "226,100,98",
"editable": true,
"type": "Color",
"name": "iris1_item",
"label": "Iris 1",
"category": "Lighting",
"tags": [],
"groupNames": []
}
]
\ No newline at end of file
Color Item: id="Go1_item" label="Go 1" state="0,0,0" category="Lighting" ;
Switch Item: id="Rule_Switch" state="false" ;
Number Item: id="Color_Manual_Slider" state="0.0" ;
Number Item: id="watch_acceleration_x" label="Watch Acceleration X" state="0.0" ;
Number Item: id="watch_acceleration_y" label="Watch Acceleration Y" state="0.0" ;
Number Item: id="watch_acceleration_z" label="Watch Acceleration Z" state="0.0" ;
Number Item: id="watch_rotation_x" label="Watch Rotation X" state="0.0" ;
Number Item: id="watch_rotation_y" label="Watch Rotation Y" state="0.0" ;
Number Item: id="watch_rotation_z" label="Watch Rotation Z" state="0.0" ;
Number Item: id="phone_rotation_x" label="Phone Rotation X" state="0.0" ;
Number Item: id="phone_rotation_y" label="Phone Rotation Y" state="0.0" ;
Number Item: id="phone_rotation_z" label="Phone Rotation Z" state="0.0" ;
Number Item: id="samsung_brightness" label="Samsung Brightness" state="0.0" category="Brightness" ;
String Item: id="skywriter_flick_item" label="Skywriter Flick Detected" state="" category="Motion" ;
Number Item: id="polar_brightness" label="Polar Brightness" state="0.0" category="Brightness" ;
Number Item: id="moto_360_brightness" label="Moto 360 Brightness" state="0.0" category="Brightness" ;
Color Item: id="wohnzimmer_item" label="Wohnzimmer" state="0,0,0" category="Lighting" ;
Color Item: id="iris1_item" label="Iris 1" state="226,100,98" category="Lighting" ;
Group: id="all_dimmable_lamps" label="All dimmable lamps" items=["Go1_item"] aggregation="AVG" ;
Group: id="Unknown" items=["Rule_Switch", "Color_Manual_Slider", "watch_acceleration_x", "watch_acceleration_y", "watch_acceleration_z", "watch_rotation_x", "watch_rotation_y", "watch_rotation_z", "phone_rotation_x", "phone_rotation_y", "phone_rotation_z", "samsung_brightness", "skywriter_flick_item", "polar_brightness", "moto_360_brightness", "wohnzimmer_item", "iris1_item"] ;
result=OUTPUT_PASS
[
{
"parameters": [],
"parameterGroups": [],
"description": "The color channel allows to control the color of a light. It is also possible to dim values and switch the light on and off.",
"label": "Color",
"category": "ColorLight",
"itemType": "Color",
"kind": "STATE",
"tags": [
"Lighting"
],
"UID": "hue:color",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "The brightness channel allows to control the brightness of a light. It is also possible to switch the light on and off.",
"label": "Brightness",
"category": "DimmableLight",
"itemType": "Dimmer",
"kind": "STATE",
"tags": [
"Lighting"
],
"UID": "hue:brightness",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "The switch channel allows to switch the light on and off.",
"label": "Switch",
"category": "Light",
"itemType": "Switch",
"kind": "STATE",
"tags": [
"Lighting"
],
"UID": "hue:switch",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "The color temperature channel allows to set the color temperature of a light from 0 (cold) to 100 (warm).",
"label": "Color Temperature",
"category": "ColorLight",
"itemType": "Dimmer",
"kind": "STATE",
"tags": [],
"UID": "hue:color_temperature",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "The alert channel allows a temporary change to the bulb’s state.",
"label": "Alert",
"itemType": "String",
"kind": "STATE",
"stateDescription": {
"readOnly": false,
"options": [
{
"value": "NONE",
"label": "None"
},
{
"value": "SELECT",
"label": "Alert"
},
{
"value": "LSELECT",
"label": "Long Alert"
}
]
},
"tags": [],
"UID": "hue:alert",
"advanced": true
},
{
"parameters": [],
"parameterGroups": [],
"description": "The effect channel allows putting the bulb in a color looping mode.",
"label": "Color Loop",
"category": "ColorLight",
"itemType": "Switch",
"kind": "STATE",
"tags": [],
"UID": "hue:effect",
"advanced": true
},
{
"parameters": [],
"parameterGroups": [],
"description": "Brightness (Lux)",
"label": "Brightness",
"category": "Light",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "androidsensors:brightness-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Last Flick detected (and its direction)",
"label": "Last Flick",
"category": "Motion",
"itemType": "String",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:flick-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Acceleration in one direction in meters per second.",
"label": "Acceleration",
"category": "Motion",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:acceleration-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Rotation around one axis (unitless).",
"label": "Rotation",
"category": "Motion",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:rotation-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Current recognized activity.",
"label": "Activity",
"itemType": "String",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:activity-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Heart rate in beats per minute.",
"label": "Heart Rate",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:heart-rate-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Steps run today.",
"label": "Steps",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:steps-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"description": "Brightness (Lux).",
"label": "Brightness",
"category": "Light",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "openlicht:brightness-type",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Signal Strength",
"category": "QualityOfService",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"minimum": 0,
"maximum": 4,
"step": 1,
"readOnly": true,
"options": [
{
"value": "0",
"label": "no signal"
},
{
"value": "1",
"label": "weak"
},
{
"value": "2",
"label": "average"
},
{
"value": "3",
"label": "good"
},
{
"value": "4",
"label": "excellent"
}
]
},
"tags": [],
"UID": "system:signal-strength",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Low Battery",
"category": "Battery",
"itemType": "Switch",
"kind": "STATE",
"stateDescription": {
"readOnly": true,
"options": []
},
"tags": [],
"UID": "system:low-battery",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Battery Level",
"category": "Battery",
"itemType": "Number",
"kind": "STATE",
"stateDescription": {
"minimum": 0,
"maximum": 100,
"step": 1,
"pattern": "%.0f %%",
"readOnly": true,
"options": []
},
"tags": [],
"UID": "system:battery-level",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Trigger",
"kind": "TRIGGER",
"tags": [],
"UID": "system:trigger",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Raw button",
"kind": "TRIGGER",
"tags": [],
"UID": "system:rawbutton",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Button",
"kind": "TRIGGER",
"tags": [],
"UID": "system:button",
"advanced": false
},
{
"parameters": [],
"parameterGroups": [],
"label": "Raw rocker button",
"kind": "TRIGGER",
"tags": [],
"UID": "system:rawrocker",
"advanced": false
}
]
Real-world content with all supported content (channel-types, items, links, thing-types, things).
[
{
"link": "http://localhost:48080/rest/items/skywriter_flick_item",
"state": "NULL",
"editable": true,
"type": "String",
"name": "skywriter_flick_item",
"label": "Skywriter Flick Detected",
"category": "Motion",
"tags": [],
"groupNames": []
},
{
"members": [],
"groupType": "Dimmer",
"function": {
"name": "AVG"
},
"link": "http://localhost:48080/rest/items/all_dimmable_lamps",
"state": "40.00000000",
"editable": true,
"type": "Group",
"name": "all_dimmable_lamps",
"label": "All dimmable lamps",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/wohnzimmer_item",
"state": "NULL",
"editable": true,
"type": "Color",
"name": "wohnzimmer_item",
"label": "Wohnzimmer",
"category": "Lighting",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/iris1_item",
"metadata": {
"fuenf": {
"value": "value1",
"config": {
"key2": "value2",
"key3": "value3"
}
}
},
"state": "253,0,0",
"editable": true,
"type": "Color",
"name": "iris1_item",
"label": "Iris 1",
"category": "Lighting",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/moto_360_brightness",
"state": "NULL",
"editable": true,
"type": "Number",
"name": "moto_360_brightness",
"label": "Moto 360 Brightness",
"category": "Brightness",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/Go1_item",
"state": "213,36,40",
"editable": true,
"type": "Color",
"name": "Go1_item",
"label": "Go 1",
"category": "Lighting",
"tags": [],
"groupNames": [
"all_dimmable_lamps"
]
},
{
"link": "http://localhost:48080/rest/items/polar_brightness",
"state": "NULL",
"stateDescription": {
"pattern": "%.0f",
"readOnly": true,
"options": []
},
"editable": true,
"type": "Number",
"name": "polar_brightness",
"label": "Polar Brightness",
"category": "Brightness",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/samsung_brightness",
"state": "NULL",
"editable": true,
"type": "String",
"name": "samsung_brightness",
"label": "Samsung Brightness",
"category": "Brightness",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/Rule_Switch",
"state": "NULL",
"editable": false,
"type": "Switch",
"name": "Rule_Switch",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/Color_Manual_Slider",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "Color_Manual_Slider",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/watch_acceleration_x",
"state": "0.0000000006264883611883931",
"editable": false,
"type": "Number",
"name": "watch_acceleration_x",
"label": "Watch Acceleration X",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/watch_acceleration_y",
"state": "0.00000000000000000015765462769316607",
"editable": false,
"type": "Number",
"name": "watch_acceleration_y",
"label": "Watch Acceleration Y",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/watch_acceleration_z",
"state": "0.0000000000025181037810462215",
"stateDescription": {
"pattern": "%.0f",
"readOnly": true,
"options": []
},
"editable": false,
"type": "Number",
"name": "watch_acceleration_z",
"label": "Watch Acceleration Z",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/watch_rotation_x",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_rotation_x",
"label": "Watch Rotation X",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/watch_rotation_y",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_rotation_y",
"label": "Watch Rotation Y",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/watch_rotation_z",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "watch_rotation_z",
"label": "Watch Rotation Z",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/phone_rotation_x",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "phone_rotation_x",
"label": "Phone Rotation X",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/phone_rotation_y",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "phone_rotation_y",
"label": "Phone Rotation Y",
"tags": [],
"groupNames": []
},
{
"link": "http://localhost:48080/rest/items/phone_rotation_z",
"state": "NULL",
"editable": false,
"type": "Number",
"name": "phone_rotation_z",
"label": "Phone Rotation Z",
"tags": [],
"groupNames": []
}
]
[
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-rotation-y",
"configuration": {},
"itemName": "watch_rotation_y"
},
{
"channelUID": "openlicht:skywriter-hat:09ee92af:flick",
"configuration": {},
"itemName": "skywriter_flick_item"
},
{
"channelUID": "openlicht:samsung-s6:177259bf:samsung-rotation-y",
"configuration": {},
"itemName": "phone_rotation_y"
},
{
"channelUID": "hue:0210:0017880adcf4:1:color",
"configuration": {},
"itemName": "wohnzimmer_item"
},
{
"channelUID": "openlicht:samsung-s6:8d498a63:samsung-brightness",
"configuration": {},
"itemName": "samsung_brightness"
},
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-brightness",
"configuration": {},
"itemName": "moto_360_brightness"
},
{
"channelUID": "hue:0210:0017880adcf4:4:color",
"configuration": {},
"itemName": "Go1_item"
},
{
"channelUID": "openlicht:samsung-s6:177259bf:samsung-brightness",
"configuration": {},
"itemName": "samsung_brightness"
},
{
"channelUID": "hue:0200:0017880adcf4:5:color",
"configuration": {},
"itemName": "iris1_item"
},
{
"channelUID": "openlicht:moto-360:9b429500:moto360-acceleration-z",
"configuration": {},
"itemName": "watch_acceleration_z"
},
{
"channelUID": "openlicht:moto-360:9b429500:moto360-acceleration-y",
"configuration": {},
"itemName": "watch_acceleration_y"
},
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-acceleration-z",
"configuration": {},
"itemName": "watch_acceleration_z"
},
{
"channelUID": "openlicht:moto-360:d9e20207:polar-acceleration-z",
"configuration": {},
"itemName": "watch_acceleration_z"
},
{
"channelUID": "openlicht:moto-360:d9e20207:polar-acceleration-x",
"configuration": {},
"itemName": "watch_acceleration_x"
},
{
"channelUID": "openlicht:samsung-s6:177259bf:samsung-rotation-z",
"configuration": {},
"itemName": "phone_rotation_z"
},
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-acceleration-x",
"configuration": {},
"itemName": "watch_acceleration_x"
},
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-rotation-z",
"configuration": {},
"itemName": "watch_rotation_z"
},
{
"channelUID": "openlicht:samsung-s6:177259bf:samsung-rotation-x",
"configuration": {},
"itemName": "phone_rotation_x"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:brightness",
"configuration": {},
"itemName": "polar_brightness"
},
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-rotation-x",
"configuration": {},
"itemName": "watch_rotation_x"
},
{
"channelUID": "openlicht:polar-m600:ca536e5e:polar-acceleration-y",
"configuration": {},
"itemName": "watch_acceleration_y"
},
{
"channelUID": "openlicht:skywriter-hat:e937d4f3:flick",
"configuration": {},
"itemName": "skywriter_flick_item"
},
{
"channelUID": "openlicht:moto-360:9b429500:moto360-acceleration-x",
"configuration": {},
"itemName": "watch_acceleration_x"
},
{
"channelUID": "openlicht:moto-360:d9e20207:polar-acceleration-y",
"configuration": {},
"itemName": "watch_acceleration_y"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:acceleration-x",
"configuration": {},
"itemName": "watch_acceleration_x"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:acceleration-y",
"configuration": {},
"itemName": "watch_acceleration_y"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:acceleration-z",
"configuration": {},
"itemName": "watch_acceleration_z"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:rotation-x",
"configuration": {},
"itemName": "watch_rotation_x"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:rotation-y",
"configuration": {},
"itemName": "watch_rotation_y"
},
{
"channelUID": "openlicht:polar-m600:342dfc32:rotation-z",
"configuration": {},
"itemName": "watch_rotation_z"
},
{
"channelUID": "openlicht:samsung-s6:2ca84896:rotation-x",
"configuration": {},
"itemName": "phone_rotation_x"
},
{
"channelUID": "openlicht:samsung-s6:2ca84896:rotation-y",
"configuration": {},
"itemName": "phone_rotation_y"
},
{
"channelUID": "openlicht:samsung-s6:2ca84896:rotation-z",
"configuration": {},
"itemName": "phone_rotation_z"
},
{
"channelUID": "openlicht:samsung-s6:2ca84896:brightness",
"configuration": {},
"itemName": "samsung_brightness"
}
]
Thing: id="openlicht:skywriter-hat:e937d4f3" label="SkyWriterHAT" type="openlicht:skywriter-hat" channels=["openlicht:skywriter-hat:e937d4f3:flick"] ;
Thing: id="hue:0200:0017880adcf4:5" label="Hue iris 1" type="hue:0200" channels=["hue:0200:0017880adcf4:5:color", "hue:0200:0017880adcf4:5:alert", "hue:0200:0017880adcf4:5:effect"] ;
Thing: id="hue:0210:0017880adcf4:1" label="Wohnzimmer" type="hue:0210" channels=["hue:0210:0017880adcf4:1:color", "hue:0210:0017880adcf4:1:color_temperature", "hue:0210:0017880adcf4:1:alert", "hue:0210:0017880adcf4:1:effect"] ;
Thing: id="hue:0210:0017880adcf4:4" label="Hue go 1" type="hue:0210" channels=["hue:0210:0017880adcf4:4:color", "hue:0210:0017880adcf4:4:color_temperature", "hue:0210:0017880adcf4:4:alert", "hue:0210:0017880adcf4:4:effect"] ;
Thing: id="openlicht:polar-m600:342dfc32" label="Polar M600" type="openlicht:polar-m600" channels=["openlicht:polar-m600:342dfc32:acceleration-x", "openlicht:polar-m600:342dfc32:acceleration-y", "openlicht:polar-m600:342dfc32:acceleration-z", "openlicht:polar-m600:342dfc32:rotation-x", "openlicht:polar-m600:342dfc32:rotation-y", "openlicht:polar-m600:342dfc32:rotation-z", "openlicht:polar-m600:342dfc32:activity", "openlicht:polar-m600:342dfc32:heart-rate", "openlicht:polar-m600:342dfc32:steps", "openlicht:polar-m600:342dfc32:brightness"] ;
Thing: id="openlicht:samsung-s6:2ca84896" label="Samsung S6" type="openlicht:samsung-s6" channels=["openlicht:samsung-s6:2ca84896:brightness", "openlicht:samsung-s6:2ca84896:rotation-x", "openlicht:samsung-s6:2ca84896:rotation-y", "openlicht:samsung-s6:2ca84896:rotation-z"] ;
Thing: id="hue:bridge:0017880adcf4" label="Philips hue (10.8.0.160)" type="hue:bridge" ;
Color Item: id="Go1_item" label="Go 1" state="213,36,40" category="Lighting" ;
String Item: id="skywriter_flick_item" label="Skywriter Flick Detected" state="" category="Motion" ;
Color Item: id="wohnzimmer_item" label="Wohnzimmer" state="0,0,0" category="Lighting" ;
Color Item: id="iris1_item" label="Iris 1" state="253,0,0" category="Lighting" metaData={"key2":"value2", "key3":"value3"} ;
Number Item: id="moto_360_brightness" label="Moto 360 Brightness" state="0.0" category="Brightness" ;
Number Item: id="polar_brightness" label="Polar Brightness" state="0.0" category="Brightness" ;
String Item: id="samsung_brightness" label="Samsung Brightness" state="" category="Brightness" ;
Switch Item: id="Rule_Switch" state="false" ;
Number Item: id="Color_Manual_Slider" state="0.0" ;
Number Item: id="watch_acceleration_x" label="Watch Acceleration X" state="6.264883611883931E-10" ;
Number Item: id="watch_acceleration_y" label="Watch Acceleration Y" state="1.5765462769316607E-19" ;
Number Item: id="watch_acceleration_z" label="Watch Acceleration Z" state="2.5181037810462215E-12" ;
Number Item: id="watch_rotation_x" label="Watch Rotation X" state="0.0" ;
Number Item: id="watch_rotation_y" label="Watch Rotation Y" state="0.0" ;
Number Item: id="watch_rotation_z" label="Watch Rotation Z" state="0.0" ;
Number Item: id="phone_rotation_x" label="Phone Rotation X" state="0.0" ;
Number Item: id="phone_rotation_y" label="Phone Rotation Y" state="0.0" ;
Number Item: id="phone_rotation_z" label="Phone Rotation Z" state="0.0" ;
Group: id="all_dimmable_lamps" label="All dimmable lamps" items=["Go1_item"] aggregation="AVG" ;
Group: id="Unknown" items=["skywriter_flick_item", "wohnzimmer_item", "iris1_item", "moto_360_brightness", "polar_brightness", "samsung_brightness", "Rule_Switch", "Color_Manual_Slider", "watch_acceleration_x", "watch_acceleration_y", "watch_acceleration_z", "watch_rotation_x", "watch_rotation_y", "watch_rotation_z", "phone_rotation_x", "phone_rotation_y", "phone_rotation_z"] ;
ThingType: id="hue:0110" label="Dimmable Plug-in Unit" description="An outlet that can be dimmed." ;
ThingType: id="hue:0100" label="Dimmable Light" description="A dimmable light." ;
ThingType: id="hue:0000" label="On/Off Light" description="A light that could be switched on and off." ;
ThingType: id="hue:0010" label="On/Off Plug-in Unit" description="An outlet that could be switched on and off." ;
ThingType: id="hue:0210" label="Extended Color Light" description="A dimmable light with changeable colors and tunable color temperature." ;
ThingType: id="hue:bridge" label="Hue Bridge" description="The hue bridge represents the Philips hue bridge." ;
ThingType: id="hue:0220" label="Color Temperature Light" description="A dimmable light with tunable color temperature." ;
ThingType: id="hue:0200" label="Color Light" description="A dimmable light with changeable colors." ;
ThingType: id="androidsensors:android-sensor" label="AndroidSensors" description="Sensors supported by Android" ;
ThingType: id="openlicht:skywriter-hat" label="SkyWriterHAT" description="SkyWriterHAT Gesture Recognition" ;
ThingType: id="openlicht:polar-m600" label="Polar M600" description="Provides sensor information from a Polar M600 smart watch" ;
ThingType: id="openlicht:moto-360" label="Moto 360" description="Provides sensor information from a Moto 360 smart watch" ;
ThingType: id="openlicht:samsung-s6" label="Samsung S6" description="Provides sensor information from a smart phone (a Samsung S6 in our case)" ;
ChannelType: id="hue:color" label="Color" description="The color channel allows to control the color of a light. It is also possible to dim values and switch the light on and off." itemType="Color" category="ColorLight" ;
ChannelType: id="hue:brightness" label="Brightness" description="The brightness channel allows to control the brightness of a light. It is also possible to switch the light on and off." itemType="Dimmer" category="DimmableLight" ;
ChannelType: id="hue:switch" label="Switch" description="The switch channel allows to switch the light on and off." itemType="Switch" category="Light" ;
ChannelType: id="hue:color_temperature" label="Color Temperature" description="The color temperature channel allows to set the color temperature of a light from 0 (cold) to 100 (warm)." itemType="Dimmer" category="ColorLight" ;
ChannelType: id="hue:alert" label="Alert" description="The alert channel allows a temporary change to the bulb’s state." itemType="String" ;
ChannelType: id="hue:effect" label="Color Loop" description="The effect channel allows putting the bulb in a color looping mode." itemType="Switch" category="ColorLight" ;
ChannelType: id="androidsensors:brightness-type" label="Brightness" description="Brightness (Lux)" itemType="Number" category="Light" readOnly ;
ChannelType: id="openlicht:flick-type" label="Last Flick" description="Last Flick detected (and its direction)" itemType="String" category="Motion" readOnly ;
ChannelType: id="openlicht:acceleration-type" label="Acceleration" description="Acceleration in one direction in meters per second." itemType="Number" category="Motion" readOnly ;
ChannelType: id="openlicht:rotation-type" label="Rotation" description="Rotation around one axis (unitless)." itemType="Number" category="Motion" readOnly ;
ChannelType: id="openlicht:activity-type" label="Activity" description="Current recognized activity." itemType="String" readOnly ;
ChannelType: id="openlicht:heart-rate-type" label="Heart Rate" description="Heart rate in beats per minute." itemType="Number" readOnly ;
ChannelType: id="openlicht:steps-type" label="Steps" description="Steps run today." itemType="Number" readOnly ;
ChannelType: id="openlicht:brightness-type" label="Brightness" description="Brightness (Lux)." itemType="Number" category="Light" readOnly ;
ChannelType: id="system:signal-strength" label="Signal Strength" itemType="Number" category="QualityOfService" readOnly ;
ChannelType: id="system:low-battery" label="Low Battery" itemType="Switch" category="Battery" readOnly ;
ChannelType: id="system:battery-level" label="Battery Level" itemType="Number" category="Battery" readOnly ;
ChannelType: id="system:trigger" label="Trigger" ;
ChannelType: id="system:rawbutton" label="Raw button" ;
ChannelType: id="system:button" label="Button" ;
ChannelType: id="system:rawrocker" label="Raw rocker button" ;
Channel: id="hue:0200:0017880adcf4:5:alert" type="hue:alert" ;
Channel: id="hue:0200:0017880adcf4:5:color" type="hue:color" links=["iris1_item"] ;
Channel: id="hue:0200:0017880adcf4:5:effect" type="hue:effect" ;
Channel: id="hue:0210:0017880adcf4:1:alert" type="hue:alert" ;
Channel: id="hue:0210:0017880adcf4:1:color" type="hue:color" links=["wohnzimmer_item"] ;
Channel: id="hue:0210:0017880adcf4:1:color_temperature" type="hue:color_temperature" ;
Channel: id="hue:0210:0017880adcf4:1:effect" type="hue:effect" ;
Channel: id="hue:0210:0017880adcf4:4:alert" type="hue:alert" ;
Channel: id="hue:0210:0017880adcf4:4:color" type="hue:color" links=["Go1_item"] ;
Channel: id="hue:0210:0017880adcf4:4:color_temperature" type="hue:color_temperature" ;
Channel: id="hue:0210:0017880adcf4:4:effect" type="hue:effect" ;
Channel: id="openlicht:polar-m600:342dfc32:acceleration-x" type="openlicht:acceleration-type" links=["watch_acceleration_x"] ;
Channel: id="openlicht:polar-m600:342dfc32:acceleration-y" type="openlicht:acceleration-type" links=["watch_acceleration_y"] ;
Channel: id="openlicht:polar-m600:342dfc32:acceleration-z" type="openlicht:acceleration-type" links=["watch_acceleration_z"] ;
Channel: id="openlicht:polar-m600:342dfc32:activity" type="openlicht:activity-type" ;
Channel: id="openlicht:polar-m600:342dfc32:brightness" type="openlicht:brightness-type" links=["polar_brightness"] ;
Channel: id="openlicht:polar-m600:342dfc32:heart-rate" type="openlicht:heart-rate-type" ;
Channel: id="openlicht:polar-m600:342dfc32:rotation-x" type="openlicht:rotation-type" links=["watch_rotation_x"] ;
Channel: id="openlicht:polar-m600:342dfc32:rotation-y" type="openlicht:rotation-type" links=["watch_rotation_y"] ;
Channel: id="openlicht:polar-m600:342dfc32:rotation-z" type="openlicht:rotation-type" links=["watch_rotation_z"] ;
Channel: id="openlicht:polar-m600:342dfc32:steps" type="openlicht:steps-type" ;
Channel: id="openlicht:samsung-s6:2ca84896:brightness" type="openlicht:brightness-type" links=["samsung_brightness"] ;
Channel: id="openlicht:samsung-s6:2ca84896:rotation-x" type="openlicht:rotation-type" links=["phone_rotation_x"] ;
Channel: id="openlicht:samsung-s6:2ca84896:rotation-y" type="openlicht:rotation-type" links=["phone_rotation_y"] ;
Channel: id="openlicht:samsung-s6:2ca84896:rotation-z" type="openlicht:rotation-type" links=["phone_rotation_z"] ;
Channel: id="openlicht:skywriter-hat:e937d4f3:flick" type="openlicht:flick-type" links=["skywriter_flick_item"] ;
[
{
"UID": "hue:0110",
"label": "Dimmable Plug-in Unit",
"description": "An outlet that can be dimmed.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "hue:0100",
"label": "Dimmable Light",
"description": "A dimmable light.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "hue:0000",
"label": "On/Off Light",
"description": "A light that could be switched on and off.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "hue:0010",
"label": "On/Off Plug-in Unit",
"description": "An outlet that could be switched on and off.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "hue:0210",
"label": "Extended Color Light",
"description": "A dimmable light with changeable colors and tunable color temperature.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "hue:bridge",
"label": "Hue Bridge",
"description": "The hue bridge represents the Philips hue bridge.",
"listed": true,
"supportedBridgeTypeUIDs": [],
"bridge": true
},
{
"UID": "hue:0220",
"label": "Color Temperature Light",
"description": "A dimmable light with tunable color temperature.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "hue:0200",
"label": "Color Light",
"description": "A dimmable light with changeable colors.",
"listed": true,
"supportedBridgeTypeUIDs": [
"hue:bridge"
],
"bridge": false
},
{
"UID": "androidsensors:android-sensor",
"label": "AndroidSensors",
"description": "Sensors supported by Android",
"listed": true,
"supportedBridgeTypeUIDs": [],
"bridge": false
},
{
"UID": "openlicht:skywriter-hat",
"label": "SkyWriterHAT",
"description": "SkyWriterHAT Gesture Recognition",
"listed": true,
"supportedBridgeTypeUIDs": [],
"bridge": false
},
{
"UID": "openlicht:polar-m600",
"label": "Polar M600",
"description": "Provides sensor information from a Polar M600 smart watch",
"listed": true,
"supportedBridgeTypeUIDs": [],
"bridge": false
},
{
"UID": "openlicht:moto-360",
"label": "Moto 360",
"description": "Provides sensor information from a Moto 360 smart watch",
"listed": true,
"supportedBridgeTypeUIDs": [],
"bridge": false
},
{
"UID": "openlicht:samsung-s6",
"label": "Samsung S6",
"description": "Provides sensor information from a smart phone (a Samsung S6 in our case)",
"listed": true,
"supportedBridgeTypeUIDs": [],
"bridge": false
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment