Risco local binding [4.1.0;5.0.0)

risco

This binding is for the Risco alarm panels.
The development/test has been performed on a LightSysPlus panel but Agility, LightSys and ProSysPlus panels should be working too.

The communication to the panel is only local via IP.

Changelog

Version 0.1

  • Initial release
  • Discovery, status updates, Zone bypass are working.

Version 0.2

  • Internal message handling improvement
  • Preliminary support for arming and disarming

Version 0.3

Version 0.4

  • Republished. 0.3 was not working correctly

Version 0.5

  • Marked advanced channels as advanced

Version 0.6

  • Renamed “system” thing to “panel”
  • Added semantic properties “OpenState” and “LowBattery” to relevant channels

Version 0.7

  • Correct channels not updating

Version 0.8

  • Add actions to Partition and Zone

Resources

Jar
Source risco branch

Instructions

First the binding need to be added to the openhab installation.
On the Settings page, press on “Community Marketplace”

Enable both “Enable Community Marketplace” and “Show Unpublished Entries”.

Press on “Add-on Store”

Scroll down to the “Community Marketplace”, locate the “Risco local binding” entry and press install.

On the Settings → Things page, press the “+” Button on the lower right corner.

Select the “Risco local binding”.

Select the “Risco Bridge”

Fill-in the Hostname or the IP address.

Resulting Things List.

If the Risco Bridge is not getting ONLINE, probably some of the Bridge default settings values need adjustment.
With the Bridge ONLINE, press again on the “+” button in the lower right corner and select the Risco local binding.

In the next screen press the Scan button.

As a result, all the discovered things will be in your Inbox.

2 Likes

hey just tried your binding but i dont get anything in the ui but the binding is there in list

281 │ Active │  80 │ 4.1.0.202309021036     │ openHAB Add-ons :: Bundles :: risco Binding

any chance for some documentations about it ? or do it need openhab 4.1 ?

Hi @stamate_viorel,

first you have to create the “Risco Bridge” manually.
Settings → Things. Press on the + (Plus) Sign. Select the risco binding. Click on “Risco Bridge” in the “Add Manually” list.
There you are presented with the config parameters you have to enter.

  • IP address of the panel
  • The port (default: 1000)
  • The panel id (default: 1)
  • The communication password (default: 5678)
  • The communication encoding (default: utf-8)
  • The initial connection delay (default: 0)

Except the first setting (IP address) the rest of the settings have the default values pre-specified.

Hey thanks for the reply. Well I don’t know for the life of me why but there is no binding to select in the ui. I even clean the cache everything but your binding doesn’t show up. I think I have some knowledge about openhab but I do not find any sign of your binding except the karaf console.
But I am glad someone is actually working on this.

You need for sure openhab 4. I only tested with 4.1 :slight_smile:
That’s the reason the marketplace binding is in alpha state and not yet published…

I also can’t get it to work on 4.1
It’s active when I list it in the console
280 │ Active │ 80 │ 4.1.0.202310291653 │ org.openhab.binding.risco

But I’m unable to create a bridge, the addon is completely not visible in the GUI. Also cleaning the cache did not help unfortunately.

These are some of the logs from the openhab log file:

2024-02-18 13:37:26.004 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : BundleComponentActivator : ComponentHolder created.

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Dependency Manager created osgi.ds.satisfying.conditioninterface=org.osgi.service.condition.Condition, filter=(osgi.condition.id=true), policy=dynamic, cardinality=1…1, bind=null, unbind=null, updated=null, field=null, field-option=null, collection-type=null, parameter=null

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Component created: DS=DS14, implementation=org.openhab.binding.risco.internal.handler.RiscoHandlerFactory, immediate=false, default-enabled=true, factory=null, configuration-policy=optional, activate=activate, deactivate=deactivate, modified=null configuration-pid=[binding.risco]

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Component Services: scope=singleton, services=[org.openhab.core.thing.binding.ThingHandlerFactory]

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Component Properties: {osgi.ds.satisfying.condition.target=(osgi.condition.id=true)}

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Querying state disabled

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Querying state disabled

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Component can not be activated since it is in state disabled

2024-02-18 13:37:26.005 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory] : Querying state disabled

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Updating target filters

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : No existing service listener to unregister for dependency osgi.ds.satisfying.condition

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Setting target property for dependency osgi.ds.satisfying.condition to (osgi.condition.id=true)

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : New service tracker for osgi.ds.satisfying.condition, initial active: false, previous references: {}, classFilter: (objectClass=org.osgi.service.condition.Condition), initialReferenceFilter (&(objectClass=org.osgi.service.condition.Condition)(osgi.condition.id=true))

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : dm osgi.ds.satisfying.condition tracker reset (closed)

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : dm osgi.ds.satisfying.condition tracking 1 SingleDynamic added {org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true} (enter)

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : dm osgi.ds.satisfying.condition tracking 1 SingleDynamic added {org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true} (exit)

