Coder Social home page Coder Social logo

steilerdev / homebridge-openhab2-complete Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 16.0 529 KB

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)

License: GNU General Public License v3.0

JavaScript 100.00%

homebridge-openhab2-complete's People

Contributors

danielknoop avatar florian-h05 avatar grzegorz914 avatar matsuo3rd avatar smarthome-oh avatar sonntam avatar steilerdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-openhab2-complete's Issues

Rollershutter logic wrong state

Hi,

in Rollershutter logic is something wrong,

if moving the rollershutter from 0 to 100 then Home Kit accessory display CLOSING
if moving the rollershutter from 100 to 0 then HomeKit accessory display OPENING,

but if go to 100 then HomeKit accessory display OPEN and if go to 0 display CLOSED and that is wrong.
Chenge "inverted" to true nothing help

my config:

 {
                    "name": "Kotłownia roleta 1",
                    "type": "windowcovering",
                    "item": "ParterKotlowniaRoleta1",
                    "inverted": "false",
                    "multiplier": "1",
                    "stateItem": "PLC_ParterKotlowniaRoleta1Pozycja",
                    "stateItemInverted": "false",
                    "stateItemMultiplier": "1",
                    "manuMode": "false"
                },

*.items

Rollershutter - ParterKotlowniaRoleta1 (for start moving)
Number - PLC_ParterKotlowniaRoleta1Pozycja (for positioning 0 - 100)

*rules

rule "Roleta kotłownia 1"
when
    Item ParterKotlowniaRoleta1 received command
then
    if(!(receivedCommand instanceof Number))
        switch receivedCommand {
            case UP :    if (PLC_ParterKotlowniaRoleta1Zamykanie.state == OPEN && ParterKotlowniaRoleta1.state == 0) {
                                 ParterKotlowniaRoleta1.sendCommand(STOP)} // simulate STOP command for HK 
                            else
                                {PLC_ParterKotlowniaRoleta1Otworz.sendCommand(ON)
                                 PLC_ParterKotlowniaRoleta1Otworz.sendCommand(OFF)}
            case DOWN : if (PLC_ParterKotlowniaRoleta1Otwieranie.state == OPEN && ParterKotlowniaRoleta1.state == 100) {
                                ParterKotlowniaRoleta1.sendCommand(STOP)}  // simulate STOP command for HK                             else 
                                {PLC_ParterKotlowniaRoleta1Zamknij.sendCommand(ON)
                                 PLC_ParterKotlowniaRoleta1Zamknij.sendCommand(OFF)}
            case STOP :  if (PLC_ParterKotlowniaRoleta1Otwieranie.state == OPEN) { 
                             PLC_ParterKotlowniaRoleta1Otworz.sendCommand(ON)
                             PLC_ParterKotlowniaRoleta1Otworz.sendCommand(OFF)} 
                            else if (PLC_ParterKotlowniaRoleta1Zamykanie.state == OPEN) { 
                                     PLC_ParterKotlowniaRoleta1Zamknij.sendCommand(ON)
                                     PLC_ParterKotlowniaRoleta1Zamknij.sendCommand(OFF)}    
        }
       else 
           logInfo("Roleta","received Number {}, doing nothing!",receivedCommand)
end

log for HomeKit button declared in OH as rollershutter:
Command UP moving to 0

2019-08-03 11:54:46.969 [ome.event.ItemCommandEvent] - Item 'ParterKotlowniaRoleta1' received command UP
2019-08-03 11:54:46.980 [vent.ItemStateChangedEvent] - ParterKotlowniaRoleta1 changed from 100 to 0

CurrentTargetPosition.js (UP and DOWN inverted)


 case 'RollershutterSetter':
        case 'Rollershutter':
        case 'Number':
            //This part is only invoked if this is used in a setter context and the item is a rollershutter
            **if(type === 'RollershutterSetter' && value === 100) {
                transformedValue = 'UP';**
            } else if(type === 'RollershutterSetter' && value === 0) {
                transformedValue = 'DOWN';
            } else {

                if (inverted) {
                    transformedValue = Math.floor(100 - (parseFloat(value) * multiplier));
                } else {
                    transformedValue = Math.floor(parseFloat(value) * multiplier);
                }
                if (transformedValue >= 99) { // Weird not showing 100 or 0 bug of openHAB
                    transformedValue = 100;
                }
                if (transformedValue <= 1) {
                    transformedValue = 0;
                }

Thanks
Grzegorz

Dimmer save last state by OFF

Hi,
Every time if we turn OFF dimmer the value is set to 0% and after turn ON to 99%.
Can U add option to save last value before switch OFF and use it as start value after switch ON?

Thermostat target Position in Home App

Setting the target position within the Apple Home App with a GUI value like "20" exposes a coma value.

Item 'ThermostatKuecheSOLLKomma' received command 21.2

Changed target state of Thermostat Küche [ThermostatKuecheSOLLKomma] to 21.2

Is there a way you could except only values with .0 or 0.5 ?

Turning on a dimmer sets the default value to 0%

Describe the bug
When asking Siri to turn on a dimmer light, the value is set to 0% instead of 100%
"Siri turn on Bed" results in the bed light turned on at 0%.
When I ask "Siri turn bed on at 100%" it works but this should not be necessary.

Expected behavior
The light should be turned on at 100%. This also happens with the other openhab homekit middleware and my hue lights.

Logs:
Asking Siri to turn on the bed I get following homekit log entries.

2019-03-11 20:34:18 [OpenHAB2-Complete] Received State: 0 (transformed to false) for Bed [Dimmer_Slaapkamer2]
2019-03-11 20:34:18 [OpenHAB2-Complete] Received State: 0 (transformed to 0) for Bed [Dimmer_Slaapkamer2]
2019-03-11 20:34:32 [OpenHAB2-Complete] Updating State of Bed with Item Dimmer_Slaapkamer2 to 0

Environment (please complete the following information):
Openhabian
Docker:oznu latest

Doorbell

I think adding a doorbell type would be great as in my example I use a 433MHz bushbutton which publishes it’s unique code of MQTT when pressed. This triggers an OpenHAB rule which sets a switch item to “ON” for a second then back to “OFF” (the same rule timestamps a datetime item so I know when it wasn’t last pressed).

From the HAP accessory description, it appears to be similar to a switch although probably will only trigger on the rising edge?

I’d love to hear your thoughts.

Thanks for all your great work!

Heater/cooler - heatingThreshold and coolingThreshold not working

Hi,
Me agin - would like to report a potential bug with heater/cooler accessory - it looks like there is no way to set target temperature so in HomeKit it shows Set to (null).

Edit: looks like I should use heatingThresholdItem and coolingThresholdItem to set the target temperatures when running in auto mode. However it seems that the plugin doesn't try to pull the values from the OH. I tried to manually update the values in OH but in HomeBridge log nothing has been reported. I also tried to create a simple temperature sensor which seems to read the value from OH fine without issue. Could it be a bug in Heater/Cooler accessory?

Subscription Service Closed

Hello,

i have configured on lightbuld for test purposes. After the startup of homebridge this error occurs every second:

[6/7/2019, 23:01:43] [openHAB2-Complete] Trying to reconnect subscription service...
[6/7/2019, 23:01:43] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...

Strangely it is possible for me to add the bridge to homekit and control the light. The error is still produced every second.

This is the log of the startup phase:

[6/7/2019, 23:00:07] Loaded config.json with 0 accessories and 1 platforms.
[6/7/2019, 23:00:07] ---
[6/7/2019, 23:00:09] Loaded plugin: homebridge-openhab2-complete
[6/7/2019, 23:00:09] Registering platform 'homebridge-openhab2-complete.openHAB2-Complete'
[6/7/2019, 23:00:09] ---
[6/7/2019, 23:00:09] Loading 1 platforms...
[6/7/2019, 23:00:09] [openHAB2-Complete] Initializing openHAB2-Complete platform...
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading accessory types...
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type airpurifier
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type air
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type co2
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type co
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type contact
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type door
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type fan
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type faucet
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type filter
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type garage
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type heatercooler
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type humidifier
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type humidity
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type irrigation
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type leak
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type light
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type lux
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type lock
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type motion
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type occupancy
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type outlet
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type security
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type smoke
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type switch
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type temp
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type thermostat
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type valve
[6/7/2019, 23:00:09] [openHAB2-Complete] Loading and activating accessory type window
[6/7/2019, 23:00:10] [openHAB2-Complete] Loading and activating accessory type windowcovering
[6/7/2019, 23:00:10] [openHAB2-Complete] Waiting for openHAB host (http://192.168.178.20) to come online...
[6/7/2019, 23:00:22] [openHAB2-Complete] openHAB host (http://192.168.178.20) is online, now syncing...
[6/7/2019, 23:00:22] [openHAB2-Complete] Syncing all items & types from openHAB
[6/7/2019, 23:00:23] [openHAB2-Complete] 'OpenHAB2 - Complete Edition' plugin loaded - Version 0.10.1
[6/7/2019, 23:00:23] [openHAB2-Complete] ---
[6/7/2019, 23:00:23] [openHAB2-Complete] Loading accessories from configuration, this might take a while...
[6/7/2019, 23:00:23] [openHAB2-Complete] Added accessory Schreib tischlampe (Type: light)
[6/7/2019, 23:00:23] [openHAB2-Complete] Syncing all item values from openHAB
[6/7/2019, 23:00:25] [openHAB2-Complete] Finished loading 1 accessories from configuration
[6/7/2019, 23:00:25] [openHAB2-Complete] ---
[6/7/2019, 23:00:25] [openHAB2-Complete] Initializing platform accessory 'Schreib tischlampe'...
[6/7/2019, 23:00:25] Loading 0 accessories...

Understanding a simple light concept

Hi there,
Well, it's not really a bug, since I don't know, thus it's isn't either a feature request.
I just want to check if I'm missing something on the concept here.
Let's take the example of a light (in my case, a LED strip with RGB + physical white lights)

I've my LED strip as Thing on OpenHab.
It has 5 channels Power (switch), Color (color), White (dimmer), White2 (dimmer, not used), Program (string) and Program speed (dimmer).

Following home bridge-openhab2-complete documentation, I've added on my homebridge config the related items created on OpenHab.

My (kind of) surprise is that I end up in HomeKit with 4 accessories (string is not supported), which makes sense based on the documentation, but doesn't to me and based on HomeKit accessory description where everything should be merged in one unique accessory. (For instance, with a native HomeKit light, I've never had to first toggle an accessory switch on to power it, then to use another one to set it's color, another one to set it's white, and so forth).

Is there a way to "merge" those (or at least power, color and white) in one unique accessory or is my only way is to program everything on openhab (ie. if brightness != 0 then power ON, etc.)?

Thanks in advance for your bright light ;)

Temperature Home app vs Siri

The temperature is shown correctly in the Home app, but Siri always says the wrong temperature.

                {
                    "name": "Schwimmbad Temperatur",
                    "type": "temp",
                    "currentTempItem": "Temp_Pool"
                },

IMG_4499
IMG_4498

Different Node versions needed for Homebridge vs. OpenHAB2 Complete

I'm experiencing a conflict between the Node versions required by Homebridge and that required by OpenHab2-Complete. I followed the directions for getting homebridge up and running which included using Node 8.10.0. which brought up HomeBridge just fine. But once I installed OpenHab2-Complete, It would initialize, but include the following error when running Homebrige without a fully configure config.json:

Plugin /usr/lib/node_modules/homebridge-openhab2-complete requires Node version of >=10.15.0 which does not satisfy the current Node version of v8.10.0. You may need to upgrade your installation of Node.

So upon upgrading to Node 10.15.0, I tried loading HomeBridge and would get the following:

/usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:91
throw e
^

Error: The module '/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/build/Release/ed25519.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at bindings (/usr/lib/node_modules/homebridge/node_modules/bindings/bindings.js:84:48)
at Object. (/usr/lib/node_modules/homebridge/node_modules/ed25519-hap/index.js:1:99)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)

