Hey so i have 1 problem and 1 question.
Problem first: i have the satel binding installed and set the cfg file with ip&port(no encryption),
problem is as soon as OH is connected to the satel it closes the connection.
log:
12:12:55.537 [INFO ] [.satel.internal.protocol.Ethm1Module] - Connecting to ETHM-1 module at 192.168.91.100:7090
12:12:55.548 [INFO ] [.satel.internal.protocol.Ethm1Module] - ETHM-1 module connected successfully
12:12:55.563 [INFO ] [.satel.internal.protocol.Ethm1Module] - Closing connection to ETHM-1 module
12:12:56.536 [INFO ] [.satel.internal.protocol.Ethm1Module] - Connecting to ETHM-1 module at 192.168.91.100:7090
12:12:56.546 [INFO ] [.satel.internal.protocol.Ethm1Module] - ETHM-1 module connected successfully
12:12:56.564 [INFO ] [.satel.internal.protocol.Ethm1Module] - Closing connection to ETHM-1 module
12:12:57.536 [INFO ] [.satel.internal.protocol.Ethm1Module] - Connecting to ETHM-1 module at 192.168.91.100:7090
12:12:57.547 [INFO ] [.satel.internal.protocol.Ethm1Module] - ETHM-1 module connected successfully
12:12:57.564 [INFO ] [.satel.internal.protocol.Ethm1Module] - Closing connection to ETHM-1 module
12:12:58.537 [INFO ] [.satel.internal.protocol.Ethm1Module] - Connecting to ETHM-1 module at 192.168.91.100:7090
12:12:58.549 [INFO ] [.satel.internal.protocol.Ethm1Module] - ETHM-1 module connected successfully
12:12:58.566 [INFO ] [.satel.internal.protocol.Ethm1Module] - Closing connection to ETHM-1 module
12:12:59.537 [INFO ] [.satel.internal.protocol.Ethm1Module] - Connecting to ETHM-1 module at 192.168.91.100:7090
12:12:59.549 [INFO ] [.satel.internal.protocol.Ethm1Module] - ETHM-1 module connected successfully
12:12:59.565 [INFO ] [.satel.internal.protocol.Ethm1Module] - Closing connection to ETHM-1 module
12:13:00.537 [INFO ] [.satel.internal.protocol.Ethm1Module] - Connecting to ETHM-1 module at 192.168.91.100:7090
12:13:00.548 [INFO ] [.satel.internal.protocol.Ethm1Module] - ETHM-1 module connected successfully
12:13:00.565 [INFO ] [.satel.internal.protocol.Ethm1Module] - Closing connection to ETHM-1 module
My question am i missing somtehing in some config,or how can i stop it from closing the connection?
My question if i have the satel binding running(hopefully sometime), how do differentiate the different items of the satel.
In my case i’d like to check on the status of different door/window contacts. I’ve read that i can create items for doors like the example from the satel doc
I found one more place in the code where we might be terminating and added a new log message there. I also updated the start method to show this DEBUG message:
Satel binding has been started using special version 20170725T2153.
uninstalled the action and binding from the paperui pasted your snapshort into the addons folder restartet the server
On startup:
14:59:34.867 [INFO ] [.internal.GenericScriptEngineFactory] - Activated scripting support for ECMAScript
14:59:34.981 [DEBUG] [org.openhab.binding.exec ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.openhab.binding.exec.internal.ExecHandlerFactory, component.id=20, service.id=121, service.bundleid=201, service.scope=bundle} - org.openhab.binding.exec
14:59:34.983 [DEBUG] [org.openhab.binding.exec ] - BundleEvent STARTING - org.openhab.binding.exec
14:59:34.983 [DEBUG] [org.openhab.binding.exec ] - BundleEvent STARTED - org.openhab.binding.exec
14:59:34.987 [DEBUG] [org.openhab.binding.exec ] - BundleEvent [unknown:512] - org.openhab.binding.exec
14:59:35.291 [ERROR] [org.openhab.action.satel ] - FrameworkEvent ERROR - org.openhab.action.satel
org.osgi.framework.BundleException: Could not resolve module: org.openhab.action.satel [226]
Unresolved requirement: Import-Package: org.openhab.binding.satel
-> Export-Package: org.openhab.binding.satel; bundle-symbolic-name="org.openhab.binding.satel"; bundle-version="1.11.0.201707260153"; version="0.0.0"
org.openhab.binding.satel [228]
Unresolved requirement: Import-Package: gnu.io
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
and
15:00:20.027 [ERROR] [org.openhab.binding.satel ] - FrameworkEvent ERROR - org.openhab.binding.satel
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.satel [228]
Unresolved requirement: Import-Package: gnu.io
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
furthermore it stopped the repeating connection process
EDIT:
i just checked the status of these bindings they dont appear to be active
Have you tried restarting OH? If a couple restarts doesn’t change anything, check the status of the openhab-transport-serial feature, and install it if it’s not running. I profer this suggestion based on this thread that was reporting the gnu.io error.
07:33:49.554 [ERROR] [org.openhab.action.satel ] - FrameworkEvent ERROR - org.openhab.action.satel
org.osgi.framework.BundleException: Could not resolve module: org.openhab.action.satel [226]
Unresolved requirement: Import-Package: org.openhab.binding.satel
-> Export-Package: org.openhab.binding.satel; bundle-symbolic-name="org.openhab.binding.satel"; bundle-version="1.11.0.201707260153"; version="0.0.0"
org.openhab.binding.satel [228]
Unresolved requirement: Import-Package: gnu.io
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
and this,
07:34:47.495 [ERROR] [org.openhab.binding.satel ] - FrameworkEvent ERROR - org.openhab.binding.satel
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.satel [228]
Unresolved requirement: Import-Package: gnu.io
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
after i installed the feature i restarted and got these on startup
Using wireshark to sniff but cant really read the things sent (not human readable)
but maybe you can get more information out of it. for me it seems like everything is fine if i wouldnt know better since OH sends and receives messages.