2024-02-18 13:37:26.006 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : dm osgi.ds.satisfying.condition tracker opened

2024-02-18 13:37:26.007 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : registering service listener for dependency osgi.ds.satisfying.condition

2024-02-18 13:37:26.007 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Changed state from disabled to unsatisfiedReference

2024-02-18 13:37:26.007 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Component enabled

2024-02-18 13:37:26.007 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : ActivateInternal

2024-02-18 13:37:26.007 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Querying state unsatisfiedReference

2024-02-18 13:37:26.007 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Querying state unsatisfiedReference

2024-02-18 13:37:26.008 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Activating component from state unsatisfiedReference

2024-02-18 13:37:26.008 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Querying state unsatisfiedReference

2024-02-18 13:37:26.008 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Querying state unsatisfiedReference

2024-02-18 13:37:26.008 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Changed state from unsatisfiedReference to satisfied

2024-02-18 13:37:26.008 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : registration change queue [registered]

2024-02-18 13:37:26.009 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Checking constructor public org.openhab.binding.risco.internal.handler.RiscoHandlerFactory()

2024-02-18 13:37:26.009 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Found constructor with 0 arguments : public org.openhab.binding.risco.internal.handler.RiscoHandlerFactory()

2024-02-18 13:37:26.009 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : This thread collected dependencies

2024-02-18 13:37:26.009 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : getService (single component manager) dependencies collected.

2024-02-18 13:37:26.009 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Querying state satisfied

2024-02-18 13:37:26.011 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Querying state satisfied

2024-02-18 13:37:26.011 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : For dependency osgi.ds.satisfying.condition, optional: false; to bind: [[RefPair: ref: [{org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true}] service: [null]]]

2024-02-18 13:37:26.012 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : getting activate: activate

2024-02-18 13:37:26.012 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Locating method activate in class org.openhab.binding.risco.internal.handler.RiscHandlerFactory

2024-02-18 13:37:26.012 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Declared Method org.openhab.binding.risco.internal.handler.RiscoHandlerFactory.activate([interface org.osgi.service.component.ComponentContext]) not found

2024-02-18 13:37:26.012 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Locating method activate in class org.openhab.core.thing.binding.BaseThingHandlerFactory

2024-02-18 13:37:26.012 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Found activate method: protected void org.openhab.core.thing.binding.BaseThingHandlerFactory.activate(org.osgi.service.component.ComponentContext)

2024-02-18 13:37:26.012 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.manager.ComponentContextImpl]

2024-02-18 13:37:26.013 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : invoked activate: activate

2024-02-18 13:37:26.013 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Set implementation object for component

2024-02-18 13:37:26.013 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.1.0.202310291653 (280)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(380)] : Changed state from satisfied to active

Any advice?

Hello @stevendp,

i just installed everything from scratch.
You are correct it is not working for me either.

I published again the latest build, as it is running on my dev system.
Installed from the marketplace on a new installation.

It seems to be working.

Hi jossuar,

Many thanks for looking into this. But also with this new addon, I still can’t select the irisco binding when trying to add a Thing, to add a bridge.

Although it’s loading it as I can see from the logs:

2024-02-23 17:13:43.564 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Querying state unsatisfiedReference

2024-02-23 17:13:43.564 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Activating component from state unsatisfiedReference

2024-02-23 17:13:43.564 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Querying state unsatisfiedReference

2024-02-23 17:13:43.564 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Querying state unsatisfiedReference

2024-02-23 17:13:43.564 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Changed state from unsatisfiedReference to satisfied

2024-02-23 17:13:43.564 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : registration change queue [registered]

2024-02-23 17:13:43.565 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Checking constructor public org.openhab.binding.risco.internal.handler.RiscoHandlerFactory()

2024-02-23 17:13:43.565 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Found constructor with 0 arguments : public org.openhab.binding.risco.internal.handler.RiscoHandlerFactory()

2024-02-23 17:13:43.565 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : This thread collected dependencies

2024-02-23 17:13:43.566 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : getService (single component manager) dependencies collected.

2024-02-23 17:13:43.566 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Querying state satisfied

2024-02-23 17:13:43.566 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Querying state satisfied

2024-02-23 17:13:43.566 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : For dependency osgi.ds.satisfying.condition, optional: false; to bind: [[RefPair: ref: [{org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true}] service: [null]]]

2024-02-23 17:13:43.566 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : getting activate: activate

2024-02-23 17:13:43.566 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Locating method activate in class org.openhab.binding.risco.internal.handler.RiscoHandlerFactory

2024-02-23 17:13:43.567 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Declared Method org.openhab.binding.risco.internal.handler.RiscoHandlerFactory.activate([interface org.osgi.service.component.ComponentContext]) not found