I attempted to rebuild, uninstall, and reinstall - following all the directions associated with getting homebridge to run with later node versions, but to no avail.

I pressed on wondering if maybe it was just a warning and things would work, but when I configured up my config.json, but this is the error I started receiving.

[2019-2-9 23:02:10] Plugin /usr/lib/node_modules/homebridge-openhab2-complete requires Node version of >=10.15.0 which does not satisfy the current Node version of v8.10.0. You may need to upgrade your installation of Node.
[2019-2-9 23:02:12] Loaded plugin: homebridge-openhab2-complete
[2019-2-9 23:02:12] Registering platform 'homebridge-openhab2-complete.openHAB2-Complete'
[2019-2-9 23:02:12] ---
[2019-2-9 23:02:12] Loading 1 platforms...
[2019-2-9 23:02:12] [openHAB2-Complete] Initializing openHAB2-Complete platform...
[2019-2-9 23:02:12] [openHAB2-Complete] Loading accessory types...
/usr/lib/node_modules/homebridge-openhab2-complete/index.js:44
if(accessoryFile.isFile()) {
^

TypeError: accessoryFile.isFile is not a function
at OpenHABComplete. (/usr/lib/node_modules/homebridge-openhab2-complete/index.js:44:30)
at Array.forEach ()
at new OpenHABComplete (/usr/lib/node_modules/homebridge-openhab2-complete/index.js:43:24)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:326:32)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)

All this to say - how in the heck are you running Homebridge with your OpenHab2-Complete with two different Node versions - or have you cracked this nut somehow?

Thanks a ton - I am really interested in getting all the functionality of this plugin since I have Insteon Fans which your plug in seem to be the only one that allows all the extra support for.

Rob Fila

Configurations
Please paste the configuration of:

  • Config.json:
    {
    "bridge": {
    "name": "Homebridge",
    "username": "0E:4B:BC:64:6E:B7",
    "port": 51826,
    "pin": "349-90-213"
    },
    "description": "This is an example configuration file. You can use this as a te$
    "accessories": [],
    "platforms": [
    {
    "platform": "openHAB2-Complete",
    "host": "http://10.0.0.47",
    "port": "8080",
    "accessories": [
    {
    "name": "Rob's Office Lamp",
    "type": "switch",
    "item": "Rob_Office_Lamp"

Items:
Dimmer Rob_Office_Lamp "Rob's Office Lamp" {insteonplm="XX.XX.XX:F00.00.19#dimmer"}

Environment (please complete the following information):

  • Raspberry Pi 3, OpenHabian
  • Homebridge Version - 0.4.46
  • NodeJS Version - Trying 8.10.0 and 10.15.0

Feedback on lock item

Hi

Try creating a lock item in config.json and connect it to a switch item in openHAB. Open a browser pointing to openhab while having your Iphone Homekit also open at the same time.

Now you can lock and unlock using Homekit and it works fine - you should be able to see in the browser that the switch in openHAB goes on and off.

Then try clicking on the switch in browser - which is what would happen if you locked using whatever lock system you may have. Then watch the app, and you will se 'Locking...' or 'Unlocking...' instead of just a switch of lock state as before.

I guess this is not intended.

Thanks!

Ejvind

Increase range of temperatures for Temperature Sensor

It is possible to extend range of temperature sensors to support negative values, which is quite common for outdoor sensors in winter, and values above 100°C? I have some high-temp sensors readings in OH from 3D printer and kitchen oven, and in the current version these values are capped to 100°. Is this a HAP protocol limitation, or a plugin limitation?

Transform value "undef"

After the OpenHAB restart, some of my items are in the state "undef". So because the add-on doesn't transform the state, the item is shown as not responding in the home app.

I think it would be good, when you transform undef to the state off.

[9/30/2019, 6:16:01 PM] [openHAB2-Complete] Received state: UNDEF (transformed to Error: Unable to transform UNDEF using transformation map {"OFF":false,"ON":true,"true":"ON","false":"OFF"}) for ITEM_SWITCH [Sonoff_Switch]
[9/30/2019, 6:16:01 PM] [openHAB2-Complete] Unable to transform UNDEF using transformation map {"OFF":false,"ON":true,"true":"ON","false":"OFF"}

Allow to define fan speed intervals

Hi,
I'd also like to request a new feature to add an additional configuration for fan speeds which can be mapped to other values other than 0% - 100%.
The situation is my fan has only 5 steps, 0 is off and 1-4 for low to high speeds. I'd like to configure the fan accessary to allow only 5 steps - 0%, 25%, 50%, 75% and 100%. Basically this can be done by the following code:
that.fanService.getCharacteristic(Characteristic.RotationSpeed).setProps({
minStep: 25
})
And then of course mapping logic from 0-4 to 0%-100% and the other way around.
Thank you in advance for considering.

v0.10.0 Led strip off bug

After update to 0.10.0 version when I change color/brightness of rgb strip, plugin is sending also OFF command which disable leds. On version 0.9.0 everything is ok.

Logs:
[2019-3-2 13:43:50] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,100
[2019-3-2 13:43:51] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,51
[2019-3-2 13:43:51] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:51] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:51] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:51] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:52] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:43:52] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:52] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:52] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:52] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:53] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,23
[2019-3-2 13:43:53] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:53] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:53] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:53] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:54] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,48
[2019-3-2 13:43:54] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:54] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:54] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:54] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,50
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:43:58] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,84
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:00] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:01] [openHAB2-Complete] Updating state of Strip with item ledstrip to 0,0,93
[2019-3-2 13:44:01] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:01] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:01] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:01] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:03] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:03] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:03] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:03] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:03] [openHAB2-Complete] Received push with new state for item ledstrip: 0
[2019-3-2 13:44:04] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:05] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:06] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:07] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:09] [openHAB2-Complete] Updating state of Strip with item ledstrip to 60,100,93
[2019-3-2 13:44:09] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:09] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:09] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:09] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:12] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:12] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:12] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:12] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:12] [openHAB2-Complete] Received push with new state for item ledstrip: 60
[2019-3-2 13:44:17] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:17] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:18] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:19] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:19] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:20] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:21] [openHAB2-Complete] Updating state of Strip with item ledstrip to OFF
[2019-3-2 13:44:22] [openHAB2-Complete] Updating state of Strip with item ledstrip to 240,100,93
[2019-3-2 13:44:22] [openHAB2-Complete] Received push with new state for item ledstrip: 240
[2019-3-2 13:44:22] [openHAB2-Complete] Received push with new state for item ledstrip: 240
[2019-3-2 13:44:22] [openHAB2-Complete] Received push with new state for item ledstrip: 240
[2019-3-2 13:44:22] [openHAB2-Complete] Received push with new state for item ledstrip: 240

Type list / wrong types in Readme

Hey Frank,

first of all thanks for the excellent plugin. Makes administration of my native Homekit/Homebridge/Homematic environment much easier and better!

I think there is some mismatch in the types of the readme. Under "Leak Sensor" it says "type motion" and under "Contact Sensor" it says "co2". Could you maybe also provide a list of homekit types in the readme?
Thanks and keep it up! Patrick

Temperature Sensor does not show value on accessory

Describe the bug
Temperature Sensor does not show value number on accessory in HomeKit app, hovewer Humidity Sensor show.

Configurations
Homebridge config.json

{
                    "name": "Pogoda temp.",
                    "type": "temp",
                    "item": "PLC_PogodaTemp",
                    "batteryItem": "",
                    "batteryItemInverted": "false"
                },
                {
                    "name": "Pogoda wilgotność",
                    "type": "humidity",
                    "item": "PLC_PogodaWilgotnosc",
                    "batteryItem": "",
                    "batteryItemInverted": "false"
                },

OH2 *.items

Number    PLC_PogodaTemp      "Temperatura powietrza"  <temperature>  (Pogoda) { simatic="plc:DB28.DBD190:float" }
Number    PLC_PogodaWilgotnosc      "Wilgotność powietrza"  <humidity>  (Pogoda) { simatic="plc:DB28.DBD202:float" }

Logs:

[2019-8-7 8:03:12 PM] [openHAB2-Complete] Setting new transformed state for item PLC_PogodaTemp: 21.799999237060547
[2019-8-7 8:03:12 PM] [openHAB2-Complete] Received push with new state for item PLC_PogodaWilgotnosc: 80.19999694824219

Environment

  • RPI4
  • Homebridge 4.50
  • NodeJS 10.16
  • homebridge-openhab2-complete v0.10.2
  • IOS13 beta 6

Additional context
IMG_0056

IMG_0057

Type Security System is not reacting on changes from openHAB

I have tested the security system, and it is working fine, when a change is done in the Homekit app.

However, if the change is initiated from openHAB the app just displays 'Activating...' This would be the case if the security system changed state as a part of the original intended usage for that system - eg. keypad or similar.

It is working fine both ways in openHAB native Homekit add on , and there is more about that here

I am submitting this, because I would like to transfer all my items to Homebridge, so I am no longer dependent on native openHAB support. Thanks.

Type Valve cannot be used from Homekit app to change status

I have created this in config.json

{"type": "valve", "items": [ {"name": "Vandhaner", "activeItem": "KaelderFyrrumVandmaalerHomekitInit", "inUseItem": "KaelderFyrrumVandmaalerHomekitDelayed"} ,{"name": "Afbryd vand", "activeItem": "KaelderFyrrumMagnetventilHomekitInit", "inUseItem": "KaelderFyrrumMagnetventilHomekitDelayed", "valveType": "irrigation"} ]
The last one called 'KaelderFyrrumMagnetventilHomekitInit' is defined as a Switch in openHAB.

However, I cannot turn this switch on and off using Homekit app. It just says 'Starting...'. I have tried various options including this rule:
rule "Vand løber" when Item KaelderFyrrumVandmaaler received update or System started then if (KaelderFyrrumVandmaaler.state == OPEN) KaelderFyrrumVandmaalerHomekitInit.sendCommand(ON) else KaelderFyrrumVandmaalerHomekitInit.sendCommand(OFF) Thread::sleep(1000) if (KaelderFyrrumVandmaaler.state == OPEN) KaelderFyrrumVandmaalerHomekitDelayed.sendCommand(ON) else KaelderFyrrumVandmaalerHomekitDelayed.sendCommand(OFF) end

It is displayed correct in Homekit, if the switch is changed from openHAB ui.

In the native Homekit support the type 'Valve' is the same and it is working without problems, so it can be updated from both Homekit and openHAB ui.

Thanks.

Option to reduce log writing

The openHAb2-complete is really good stuff. However, as you add a lot of items, the log files grows significantly, as also all changes to item state are shown. I have a light sensor, which sends a new state every 5 seconds + all my temperature sensors with frequent updates.

Therefore, it would be a really nice feature, if it was possible somehow to switch between detailed and not detailed log information. Maybe in config.json or elsewhere.

Thanks.

Ejvind

OpenHAB expects UP/DOWN/STOP, instead sending 0/100

OH event log: The UP/DOWN/STOP commands you see are being sent from Paper UI. The others (0/100) are being sent from Home app.

2019-01-31 20:15:28.757 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command 0
2019-01-31 20:15:28.760 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become 0
2019-01-31 20:15:28.762 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 100 to 0
2019-01-31 20:15:38.465 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command 100
2019-01-31 20:15:38.466 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become 100
2019-01-31 20:15:38.471 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 0 to 100
2019-01-31 20:16:12.259 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command UP
2019-01-31 20:16:12.259 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become UP
2019-01-31 20:16:12.260 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 100 to 0
2019-01-31 20:16:13.366 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command STOP
2019-01-31 20:16:14.698 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command DOWN
2019-01-31 20:16:14.699 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become DOWN
2019-01-31 20:16:14.700 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 0 to 100
2019-01-31 20:17:10.974 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command 0
2019-01-31 20:17:10.975 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become 0
2019-01-31 20:17:10.976 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 100 to 0
2019-01-31 20:17:12.944 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command 100
2019-01-31 20:17:12.945 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become 100
2019-01-31 20:17:12.947 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 0 to 100
2019-01-31 20:17:14.708 [ome.event.ItemCommandEvent] - Item 'RFXCOMRfyActuator_Shutter' received command 0
2019-01-31 20:17:14.709 [nt.ItemStatePredictedEvent] - RFXCOMRfyActuator_Shutter predicted to become 0
2019-01-31 20:17:14.714 [vent.ItemStateChangedEvent] - RFXCOMRfyActuator_Shutter changed from 100 to 0

homebridge log:

[1/31/2019, 8:15:28 PM] [openHAB2-Complete] Transformed 0 with inverted set to false for Rolluiken to 0
[1/31/2019, 8:15:28 PM] [openHAB2-Complete] Change target state of Rolluiken [RFXCOMRfyActuator_Shutter] to 0 (transformed to 0)
[1/31/2019, 8:15:28 PM] [openHAB2-Complete] Changed target state of Rolluiken [RFXCOMRfyActuator_Shutter] to 0
[1/31/2019, 8:15:28 PM] [openHAB2-Complete] Received push with new state for item RFXCOMRfyActuator_Shutter: 0
[1/31/2019, 8:15:28 PM] [openHAB2-Complete] Transformed 0 with inverted set to false for Rolluiken to 0
[1/31/2019, 8:15:38 PM] [openHAB2-Complete] Transformed 100 with inverted set to false for Rolluiken to 100
[1/31/2019, 8:15:38 PM] [openHAB2-Complete] Change target state of Rolluiken [RFXCOMRfyActuator_Shutter] to 100 (transformed to 100)
[1/31/2019, 8:15:38 PM] [openHAB2-Complete] Changed target state of Rolluiken [RFXCOMRfyActuator_Shutter] to 100
[1/31/2019, 8:15:38 PM] [openHAB2-Complete] Received push with new state for item RFXCOMRfyActuator_Shutter: 100
[1/31/2019, 8:15:38 PM] [openHAB2-Complete] Transformed 100 with inverted set to false for Rolluiken to 100
[1/31/2019, 8:16:12 PM] [openHAB2-Complete] Received push with new state for item RFXCOMRfyActuator_Shutter: 0
[1/31/2019, 8:16:12 PM] [openHAB2-Complete] Transformed 0 with inverted set to false for Rolluiken to 0
[1/31/2019, 8:16:14 PM] [openHAB2-Complete] Received push with new state for item RFXCOMRfyActuator_Shutter: 100
[1/31/2019, 8:16:14 PM] [openHAB2-Complete] Transformed 100 with inverted set to false for Rolluiken to 100

Bonus: Push notification when shutter operates works (when it was triggered from Paper UI) 🎉

Unable to transform NULL using transformation map {"OFF":false,"ON":true,"CLOSED":false,"OPEN":true})

Hi,
I noticed a few times in the log file that the plugin receives NULL value from OpenHub which causes transformation error and the accessory in Homekit become in error state:
[6/24/2019, 4:30:12 PM] [openHAB2-Complete] Received state: NULL (transformed to Error: Unable to transform NULL using transformation map {"OFF":false,"ON":true,"CLOSED":false,"OPEN":true}) for Nilan Filters Replace [HomeKitVentilationFilterItem]
[6/24/2019, 4:30:12 PM] [openHAB2-Complete] Unable to transform NULL using transformation map {"OFF":false,"ON":true,"CLOSED":false,"OPEN":true}

One strange thing is, in the events.log of OpenHAB the state of the switch in question has never been set to NULL. How to diagnose problem like this? Thank you!

Rollershutter command STOP

Please add command “STOP” to the rollershutter, in OH rollershutter use UP,STOP,DOWN command. In this state we can’t stop the rollershutter, after every press on HomeKit button we change only the move direction.

for example if use STOP:
1 press UP
2 press STOP
3 press DOWN
4 press STOP
5 press UP

or just send command STOP after press button if rollershutter is in moving state
......

thanks

Question: Venetian blinds mode

Does your plug-in support roller shutters (Rollläden) only or also venetian blinds (Jalousien) where you can control the position of the lamellas as well?

Using this plugin a "Restart" of Homebridge does not work anymore [Docker]

Describe the bug
When using this plugin the "Restart" function on Web-UI does not work anymore.
I always have to use the "Restart Container" function when Homebridge needs to be restarted.

Expected behavior
"Restart" should restart Homebridge normally.

Configurations
nothing special.

Logs:
[9/25/2019, 9:29:02 PM] [Config] Homebridge restart request received
[9/25/2019, 9:29:03 PM] [Config] Executing restart command: killall -9 homebridge && killall -9 homebridge-config-ui-x
[9/25/2019, 9:29:03 PM] [Config] Restart command exited with an error. Failed to restart Homebridge.

Environment (please complete the following information):

  • Docker on Raspbian (oznu/homebridge:debian-raspberry-pi)
  • Homebridge 0.4.50

Additional context
I use several Homebridge Docker containers and only in that one using openhab2-complete this restart issue exist.

Plug-in not working in Homebridge

After installation of the plug-in and adding the necessary changes to the config file, Homebridge will not start anymore.

O get the following message in the log file:
[openHAB2] SSE - Error fetching updates: TypeError: Cannot read property 'name' of undefined
at Sse.manageValue (/homebridge/node_modules/homebridge-openhab2/src/services/sse.ts:72:64)
at EventSource.es.addEventListener (/homebridge/node_modules/homebridge-openhab2/src/services/sse.ts:57:14)
at EventSource.emit (events.js:182:13)
at _emit (/homebridge/node_modules/eventsource/lib/eventsource.js:242:17)
at parseEventStreamLine (/homebridge/node_modules/eventsource/lib/eventsource.js:257:9)
at IncomingMessage. (/homebridge/node_modules/eventsource/lib/eventsource.js:217:11)
at IncomingMessage.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at IncomingMessage.Readable.push (_stream_readable.js:219:10)
at HTTPParser.parserOnBody (_http_common.js:122:22)
at Socket.socketOnData (_http_client.js:442:20)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)

Can somebody help me to fix this?

Thermostat Auto-Mode question

Hello!
First, thanks for your work. It looks great!