2024-02-23 17:13:43.567 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Locating method activate in class org.openhab.core.thing.binding.BaseThingHandlerFactory

2024-02-23 17:13:43.571 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Found activate method: protected void org.openhab.core.thing.binding.BaseThingHandlerFactory.activate(org.osgi.service.component.ComponentContext)

2024-02-23 17:13:43.571 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.manager.ComponentContextImpl]

2024-02-23 17:13:43.572 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : invoked activate: activate

2024-02-23 17:13:43.572 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Set implementation object for component

2024-02-23 17:13:43.572 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(378)] : Changed state from satisfied to active

Anything else I can try?

kind regards

Steven

Hi Steven,

i added some instructions, to the first post in the thread.
Also, which alarm panel model do you got?

Hi Jossuar,

Thanks, but I’m not even getting the option to choose the Risco binding. When I click the + sign in the things page, the risco binding is not there. All the other bindings are.

Although, from the openhab logs, you can see it is loading.
2024-02-25 13:49:39.668 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Activating component from state unsatisfiedReference

2024-02-25 13:49:39.669 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Querying state unsatisfiedReference

2024-02-25 13:49:39.669 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Querying state unsatisfiedReference

2024-02-25 13:49:39.669 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Changed state from unsatisfiedReference to satisfied

2024-02-25 13:49:39.669 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : registration change queue [registered]

2024-02-25 13:49:39.682 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Checking constructor public org.openhab.binding.risco.internal.handler.RiscoHandlerFactory()

2024-02-25 13:49:39.683 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Found constructor with 0 arguments : public org.openhab.binding.risco.internal.handler.RiscoHandlerFactory()

2024-02-25 13:49:39.683 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : This thread collected dependencies

2024-02-25 13:49:39.683 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : getService (single component manager) dependencies collected.

2024-02-25 13:49:39.683 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Querying state satisfied

2024-02-25 13:49:39.683 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Querying state satisfied

2024-02-25 13:49:39.684 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : For dependency osgi.ds.satisfying.condition, optional: false; to bind: [[RefPair: ref: [{org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true}] service: [null]]]

2024-02-25 13:49:39.684 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : getting activate: activate

2024-02-25 13:49:39.684 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Locating method activate in class org.openhab.binding.risco.internal.handler.RiscoHandlerFactory

2024-02-25 13:49:39.684 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Declared Method org.openhab.binding.risco.internal.handler.RiscoHandlerFactory.activate([interface org.osgi.service.component.ComponentContext]) not found

2024-02-25 13:49:39.684 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Locating method activate in class org.openhab.core.thing.binding.BaseThingHandlerFactory

2024-02-25 13:49:39.685 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Found activate method: protected void org.openhab.core.thing.binding.BaseThingHandlerFactory.activate(org.osgi.service.component.ComponentContext)

2024-02-25 13:49:39.685 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.manager.ComponentContextImpl]

2024-02-25 13:49:39.685 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : invoked activate: activate

2024-02-25 13:49:39.685 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Set implementation object for component

2024-02-25 13:49:39.685 [DEBUG] [internal.handler.RiscoHandlerFactory] - bundle org.openhab.binding.risco:4.2.0.202402201740 (283)[org.openhab.binding.risco.internal.handler.RiscoHandlerFactory(356)] : Changed state from satisfied to active

Hi Steven,

Which openhab version do you have installed?
How do you have added the binding to your installation?
What is the model of your alarm panel?

Hi Jossuar,

This is the version: openHAB 4.1.1
I’ve added it in /usr/share/openhab/addons
-rwxr-xr-x 1 openhab openhab 158373 Feb 23 17:10 org.openhab.binding.risco-4.2.0-SNAPSHOT.jar

As we can see from the logs, it’s gets loaded.

Is there anything else I need to do to install the binding?
I don’t think the model of the alarm should matter, as I can’t even get the option to add a Risco Bridge.

Many thanks again for the help!

kind regards,

Steven

Hi Steven,

no there should not be anything else needed.

I did test the installation, by installing directly from the community marketplace.
I have added to the first post the binding installation process.

If you add the binding from the marketplace, delete it first from the addons folder.

Also can you execute

bundle:list | grep risco

from the console.

Below is the result on my installation

openhab> bundle:list | grep risco
256 x Active x  80 x 4.2.0.202402201740     x openHAB Add-ons :: Bundles :: risco Binding

Hi Jossuar,

Deleting it and installing it form the community marketplace did the trick! Thanks for your help!

kind regards,

Steven

Hi Steven,

please give some feedback, what is working and what not, if you have any issue, suggestion, etc. Thanks.

Thanks Jossuar,

I’m just using it to read out the contacts at the doors and it works well! Great work!
It does worry me that you have to fill in panel password. I don’t know if there is not a more secure option with keys or certificates?

kr

Steven

Hi Steven,

unfortunately i do not know of any other connection method.