I have long been waiting for a simpler and more effective interaction between Openhab and Homekit! Now I use Node-Red together with node-red-contrib-homekit-bridged, this is how it allows you to implement the most complete functionality of HVAC devices for HomeKit. My question is: is it planned to fully implement all the properties, for example, CoolingThresholdTemperature for "auto" mode?

Make Characteristic.TargetTemperature properties configurable

It would be great if the properties maxTemp, minTemp and minStep of Characteristic.TargetTemperature would be configurable.

These properties determine the range of the temperature slider within the Home App. Making them configurable would allow more fine grained control of thermostats.

Example:

Characteristic.setProps({
	minValue: 6,
	maxValue: 28,
	minStep: 0.5
});

0.10.2 transforms Rollershutter state from 1 to 0

Describe the bug
I close my Rollershutter to 0% and when i try to open it 1%, the module transforms the state to 0 not to 1. I dont want any transformation. Is this a bug or wrong configuration?

Expected behavior
Open the Rollershutter 1% in homekit and 1 in openhab.

Configurations
"name": "Jalousien Büro",
"type":"windowcovering",
"item": "Office_Blind",
"manuMode": "false",
"inverted": "false",
"multiplier": "1",
"stateItemMultiplier": "1",
"stateItemInverted": "false"

Logs:
Jul 25 10:40:24 openHABianPi homebridge[1056]: [7/25/2019, 10:40:24 AM] [openHAB2-Complete] Received push with new state for item Office_Blind: 0
Jul 25 10:40:24 openHABianPi homebridge[1056]: [7/25/2019, 10:40:24 AM] [openHAB2-Complete] Setting new transformed state for item Office_Blind: 0
Jul 25 10:40:47 openHABianPi homebridge[1056]: [7/25/2019, 10:40:47 AM] [openHAB2-Complete] Received push with new state for item Office_Blind: 1
Jul 25 10:40:47 openHABianPi homebridge[1056]: [7/25/2019, 10:40:47 AM] [openHAB2-Complete] Setting new transformed state for item Office_Blind: 0

homebridge doesn´t load temp sensors

Hi Frank,

as shortly described in the oH community, i´m not able to get my temp sensors running in homebridge.

Describe the bug
temp items are not loaded and used in homebridge

Expected behavior
Import and use of the defined temp items in homebridge and Homekit

Configurations

  • Homebridge
{
    "bridge": {
        "name": "Homebridge",
        "username": "AA:BB:CC:DD:EE:FF",
        "port": 51826,
        "pin": "ABC-DE-FGH"
    },
    "platforms": [
        {
            "platform": "openHAB2-Complete",
            "host": "http://192.168.654.987",
            "port": "8080",
            "accessories": [
                {
                    "name": "Wohnungstür",
                    "type": "door",
                    "item": "itmTuer_Flur_Dummy",
                    "stateItem": "itmTuer_Flur"
                },
                {
                    "name": "Schloss",
                    "type": "lock",
                    "item": "itmTuerschloss_Dummy",
                    "inverted": "true"
                },
                {
                    "name": "Bewegung Flur",
                    "type": "motion",
                    "item": "itmFIBmotion"
                },
                {
                    "name": "Temperatur Flur",
                    "type": "temp",
                    "item": "itmFIBtemp2"
                },
                {
                    "name": "Temperatur Bad",
                    "type": "temp",
                    "item": "coFIBtemp"
                },
                {
                    "name": "Helligkeit Flur",
                    "type": "lux",
                    "item": "itmFIBlux2"
                },
                {
                    "name": "co Sensor",
                    "type": "co",
                    "item": "coFIBalarm",
                    "levelItem": "coFIBsensor"
                },
                {
                    "name": "Rauchmelder",
                    "type": "smoke",
                    "item": "itmRauchmelder_Team"
                },
                {
                    "type": "window",
                    "items": [
                        {
                            "name": "Fenster Schlafzimmer",
                            "item": "itmFenster_Schlafzimmer_Dummy",
                            "stateItem": "itmFenster_Schlafzimmer"
                        },
                        {
                            "name": "Fenster Badezimmer",
                            "item": "itmFenster_Badezimmer_Dummy",
                            "stateItem": "itmFenster_Badezimmer"
                        },
                        {
                            "name": "Fenster Küche",
                            "item": "itmFenster_Kueche_Dummy",
                            "stateItem": "itmFenster_Kueche"
                        }
                    ]
                },
                {
                    "type": "thermostat",
                    "items": [
                        {
                            "name": "Heizung Schlafzimmer",
                            "currentTempItem": "itmHeizung_Schlafzimmer_IST",
                            "targetTempItem": "itmHeizung_Schlafzimmer_SOLL",
                            "heatingItem": "itmHeizung_Schlafzimmer_Mode_Auto",
                            "tempUnit": "Celsius"
                        },
                        {
                            "name": "Heizung Badezimmer",
                            "currentTempItem": "itmHeizung_Badezimmer_IST",
                            "targetTempItem": "itmHeizung_Badezimmer_SOLL",
                            "heatingItem": "itmHeizung_Badezimmer_Mode_Auto",
                            "tempUnit": "Celsius"
                        },
                        {
                            "name": "Heizung Küche",
                            "currentTempItem": "itmHeizung_Kueche_IST",
                            "targetTempItem": "itmHeizung_Kueche_SOLL",
                            "heatingItem": "itmHeizung_Kueche_Mode_Auto",
                            "tempUnit": "Celsius"
                        }
                    ]
                }
            ]
        },
        {
            "platform": "config",
            "name": "Config",
            "port": 8080,
            "sudo": true,
            "restart": "sudo service homebridge restart",
            "log": {
                "method": "file",
                "path": "/var/log/homebridge.log"
            }
        },
        {
            "platform": "SamsungTizen",
            "devices": [
                {
                    "name": "Wohnzimmer TV",
                    "ip": "192.168.654.987",
                    "mac": "AA:BB:CC:DD:EE:FF"
                }
            ]
        }
    ],
    "accessories": []
}
  • Relevant openHAB item definition (zwave.items)
Number itmFIBtemp2 "Temperatur Flur [%.1f °C]" <temperature> (Flur, gPersist) ["CurrentTemperature"] {channel="zwave:device:ZME-UZB1:node2:sensor_temperature"}
Number coFIBtemp "Temperatur Badezimmer [%.1f °C]" <temperature> (Badezimmer, gPersist) ["CurrentTemperature"] {channel="zwave:device:ZME-UZB1:node3:sensor_temperature"}

Logs:

[2019-9-17 10:45:33 AM] Loaded config.json with 0 accessories and 3 platforms.
[2019-9-17 10:45:33 AM] ---
[2019-9-17 10:45:33 AM] Loaded plugin: homebridge-config-ui-x
[2019-9-17 10:45:33 AM] Registering platform 'homebridge-config-ui-x.config'
[2019-9-17 10:45:33 AM] ---
[2019-9-17 10:45:35 AM] Loaded plugin: homebridge-openhab2-complete
[2019-9-17 10:45:35 AM] Registering platform 'homebridge-openhab2-complete.openHAB2-Complete'
[2019-9-17 10:45:35 AM] ---
[2019-9-17 10:45:36 AM] Loaded plugin: homebridge-samsung-tizen
[2019-9-17 10:45:36 AM] Registering platform 'homebridge-samsung-tizen.SamsungTizen'
[2019-9-17 10:45:36 AM] ---
[2019-9-17 10:45:36 AM] Loading 3 platforms...
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Initializing openHAB2-Complete platform...
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading accessory types...
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type airpurifier
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type airpurifier
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type air
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type air
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type co2
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type co2
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type co
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type co
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type contact
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type contact
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type door
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type door
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type fan
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type fan
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type faucet
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type faucet
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type filter
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type filter
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type garage
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type garage
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type heatercooler
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type heatercooler
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type humidifier
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type humidifier
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type humidity
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type humidity
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type irrigation
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type irrigation
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type leak
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type leak
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type light
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type light
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type lux
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type lux
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type lock
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type lock
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type motion
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type motion
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type occupancy
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type occupancy
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type outlet
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type outlet
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type security
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type security
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type smoke
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type smoke
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type switch
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type switch
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type temp
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type temp
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type thermostat
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type thermostat
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type valve
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type valve
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type window
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type window
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Found accessory of type windowcovering
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Loading and activating accessory type windowcovering
[2019-9-17 10:45:36 AM] [openHAB2-Complete] Waiting for openHAB host (http://123.456.789.0) to come online...
[2019-9-17 10:45:38 AM] [openHAB2-Complete] Checking if openHAB host (http://123.456.789.0) is online...
[2019-9-17 10:45:39 AM] [openHAB2-Complete] Online request for openHAB (http://123.456.789.0:8080/rest/items) resulted in status code 200
[2019-9-17 10:45:49 AM] [openHAB2-Complete] openHAB host (http://123.456.789.0) is online, now syncing...
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Syncing all items & types from openHAB
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got array with 385 item/s
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Kueche_SOLL of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Kueche_Mode_Auto of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmTuerschloss of type Contact, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Badezimmer_Mode_Auto of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFIBlux2 of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmTuer_Flur_Dummy of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFIBtemp2 of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmTuerschloss_Dummy of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFenster_Badezimmer_Dummy of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item coFIBtemp of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item coFIBsensor of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Badezimmer_IST of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Badezimmer_SOLL of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFIBmotion of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFenster_Schlafzimmer_Dummy of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFenster_Badezimmer of type Contact, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item coFIBbinary of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item coFIBalarm of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Kueche_IST of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFenster_Kueche_Dummy of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmTuer_Flur of type Contact, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Schlafzimmer_IST of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmHeizung_Schlafzimmer_Mode_Auto of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Received item type Number, transforming to 'Number'
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmFIBmotion2 of type Number, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Got item itmRauchmelder_Team of type Switch, adding to type cache
[2019-9-17 10:45:49 AM] [openHAB2-Complete] 'OpenHAB2 - Complete Edition' plugin loaded - Version 1.0.0
[2019-9-17 10:45:49 AM] [openHAB2-Complete] ---
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Loading accessories from configuration, this might take a while...
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Wohnungstür' (door)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Wohnungstür
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Wohnungstür
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Wohnungstür: Not configuring battery warning characteristic for Wohnungstür: Required batteryItem for Wohnungstür not defined: {"name":"Wohnungstür","type":"door","item":"itmTuer_Flur_Dummy","stateItem":"itmTuer_Flur","serialNumber":"55AC443FF6D97E0046300","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating door service for Wohnungstür
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmTuer_Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Contact) for key itmTuer_Flur 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not parsing multiplier for Wohnungstür, because of item's type Contact
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating current state characteristic for Wohnungstür with item itmTuer_Flur (Contact), inverted set to false
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for itmTuer_Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for itmTuer_Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmTuer_Flur_Dummy
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key itmTuer_Flur_Dummy 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not parsing multiplier for Wohnungstür, because of item's type Switch
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmTuer_Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Contact) for key itmTuer_Flur 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not parsing multiplier for Wohnungstür, because of item's type Contact
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating target state characteristic for Wohnungstür with item itmTuer_Flur_Dummy (Switch), inverted set to false and state item itmTuer_Flur (Contact), inverted set to false
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating position state characteristic for Wohnungstür
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmTuer_Flur_Dummy
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key itmTuer_Flur_Dummy 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring hold position characteristic for Wohnungstür: itmTuer_Flur_Dummy's type (Switch) is not as expected (["Rollershutter"])
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Added accessory Wohnungstür (Type: door)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Schloss' (lock)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Schloss
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Schloss
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Schloss: Not configuring battery warning characteristic for Schloss: Required batteryItem for Schloss not defined: {"name":"Schloss","type":"lock","item":"itmTuerschloss_Dummy","inverted":"true","serialNumber":"FAD54597093B1D6B0C4D7","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating lock mechanism service for Schloss
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmTuerschloss_Dummy
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key itmTuerschloss_Dummy 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating current state characteristic for Schloss with item itmTuerschloss_Dummy (Switch), inverted set to true
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for itmTuerschloss_Dummy
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for itmTuerschloss_Dummy
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmTuerschloss_Dummy
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key itmTuerschloss_Dummy 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating target state characteristic for Schloss with item itmTuerschloss_Dummy (Switch), inverted set to true and state item itmTuerschloss_Dummy (Switch), inverted set to true
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Added accessory Schloss (Type: lock)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Bewegung Flur' (motion)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Bewegung Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Bewegung Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Bewegung Flur: Not configuring battery warning characteristic for Bewegung Flur: Required batteryItem for Bewegung Flur not defined: {"name":"Bewegung Flur","type":"motion","item":"itmFIBmotion","serialNumber":"0EB48F22C4BC4D7FC290C","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating motion sensor service for Bewegung Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmFIBmotion
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key itmFIBmotion 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating binary sensor characteristic for Bewegung Flur with item itmFIBmotion and inverted set to false
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for itmFIBmotion
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for itmFIBmotion
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Added accessory Bewegung Flur (Type: motion)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Temperatur Flur' (temp)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Temperatur Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Temperatur Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Temperatur Flur: Not configuring battery warning characteristic for Temperatur Flur: Required batteryItem for Temperatur Flur not defined: {"name":"Temperatur Flur","type":"temp","item":"itmFIBtemp2","serialNumber":"B3E5C3F545DA4E972096B","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating temperature sensor service for Temperatur Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Temperatur Bad' (temp)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Temperatur Bad
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Temperatur Bad
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Temperatur Bad: Not configuring battery warning characteristic for Temperatur Bad: Required batteryItem for Temperatur Bad not defined: {"name":"Temperatur Bad","type":"temp","item":"coFIBtemp","serialNumber":"374E6A8F21F1C52E58D84","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating temperature sensor service for Temperatur Bad
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Helligkeit Flur' (lux)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Helligkeit Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Helligkeit Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Helligkeit Flur: Not configuring battery warning characteristic for Helligkeit Flur: Required batteryItem for Helligkeit Flur not defined: {"name":"Helligkeit Flur","type":"lux","item":"itmFIBlux2","serialNumber":"8D37C53E9BEC9ED5EF0CE","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating light sensor service for Helligkeit Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmFIBlux2
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Number) for key itmFIBlux2 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating numeric sensor characteristic for Helligkeit Flur with itmFIBlux2
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for itmFIBlux2
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for itmFIBlux2
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Added accessory Helligkeit Flur (Type: lux)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'co Sensor' (co)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: co Sensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for co Sensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for co Sensor: Not configuring battery warning characteristic for co Sensor: Required batteryItem for co Sensor not defined: {"name":"co Sensor","type":"co","item":"coFIBalarm","levelItem":"coFIBsensor","serialNumber":"C122C96F803C798FCA824","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating carbon monoxide sensor service for co Sensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for coFIBalarm
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key coFIBalarm 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating binary sensor characteristic for co Sensor with item coFIBalarm and inverted set to false
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for coFIBalarm
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for coFIBalarm
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for coFIBsensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Number) for key coFIBsensor 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating level characteristic for co Sensor with item coFIBsensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for coFIBsensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for coFIBsensor
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Added accessory co Sensor (Type: co)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Rauchmelder' (smoke)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Rauchmelder
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Rauchmelder
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Rauchmelder: Not configuring battery warning characteristic for Rauchmelder: Required batteryItem for Rauchmelder not defined: {"name":"Rauchmelder","type":"smoke","item":"itmRauchmelder_Team","serialNumber":"3FA1671AA9AB03FCB802A","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating occupancy sensor service for Rauchmelder
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Checking cache for itmRauchmelder_Team
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Returning value (Switch) for key itmRauchmelder_Team 
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating binary sensor characteristic for Rauchmelder with item itmRauchmelder_Team and inverted set to false
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Subscribing to changes for itmRauchmelder_Team
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Queueing subscription for itmRauchmelder_Team
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Added accessory Rauchmelder (Type: smoke)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Found accessory in config: 'Fenster Schlafzimmer' (window)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating new accessory: Fenster Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Trying battery service for Fenster Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring battery service for Fenster Schlafzimmer: Not configuring battery warning characteristic for Fenster Schlafzimmer: Required batteryItem for Fenster Schlafzimmer not defined: {"name":"Fenster Schlafzimmer","item":"itmFenster_Schlafzimmer_Dummy","stateItem":"itmFenster_Schlafzimmer","type":"window","serialNumber":"E4026C423FCC5F152E9D9","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating window service for Fenster Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Contact) for key itmFenster_Schlafzimmer 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Schlafzimmer, because of item's type Contact
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating current state characteristic for Fenster Schlafzimmer with item itmFenster_Schlafzimmer (Contact), inverted set to false
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmFenster_Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmFenster_Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Schlafzimmer_Dummy
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmFenster_Schlafzimmer_Dummy 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Schlafzimmer, because of item's type Switch
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Contact) for key itmFenster_Schlafzimmer 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Schlafzimmer, because of item's type Contact
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating target state characteristic for Fenster Schlafzimmer with item itmFenster_Schlafzimmer_Dummy (Switch), inverted set to false and state item itmFenster_Schlafzimmer (Contact), inverted set to false
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating position state characteristic for Fenster Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Schlafzimmer_Dummy
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmFenster_Schlafzimmer_Dummy 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring hold position characteristic for Fenster Schlafzimmer: itmFenster_Schlafzimmer_Dummy's type (Switch) is not as expected (["Rollershutter"])
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Added accessory Fenster Schlafzimmer (Type: window)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Found accessory in config: 'Fenster Badezimmer' (window)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating new accessory: Fenster Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Trying battery service for Fenster Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring battery service for Fenster Badezimmer: Not configuring battery warning characteristic for Fenster Badezimmer: Required batteryItem for Fenster Badezimmer not defined: {"name":"Fenster Badezimmer","item":"itmFenster_Badezimmer_Dummy","stateItem":"itmFenster_Badezimmer","type":"window","serialNumber":"64699F93AF303CD0FB6DA","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating window service for Fenster Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Contact) for key itmFenster_Badezimmer 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Badezimmer, because of item's type Contact
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating current state characteristic for Fenster Badezimmer with item itmFenster_Badezimmer (Contact), inverted set to false
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmFenster_Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmFenster_Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Badezimmer_Dummy
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmFenster_Badezimmer_Dummy 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Badezimmer, because of item's type Switch
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Contact) for key itmFenster_Badezimmer 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Badezimmer, because of item's type Contact
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating target state characteristic for Fenster Badezimmer with item itmFenster_Badezimmer_Dummy (Switch), inverted set to false and state item itmFenster_Badezimmer (Contact), inverted set to false
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating position state characteristic for Fenster Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Badezimmer_Dummy
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmFenster_Badezimmer_Dummy 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring hold position characteristic for Fenster Badezimmer: itmFenster_Badezimmer_Dummy's type (Switch) is not as expected (["Rollershutter"])
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Added accessory Fenster Badezimmer (Type: window)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Found accessory in config: 'Fenster Küche' (window)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating new accessory: Fenster Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Trying battery service for Fenster Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring battery service for Fenster Küche: Not configuring battery warning characteristic for Fenster Küche: Required batteryItem for Fenster Küche not defined: {"name":"Fenster Küche","item":"itmFenster_Kueche_Dummy","stateItem":"itmFenster_Kueche","type":"window","serialNumber":"0F3E7C9D640FD6F13E827","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating window service for Fenster Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Kueche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Contact) for key itmFenster_Kueche 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Küche, because of item's type Contact
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating current state characteristic for Fenster Küche with item itmFenster_Kueche (Contact), inverted set to false
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmFenster_Kueche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmFenster_Kueche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Kueche_Dummy
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmFenster_Kueche_Dummy 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Küche, because of item's type Switch
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Kueche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Contact) for key itmFenster_Kueche 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not parsing multiplier for Fenster Küche, because of item's type Contact
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating target state characteristic for Fenster Küche with item itmFenster_Kueche_Dummy (Switch), inverted set to false and state item itmFenster_Kueche (Contact), inverted set to false
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating position state characteristic for Fenster Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmFenster_Kueche_Dummy
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmFenster_Kueche_Dummy 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring hold position characteristic for Fenster Küche: itmFenster_Kueche_Dummy's type (Switch) is not as expected (["Rollershutter"])
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Added accessory Fenster Küche (Type: window)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Found accessory in config: 'Heizung Schlafzimmer' (thermostat)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating new accessory: Heizung Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Trying battery service for Heizung Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring battery service for Heizung Schlafzimmer: Not configuring battery warning characteristic for Heizung Schlafzimmer: Required batteryItem for Heizung Schlafzimmer not defined: {"name":"Heizung Schlafzimmer","currentTempItem":"itmHeizung_Schlafzimmer_IST","targetTempItem":"itmHeizung_Schlafzimmer_SOLL","heatingItem":"itmHeizung_Schlafzimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"5E1FC106CD8A0FF05672A","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating thermostat service for Heizung Schlafzimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Schlafzimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Number) for key itmHeizung_Schlafzimmer_IST 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating numeric sensor/actor characteristic for Heizung Schlafzimmer with itmHeizung_Schlafzimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Schlafzimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Schlafzimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Schlafzimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Number) for key itmHeizung_Schlafzimmer_SOLL 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating numeric sensor/actor characteristic for Heizung Schlafzimmer with itmHeizung_Schlafzimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Schlafzimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Schlafzimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric sensor characteristic for Heizung Schlafzimmer: Required currentHumidityItem for Heizung Schlafzimmer not defined: {"name":"Heizung Schlafzimmer","currentTempItem":"itmHeizung_Schlafzimmer_IST","targetTempItem":"itmHeizung_Schlafzimmer_SOLL","heatingItem":"itmHeizung_Schlafzimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"5E1FC106CD8A0FF05672A","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Schlafzimmer: Required targetHumidityItem for Heizung Schlafzimmer not defined: {"name":"Heizung Schlafzimmer","currentTempItem":"itmHeizung_Schlafzimmer_IST","targetTempItem":"itmHeizung_Schlafzimmer_SOLL","heatingItem":"itmHeizung_Schlafzimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"5E1FC106CD8A0FF05672A","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating 'TargetHeatingCoolingState' characteristic for Heizung Schlafzimmer with mode set to 1
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Schlafzimmer_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmHeizung_Schlafzimmer_Mode_Auto 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] coolingItem for Heizung Schlafzimmer not defined in config: {"name":"Heizung Schlafzimmer","currentTempItem":"itmHeizung_Schlafzimmer_IST","targetTempItem":"itmHeizung_Schlafzimmer_SOLL","heatingItem":"itmHeizung_Schlafzimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"5E1FC106CD8A0FF05672A","version":"1.0.0"})
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Schlafzimmer_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Schlafzimmer_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating 'CurrentHeatingCoolingState' characteristic for Heizung Schlafzimmer with mode set to Heating
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Schlafzimmer: Required coolingThresholdTempItem for Heizung Schlafzimmer not defined: {"name":"Heizung Schlafzimmer","currentTempItem":"itmHeizung_Schlafzimmer_IST","targetTempItem":"itmHeizung_Schlafzimmer_SOLL","heatingItem":"itmHeizung_Schlafzimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"5E1FC106CD8A0FF05672A","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Schlafzimmer: Required heatingThresholdTempItem for Heizung Schlafzimmer not defined: {"name":"Heizung Schlafzimmer","currentTempItem":"itmHeizung_Schlafzimmer_IST","targetTempItem":"itmHeizung_Schlafzimmer_SOLL","heatingItem":"itmHeizung_Schlafzimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"5E1FC106CD8A0FF05672A","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Added accessory Heizung Schlafzimmer (Type: thermostat)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Found accessory in config: 'Heizung Badezimmer' (thermostat)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating new accessory: Heizung Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Trying battery service for Heizung Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring battery service for Heizung Badezimmer: Not configuring battery warning characteristic for Heizung Badezimmer: Required batteryItem for Heizung Badezimmer not defined: {"name":"Heizung Badezimmer","currentTempItem":"itmHeizung_Badezimmer_IST","targetTempItem":"itmHeizung_Badezimmer_SOLL","heatingItem":"itmHeizung_Badezimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"3A4D016EA8D1FCBFD5FB8","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating thermostat service for Heizung Badezimmer
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Badezimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Number) for key itmHeizung_Badezimmer_IST 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating numeric sensor/actor characteristic for Heizung Badezimmer with itmHeizung_Badezimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Badezimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Badezimmer_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Badezimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Number) for key itmHeizung_Badezimmer_SOLL 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating numeric sensor/actor characteristic for Heizung Badezimmer with itmHeizung_Badezimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Badezimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Badezimmer_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric sensor characteristic for Heizung Badezimmer: Required currentHumidityItem for Heizung Badezimmer not defined: {"name":"Heizung Badezimmer","currentTempItem":"itmHeizung_Badezimmer_IST","targetTempItem":"itmHeizung_Badezimmer_SOLL","heatingItem":"itmHeizung_Badezimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"3A4D016EA8D1FCBFD5FB8","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Badezimmer: Required targetHumidityItem for Heizung Badezimmer not defined: {"name":"Heizung Badezimmer","currentTempItem":"itmHeizung_Badezimmer_IST","targetTempItem":"itmHeizung_Badezimmer_SOLL","heatingItem":"itmHeizung_Badezimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"3A4D016EA8D1FCBFD5FB8","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating 'TargetHeatingCoolingState' characteristic for Heizung Badezimmer with mode set to 1
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Badezimmer_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmHeizung_Badezimmer_Mode_Auto 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] coolingItem for Heizung Badezimmer not defined in config: {"name":"Heizung Badezimmer","currentTempItem":"itmHeizung_Badezimmer_IST","targetTempItem":"itmHeizung_Badezimmer_SOLL","heatingItem":"itmHeizung_Badezimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"3A4D016EA8D1FCBFD5FB8","version":"1.0.0"})
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Badezimmer_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Badezimmer_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating 'CurrentHeatingCoolingState' characteristic for Heizung Badezimmer with mode set to Heating
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Badezimmer: Required coolingThresholdTempItem for Heizung Badezimmer not defined: {"name":"Heizung Badezimmer","currentTempItem":"itmHeizung_Badezimmer_IST","targetTempItem":"itmHeizung_Badezimmer_SOLL","heatingItem":"itmHeizung_Badezimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"3A4D016EA8D1FCBFD5FB8","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Badezimmer: Required heatingThresholdTempItem for Heizung Badezimmer not defined: {"name":"Heizung Badezimmer","currentTempItem":"itmHeizung_Badezimmer_IST","targetTempItem":"itmHeizung_Badezimmer_SOLL","heatingItem":"itmHeizung_Badezimmer_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"3A4D016EA8D1FCBFD5FB8","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Added accessory Heizung Badezimmer (Type: thermostat)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Found accessory in config: 'Heizung Küche' (thermostat)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating new accessory: Heizung Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Trying battery service for Heizung Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring battery service for Heizung Küche: Not configuring battery warning characteristic for Heizung Küche: Required batteryItem for Heizung Küche not defined: {"name":"Heizung Küche","currentTempItem":"itmHeizung_Kueche_IST","targetTempItem":"itmHeizung_Kueche_SOLL","heatingItem":"itmHeizung_Kueche_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"BA524060688347E2F081C","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating thermostat service for Heizung Küche
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Kueche_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Number) for key itmHeizung_Kueche_IST 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating numeric sensor/actor characteristic for Heizung Küche with itmHeizung_Kueche_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Kueche_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Kueche_IST
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Kueche_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Number) for key itmHeizung_Kueche_SOLL 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating numeric sensor/actor characteristic for Heizung Küche with itmHeizung_Kueche_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Kueche_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Kueche_SOLL
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric sensor characteristic for Heizung Küche: Required currentHumidityItem for Heizung Küche not defined: {"name":"Heizung Küche","currentTempItem":"itmHeizung_Kueche_IST","targetTempItem":"itmHeizung_Kueche_SOLL","heatingItem":"itmHeizung_Kueche_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"BA524060688347E2F081C","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Küche: Required targetHumidityItem for Heizung Küche not defined: {"name":"Heizung Küche","currentTempItem":"itmHeizung_Kueche_IST","targetTempItem":"itmHeizung_Kueche_SOLL","heatingItem":"itmHeizung_Kueche_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"BA524060688347E2F081C","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating 'TargetHeatingCoolingState' characteristic for Heizung Küche with mode set to 1
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Checking cache for itmHeizung_Kueche_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Returning value (Switch) for key itmHeizung_Kueche_Mode_Auto 
[2019-9-17 10:45:50 AM] [openHAB2-Complete] coolingItem for Heizung Küche not defined in config: {"name":"Heizung Küche","currentTempItem":"itmHeizung_Kueche_IST","targetTempItem":"itmHeizung_Kueche_SOLL","heatingItem":"itmHeizung_Kueche_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"BA524060688347E2F081C","version":"1.0.0"})
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Subscribing to changes for itmHeizung_Kueche_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Queueing subscription for itmHeizung_Kueche_Mode_Auto
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Creating 'CurrentHeatingCoolingState' characteristic for Heizung Küche with mode set to Heating
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Küche: Required coolingThresholdTempItem for Heizung Küche not defined: {"name":"Heizung Küche","currentTempItem":"itmHeizung_Kueche_IST","targetTempItem":"itmHeizung_Kueche_SOLL","heatingItem":"itmHeizung_Kueche_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"BA524060688347E2F081C","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Not configuring numeric actor characteristic for Heizung Küche: Required heatingThresholdTempItem for Heizung Küche not defined: {"name":"Heizung Küche","currentTempItem":"itmHeizung_Kueche_IST","targetTempItem":"itmHeizung_Kueche_SOLL","heatingItem":"itmHeizung_Kueche_Mode_Auto","tempUnit":"Celsius","type":"thermostat","serialNumber":"BA524060688347E2F081C","version":"1.0.0"}
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Added accessory Heizung Küche (Type: thermostat)
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Syncing all item values from openHAB
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got array with 385 item/s
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (22.00), extracting only the number: 22.00
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Kueche_SOLL with value 22.00, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFIBtemp2 with value 22.8, not adding to value cache, since it is not linked to homebridge!
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Kueche_Mode_Auto with value OFF, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Badezimmer_Mode_Auto with value OFF, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (13), extracting only the number: 13
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFIBlux2 with value 13, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item coFIBtemp with value 21.1, not adding to value cache, since it is not linked to homebridge!
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFenster_Schlafzimmer with value OPEN, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (12.00), extracting only the number: 12.00
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Schlafzimmer_SOLL with value 12.00, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFenster_Kueche with value CLOSED, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmTuerschloss_Dummy with value ON, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item coFIBsensor with value NULL, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (21.60), extracting only the number: 21.60
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Badezimmer_IST with value 21.60, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (22.00), extracting only the number: 22.00
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Badezimmer_SOLL with value 22.00, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFIBmotion with value OFF, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFenster_Badezimmer with value CLOSED, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item coFIBalarm with value NULL, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (21.60), extracting only the number: 21.60
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Kueche_IST with value 21.60, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmTuer_Flur with value CLOSED, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Recognized number with potential unit (20.90), extracting only the number: 20.90
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Schlafzimmer_IST with value 20.90, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmHeizung_Schlafzimmer_Mode_Auto with value OFF, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmRauchmelder_Team with value OFF, adding to value cache
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Finished loading 12 accessories from configuration
[2019-9-17 10:45:50 AM] [openHAB2-Complete] ---
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Wohnungstür'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Wohnungstür (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Schloss'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Schloss (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Bewegung Flur'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Bewegung Flur (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Helligkeit Flur'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Helligkeit Flur (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'co Sensor'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for co Sensor (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Rauchmelder'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Rauchmelder (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Fenster Schlafzimmer'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Fenster Schlafzimmer (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Fenster Badezimmer'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Fenster Badezimmer (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Fenster Küche'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Fenster Küche (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Heizung Schlafzimmer'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Heizung Schlafzimmer (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Heizung Badezimmer'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Heizung Badezimmer (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Initializing platform accessory 'Heizung Küche'...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Getting services for Heizung Küche (2 service(s) registered for this accessory
[2019-9-17 10:45:50 AM] [Config] Initializing config platform...
[2019-9-17 10:45:50 AM] [Config] Spawning homebridge-config-ui-x with PID 7531
[2019-9-17 10:45:50 AM] [SamsungTizen] Initializing SamsungTizen platform...
[2019-9-17 10:45:50 AM] Loading 0 accessories...
Setup Payload:
X-HM://0023LMH1HP4OB
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
...
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ ABC-DE-FGH │     
    └────────────┘     
                       
[2019-9-17 10:45:51 AM] Homebridge is running on port 51826.
[2019-9-17 10:45:51 AM] Wohnzimmer TV is running on port 32909.
[2019-9-17 10:45:51 AM] Please add [Wohnzimmer TV] manually in Home app. Setup Code: ABC-DE-FGH

It looks like homebridge is finding the accessory but not adding them.
And it´s strange that homebridge checks for an battery item but the docs doesn´t mention a battery for temp sensors.

[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Temperatur Flur' (temp)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Temperatur Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Temperatur Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Temperatur Flur: Not configuring battery warning characteristic for Temperatur Flur: Required batteryItem for Temperatur Flur not defined: {"name":"Temperatur Flur","type":"temp","item":"itmFIBtemp2","serialNumber":"B3E5C3F545DA4E972096B","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating temperature sensor service for Temperatur Flur
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Found accessory in config: 'Temperatur Bad' (temp)
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating new accessory: Temperatur Bad
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Trying battery service for Temperatur Bad
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Not configuring battery service for Temperatur Bad: Not configuring battery warning characteristic for Temperatur Bad: Required batteryItem for Temperatur Bad not defined: {"name":"Temperatur Bad","type":"temp","item":"coFIBtemp","serialNumber":"374E6A8F21F1C52E58D84","version":"1.0.0"}
[2019-9-17 10:45:49 AM] [openHAB2-Complete] Creating temperature sensor service for Temperatur Bad
...
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item itmFIBtemp2 with value 22.8, not adding to value cache, since it is not linked to homebridge!
[2019-9-17 10:45:50 AM] [openHAB2-Complete] Got item coFIBtemp with value 21.1, not adding to value cache, since it is not linked to homebridge!

Environment (please complete the following information):

  • OS/Environment: Release = Raspbian GNU/Linux 9 (stretch) / Kernel = Linux 4.14.79-v7+
  • Homebridge Version 0.4.50
  • NodeJS Version v10.16.3

kind regards
Michael

Thermostat transform state "heatingItem / collingItem"

Hi,

I grr this error :
[2019-7-31 12:30:05 PM] [openHAB2-Complete] Received state: CLOSED (transformed to Error: Unable to transform CLOSED using transformation map {"ON":1,"OFF":0}) for Ciepła woda temperatura [PLC_CwuPompaStan]

hovewer in thermostat description "Contact" items are supported.
Changed Contact to Switch solved this bug.

Fatal error after update

Today I updated the plugin from version v0.7.x to v0.8.2. This caused the home bridge instance on my raspy to hang. After rebooting home bridge fails to start permanently and felt into a loop of permanent restarting. I had to delete the complete "platform": "openHAB2-Complete" part of the config.json to bring up my Homebridge again.
After adding a complete new "openHAB2-Complete"-Block in the config.json the problem occurred again. For better research I add parts of my config.json, log-file and default.items.
Thanks in advance

***** config.json********
platforms
...
},
{
"platform": "openHAB2-Complete",
"host": "192.168.112.207",
"port": "8081",
"accessories": [
{
"name": "LichtEsstisch",
"type": "switch",
"item": "GF_Kitchen_Light"
}
]
}
],
...

***** default.items ******
...
Switch GF_Kitchen_Light "Licht" (GF_Kitchen, gLight) ["Lighting", "Switchable"] {channel="zwave:device:c5113938:node3:switch_dimmer"}
Dimmer GF_Kitchen_Dimmer "Dimmer" (GF_Kitchen, gDimmer) ["DimmableLight"] {channel="zwave:device:c5113938:node3:switch_dimmer"}
...

***** log-file *****
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [People] WebHook: Started server on port '51828'.
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Initializing openHAB2-Complete platform...
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading accessory types...
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory co2
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory co
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory contact
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory door
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory fan
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory filter
Feb 09 19:52:10 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory humidity
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:10 PM] [openHAB2-Complete] Loading and activating accessory leak
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory light
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory lightSensor
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory lock
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory motion
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory occupancy
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory outlet
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory security
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory smoke
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory switch
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory temp
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory thermostat
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory window
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Loading and activating accessory windowcovering
Feb 09 19:52:11 raspberrypi homebridge[6169]: [2/9/2019, 7:52:11 PM] [openHAB2-Complete] Waiting for openHAB host (192.168.112.207) to come online...
Feb 09 19:52:13 raspberrypi homebridge[6169]: TypeError: Cannot set property 'flags' of undefined
Feb 09 19:52:13 raspberrypi homebridge[6169]: at URL.onParseComplete (internal/url.js:224:13)
Feb 09 19:52:13 raspberrypi homebridge[6169]: at URL.set [as href] (internal/url.js:443:7)
Feb 09 19:52:13 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 19:52:13 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Feb 09 19:52:13 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Feb 09 19:52:23 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Feb 09 19:52:23 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Feb 09 19:52:23 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Feb 09 19:52:25 raspberrypi homebridge[6234]: [2/9/2019, 7:52:25 PM] Loaded config.json with 6 accessories and 5 platforms.
...

Temp Sensor reports in Fahrenheit but is treated like Celsius

Fahrenheit temperatures reported by my temperature sensors are incorrect in the Home App.

I have a temperature sensor in openhab. It reports in degrees Fahrenheit. My phone Temperature Unit is set to Fahrenheit as well. However, the value displayed in the Home App is significantly incorrect.

For example, the sensor is reporting it's 83.4 in my garage. The Home App is telling me it's 182.

I think that HomeKit expects to receive temperature readings in Celsius, but instead the raw number is being sent over. Which the Home App then converts the number it assumes is Celsius into Fahrenheit. (83.4°C × 9/5) + 32 = 182.12°F

My Sensor in OpenHab:
Number Garage_TriSensor_2_Temperature

My homebridge config:

{
  "name": "Garage_TriSensor_2_Temperature",
  "item": "Garage_TriSensor_2_Temperature"
}

The homebridge log file:

[7/20/2019, 10:19:39 AM] [openHAB2-Complete] Recognized number with potential unit (83.40), extracting only the number: 83.40
[7/20/2019, 10:19:39 AM] [openHAB2-Complete] Caching value 83.40 for Garage_TriSensor_2_Temperature
[7/20/2019, 10:19:39 AM] [openHAB2-Complete] Received new state for item Garage_TriSensor_2_Temperature: 83.40
[7/20/2019, 10:19:39 AM] [openHAB2-Complete] Received push with new state for item Garage_TriSensor_2_Temperature: 83.40
[7/20/2019, 10:19:39 AM] [openHAB2-Complete] Setting new transformed state for item Garage_TriSensor_2_Temperature: 83.4

My workaround is to create another item in OpenHab, then set up a rule to update it with degrees Celsius when my real sensor changes. But it would be nice if the TempSensor supported and converted Fahrenheit degrees.

Thanks,

Doug

Value ON for dimmer

Describe the bug
If pressing light button in HomeKit app the send values for dimmer are OFF/0 or 99, why not send ON/100 value?

Right now openHAB2 supports for dimmer ON/OFF and value 0-100
Also right now OH2 report value 100 for dimmer and rollershutter.

Expected behavior
Send ON/100 and OFF/0 if button press.

Configurations
config.json

{
                    "name": "Kuchnia meble",
                    "type": "light",
                    "item": "KuchniaMebleDimmer"
},

openhab2.items

Dimmer    KuchniaMebleDimmer
Dimmer    PLC_KuchniaMebleDimmer   "Kuchnia blat ściemniacz"    <dimmer>    (SciemniaczParter) { simatic="plc:DB26.DBB44:byte" }
Switch   PLC_KuchniaMebleSwiatlo    "Kuchnia blat światło" <light>    (SwiatloParter, SwiatloParterAktywne, Swiatlo)  { simatic="plc:Q21.1:byte" }

Logs:

2019-08-25 11:02:01.278 [ome.event.ItemCommandEvent] - Item 'PLC_KuchniaMebleTaster' received command ON
2019-08-25 11:02:01.281 [vent.ItemStateChangedEvent] - KuchniaMebleDimmer changed from 0 to 99
2019-08-25 11:02:01.282 [ome.event.ItemCommandEvent] - Item 'PLC_KuchniaMebleTaster' received command OFF
2019-08-25 11:02:02.256 [vent.ItemStateChangedEvent] - PLC_KuchniaMebleSwiatlo changed from OFF to ON
2019-08-25 11:02:02.257 [vent.ItemStateChangedEvent] - KuchniaMebleDimmer changed from 99 to 25
2019-08-25 11:02:12.521 [ome.event.ItemCommandEvent] - Item 'KuchniaMebleDimmer' received command OFF
2019-08-25 11:02:12.527 [vent.ItemStateChangedEvent] - KuchniaMebleDimmer changed from 25 to 0
2019-08-25 11:02:12.530 [ome.event.ItemCommandEvent] - Item 'PLC_KuchniaMebleTaster' received command ON
2019-08-25 11:02:12.533 [ome.event.ItemCommandEvent] - Item 'PLC_KuchniaMebleTaster' received command OFF
2019-08-25 11:02:14.818 [vent.ItemStateChangedEvent] - PLC_KuchniaMebleSwiatlo changed from ON to OFF

Environment (please complete the following information):

  • OS/Environment: Rapsbian Buster
  • Homebridge Version 4.50
  • NodeJS Version 10.16.3

Thanks

Hash on Item name to secure unique Homekit id's

Homekit needs a unique id, and I think you generate this by the name displayed in Homekit from config.json+ maybe some other stuff. Regardless, I have experienced some duplicate errors eg. if I have type light "Ceiling" , which I later map to 2 different rooms on my Iphone.

The build-in homekit binding uses the openhab Item name for hashing which secures uniqueness, and I have never had any duplicate errors there. I suggest you do to the same, because that will broaded up the potential usage of your excellent work.
Thanks.

TypeError: Cannot read property 'forEach' of undefined

Describe the bug
Homebridge Openhab2 Complete not loading

Configurations

  • Homebridge (Default path: ~/.homebridge/config.json)
  "bridge": {
    "name": "openHAB2",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },

  "accessories": [
  ],

  "platforms": [
    {
      "platform": "openHAB2-Complete",
      "name": "openHAB2",
      "host": "192.168.179.90",
      "port": "8080",
      "sitemap": "Home"
    }
  ]
}

Logs:

[6/21/2019, 3:56:12 PM] TypeError: Cannot read property 'forEach' of undefined
    at OpenHABComplete.accessories (/usr/lib/node_modules/homebridge-openhab2-complete/index.js:85:23)
    at Server._loadPlatformAccessories (/usr/lib/node_modules/homebridge/lib/server.js:403:20)
    at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:341:16)
    at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:90:36)
    at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:59:10)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

Environment (please complete the following information):

  • OS/Environment: [e.g. Debian, Docker, etc.] Openhabian Hassle Free
  • Homebridge Version 0.10.1

v0.10.0 windowcovering behavior

Since I upgraded to the new version 0.10.0 there is a bug with the rollershutters,

I inverted from the openhab rollershutter item with that in my config.json:

{ "name": "Rollo Esszimmer", "type": "windowcovering", "item": "ROLLO_EZ", "inverted": "true", "manuMode": "true" },

before the update the control was as expected, but now the plugin send a DOWN if I use the open button within a Homekit app.

Changed target state of Rollo Esszimmer [ROLLO_EZ] to DOWN

Working with the percent between 1 and 99 works ok but 0 and 100 are sending the mirrored commands.

AtmosphericPressureLevel request

I can't see the HAP Service for Air Pressure, available on homebridge on some plugins.

Because there are some Sensors like Aqara Smart Temperature Humidity Sensor, that reports Temperature, Humidity and Atmospheric Pressure. It would be nice to add it.

Very good work!

Cannot add accessory of type air

I have added some accessories without problems. However, I cannot add an accessory of type air. In the log file I received this:

Unable to add accessory Luftkvalitet: TypeError: this.Service.AirQuality is not a constructor, skipping

and here is the VSCode snippet:
{"type": "air",
"items": [
{"name": "Luftkvalitet", "item": "StueplanKokkenVOCHomekitCategory"}
]
I have verified that it is of type Number in openhab and actually holds a value between 1 and 5.

I am running in Docker with version 0.10 of openhab2-complete.
Thanks.

Type temp cannot show negative temperatures

If an openHAB Number item contains a negative value it seems to show zero in the Homekit app instead of the actual negative value.

By using the native Homekit support in openHAB it shows the correct negative number in Homekit.

Bug report: CurrentHeaterCoolerState is mapped wrong in ClimateHeaterCooler

Hi,
I'd like to report a bug, in ClimateHeaterCooler looks like the current state is mapped incorrectly:
let INACTIVE = 0; // = Characteristic.CurrentHeaterCoolerState.INACTIVE
let IDLE = 1; // = Characteristic.CurrentHeaterCoolerState.IDLE
let HEATING = 1; // = Characteristic.CurrentHeaterCoolerState.HEATING
let COOLING = 2; // = Characteristic.CurrentHeaterCoolerState.COOLING

It should be:
let INACTIVE = 0; // = Characteristic.CurrentHeaterCoolerState.INACTIVE
let IDLE = 1; // = Characteristic.CurrentHeaterCoolerState.IDLE
let HEATING = 2; // = Characteristic.CurrentHeaterCoolerState.HEATING
let COOLING = 3; // = Characteristic.CurrentHeaterCoolerState.COOLING

Do you accept pull request? I also implemented configurable minStep for fan service and max./min. temperature for climate accessories. (so I can set higher temp >38 for water boiler etc.).

Question regarding heatingItem and coolingItem for thermostat

Hi,
First I'd like to thank you for the great plugin with far better coverage than OH add-on.
I'm trying to configure a thermostat for my ventilation system which I can:

  1. Set operation modes (OFF, COOL, HEAT, AUTO)
  2. Set target temperature
  3. Read current temperature
    As I read from the document I need to have either heatingItem or coolingItem defined. The device doesn't tell me if it's in cooling mode or heating mode though. I normally let it run in AUTO mode and don't bother if the device is actually cooling or heating.
    My question is: would it be possible to defer the current running mode based on current and target temperatures? For example: when current temperature is lower than target temperature, it is running in heating mode. If so how would that be configured? Thank you very much in advance!

Do you have a best practice way to avoid NULL states?

What's the easiest way to make sure my items are not initialized with NULL values when OH is starting up? I have this on occasion for some RFXCom (Lightning 4) switches (433MHz).
I know this is more OH related, but it affects Homekit more, than operating through OH UI since the item is disabled in Homekit when it has a value of null.

Support for Insteon Fanlinc which require item tagged as NUMBER

Now that I've got the plugin running on Docker, I'm trying to map my Insteon Fans into the system with the following config:

Insteon Items contains this as required by the Insteon PLM module:
Number LivingRoom_Fan "Living Room Fan" {insteonplm="14.F5.2A:F00.00.1C#fan"}

As I noticed in your plugin, the FAN section is looking for the item to be tagged as a switch so it errors out on the mapping. I tried changing the mapping in the items file to a switch but that fails to bind the Insteon device.

In my sitemap, here is how the Insteon Fan is controlled:
Switch item=LivingRoom_Fan label="Living Room Fan" mappings=[ 0="OFF", 1="LOW", 2="MEDIUM", 3="HIGH"]

Funny thing about this whole situation is that when I was using the Insteon Hub PRO (which is there way of accessing HomeKit (but Failed after about 3 years of service and they wanted to charge me almost full price to replace the PoS) the corresponding interacting icon that came up in Home was actually a fully variable slider instead of any sort of button scheme with Off, Low, Med, & High and it responded pretty close to fully variable - it didn't seem to have any Low, or Med demarks in the power scale.

So - all this to say, can you tweak the plugin to allow Number to be a valid option for the Fan item with a Low, Medium or fully variable option or perhaps have have another alternative idea of how I could map these and access my fanlincs?

Temperature Sensor not created when using Number:Temperature item type

Describe the bug
If i use generic item type "Number" in OH2, then everything works fine. If i use more specific "Number:Temperature" item type, HomeKit Item silently not created at all.

Expected behavior
I expect plugin to correctly parse readings from number:temperature items, or, at least, throw warning in logs about wrong item type.

Configurations

  • Homebridge
           "accessories": [
                {
                    "name": "Bedroom Temperature1",
                    "type": "temp",
                    "item": "Bedroom_Temp_Generic",
                    "batteryItem": "Bedroom_Battery"
                },
                {
                    "name": "Bedroom Temperature",
                    "type": "temp",
                    "item": "Bedroom_Temp",
                    "batteryItem": "Bedroom_Battery"
                }
  • Relevant openHAB item definition
Number Bedroom_Temp_Generic "Bedroom Temperature" <temperature> (Bedroom, gTemperature) ["Bedroom", "Sensor"]
Number:Temperature Bedroom_Temp "Bedroom Temperature" <temperature> (Bedroom, gTemperature) ["Bedroom", "Sensor"]

Environment (please complete the following information):

  • OS/Environment: Latest Raspbian
  • Homebridge Version: 0.4.46
  • NodeJS Version: v10.15.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.