[BTicino/OpenWebNet] New openHAB2 binding ready for testing

bticino
openhab2
openwebnet
Tags: #<Tag:0x00007fe063722450> #<Tag:0x00007fe0637222c0> #<Tag:0x00007fe063722158>

(Massimo) #285

Hi Giuseppe, which address are your Automation things that have been seen as Switches? Which BTicino models are they? If in your plant you have connected the shutters to BTicino switches than it’s possible that they are discovered as switches…

If you want to try manual configuration you should first delete the found things fromUI, then create a new .things file in the conf directory that on RaPi should be under: /etc/openhab2/things
(look first to the docs of openHAB before asking these basic questions…)
You can find some examples of .things file configuration in the binding README.

Bye
Massi


(Michele) #286

Hi Massimo,
thank you so much.
I ran tests:

[FIX #25] OK
[FIX #10] OK
[FIX #16]
If set 40% after OFF and ON, it lights up to 40%
If set 50% after OFF and ON lights up to 50%
If set 80% after OFF and ON it turns on at 80%
If set to 48% after OFF and ON lights up to 40%
If set 82% after OFF and ON it turns on at 80%
If I set 88% after OFF and ON it turns on at 80%
As if you are rounding to the bottom decimal


(Michele) #287

Hi Massimo,

when does your Openwebnet become official on Openhab?
What do you think about FIX 22?
I look forward to it :grinning:

Thank you


(Giuseppe ) #288

Thank you Massimo,
I’ve configured manually every automations by UI of OpenHab. Now all lights were successfully configured in google home, but the automation are not displayed even if things are working in Paper UI. Do you know why?

After that i’ve to understand how to create rules for scenarios.

Thanks again
regards
Giuseppe


(Michele) #289

Hi Giuseppe,


(Massimo) #290

Automations are not currently supported in the Google Home - openHAB integration, they will be in upcoming releases of OH. see here for what is supported: https://www.openhab.org/docs/ecosystem/google-assistant/
bye
m


(Massimo) #291

Yes, right now dimmer states, even for 100-levels dimmers, are rounded to tens.
But there is already an issue open to support 1%-steps for dimmers that support it.

it will be the next step after CEN/CEN+ basic support.
See milestones on GitHub for some draft ordering (of course, subject to changes!).

bye
m


(Michele) #292

Hi Massimo,
you are doing a great job!
Reflect on my request “Conversion” fix22 because, in my opinion, it could cover all the special functions (GEN, AUX, CEN, CEN +, GR), not easy clarification for all users with the inclusion of Openwebnet code.
But it could be useful immediately to unlock many exigencies, see my examples in the issues.
Excuse my English, I’m Italian and I do not know him well.

I’d like to know what other users think about it

Thank you


(Giuseppe ) #293

Ok, thanks, is there any workaround that we can use meanwhile new OpenHab will be released?


(med tirr) #294

Is there any information about MH201 support?

Do you see any incompatibility that will prevent its usage as gateway?


(Arnaud) #295

Hello,
MH201 is a special gateway for hotel room management
Regards


(med tirr) #296

Do you see any technical issue in the usage of such device as Gateway?
Since it offers IP connectivity and the possibility to send OpenWebNet command.


(Massimo) #297

If the documentation says it supports OpenWebNet I would suggest to test it.
A very quick test you can do is from you PC use the official BTicino OpenWebNet client (search earlier in this thread for links) and try to connect to your gateway using its IP address and password.
If you are able to connect with that client , then you should be able to connect it with openHAB and this binding.
Bye
M


(Massimo) #298

This is not strictly related to the binding: I suggest you Look for other threads in the forum: someone is suggesting to Configure Shutters as dimmers…
M


(Christian) #299

Continuing the discussion from [BTicino/OpenWebNet] New openHAB2 binding ready for testing:

Hi, I hope to give my feedback for openWebNet binding. I used MyHome server1 as gateway, with 60 device.
My problem is born 2 day ago that all device type [Roller Shutter] produce an error. I removed all Things this type but now i cant add new device because into inbox is empty and a new scan produce error under log…

Who can help me to resolve this problem.

Thx all and nice day.

2018-11-16 20:51:17.220 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*011##
2018-11-16 20:51:17.223 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*012##
2018-11-16 20:51:17.226 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*062##
2018-11-16 20:51:17.229 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*021##
2018-11-16 20:51:17.232 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*031##
2018-11-16 20:51:17.235 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*032##
2018-11-16 20:51:17.238 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*041##
2018-11-16 20:51:17.241 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*042##
2018-11-16 20:51:17.245 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*051##
2018-11-16 20:51:17.248 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*052##

(Massimo) #300

Hi Christian,
Can you edit your message and copy again the log with the errors but using “code fences” (is one if the buttons at the top of the message editing window)
M


(Christian) #302

Hi all, yesterday i reinstalled all the software ( Raspberry Pi) and i reset everythink.
I had many problems

  1. There was an error during the MarketplaceProxy installation
2018-11-17 15:07:36.702 [WARN ] [arketplace.internal.MarketplaceProxy] - Failed downloading Marketplace entries:  : Received fatal alert: handshake_failure
2018-11-17 15:07:36.712 [WARN ] [arketplace.internal.MarketplaceProxy] - Retrying again in a minute

I resolved the download problem here and i copied these files into folder /usr/lib/jvm/zulu-embedded-8-armhf/jre/lib/security.

Second step I tried to install OpenWebNet but i saw another error:

2018-11-17 17:45:25.449 [WARN ] [ace.internal.BindingExtensionHandler] - Installed bundle, but failed to start it: Could not resolve module: org.openhab.binding.openwebnet [225]
  Unresolved requirement: Import-Package: org.eclipse.jdt.annotation; resolution:="optional"
  Unresolved requirement: Import-Package: org.osgi.service.component.annotations; resolution:="optional"
  Unresolved requirement: Import-Package: gnu.io

I resolved this error by using the Karaf console by the command line “feature:install openhab-transport-serial”.

But after I fixed that there was a new error:

2018-11-17 18:39:00.141 [ERROR] [org.openhab.binding.openwebnet      ] - [org.openhab.binding.openwebnet.internal.OpenWebNetHandlerFactory] Cannot register Component
org.osgi.service.component.ComponentException: The component name 'org.openhab.binding.openwebnet.internal.OpenWebNetHandlerFactory' has already been registered by Bundle 232 (org.openhab.binding.openwebnet) as Component of Class org.openhab.binding.openwebnet.internal.OpenWebNetHandlerFactory
	at org.apache.felix.scr.impl.ComponentRegistry.checkComponentName(ComponentRegistry.java:222) ~[?:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:448) ~[?:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:315) ~[?:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:268) ~[?:?]
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:388) ~[?:?]
	at org.apache.felix.scr.impl.Activator.access$200(Activator.java:54) ~[?:?]
	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:265) ~[?:?]
	at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:254) ~[?:?]
	at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:227) ~[?:?]
	at org.apache.felix.utils.extender.AbstractExtender.addingBundle(AbstractExtender.java:187) ~[?:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469) ~[?:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415) ~[?:?]
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[?:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[?:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) ~[?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) ~[?:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) ~[?:?]
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) ~[?:?]
	at org.eclipse.osgi.container.Module.doStart(Module.java:578) ~[?:?]
	at org.eclipse.osgi.container.Module.start(Module.java:449) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402) ~[?:?]
	at org.eclipse.smarthome.extensionservice.marketplace.internal.BindingExtensionHandler.install(BindingExtensionHandler.java:88) ~[?:?]
	at org.eclipse.smarthome.extensionservice.marketplace.internal.MarketplaceExtensionService.install(MarketplaceExtensionService.java:243) ~[?:?]
	at org.eclipse.smarthome.io.rest.core.internal.extensions.ExtensionResource.lambda$0(ExtensionResource.java:157) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

I resoved this problem by the karaf console through the “clean cache” command .
I now have installed OpenWebNet and i added 1 gateway myhome server1 without any problems, and i added 3 device type switches.
The day after there was a new error:

2018-11-17 19:25:02.955 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*41## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 19:30:59.374 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$UnmodifiableCollection, genericType=class java.util.Collections$UnmodifiableCollection.
2018-11-17 19:31:03.404 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$EmptySet, genericType=class java.util.Collections$EmptySet.
2018-11-17 19:31:35.660 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/plain, type=class java.util.Collections$EmptySet, genericType=class java.util.Collections$EmptySet.
2018-11-17 20:51:13.713 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 20:51:13.797 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-17 20:51:13.896 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 20:51:13.977 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-17 20:51:14.029 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 20:51:14.086 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-17 21:01:14.328 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 21:01:14.432 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-17 22:21:24.046 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 22:21:24.147 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-17 22:21:24.217 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 22:21:24.327 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-17 22:21:24.390 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-17 22:21:24.487 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 00:00:30.145 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:575a2a34
2018-11-18 00:01:31.677 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 00:01:31.779 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 01:11:43.263 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:11:43.365 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 01:11:43.423 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:11:43.505 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 01:11:43.585 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:11:43.665 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 01:31:44.327 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:31:44.418 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 01:41:45.148 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:41:45.251 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 01:41:45.314 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:41:45.392 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 01:41:45.472 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 01:41:45.554 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 02:31:48.456 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 02:31:48.552 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 02:41:48.952 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 02:41:49.037 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 02:41:49.132 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 02:41:49.214 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 02:41:49.295 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 02:41:49.374 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#2*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#2
2018-11-18 02:51:50.877 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 02:51:50.974 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*21## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 07:58:47.837 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 07:58:48.401 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 07:58:49.666 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*32## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 07:58:51.559 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 07:58:52.125 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 07:58:53.419 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*31## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 07:59:04.843 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*12## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 07:59:05.408 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*12## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 07:59:09.416 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*11## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 07:59:09.978 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*11## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 09:26:15.399 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*42## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 09:26:15.946 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*42## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 09:26:18.076 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*51## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 09:26:18.634 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*51## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 09:26:21.363 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*52## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 09:26:21.916 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*52## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1
2018-11-18 09:26:41.365 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*51## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 09:34:30.382 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#0*41## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#0
2018-11-18 09:34:30.934 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *2*1000#1*41## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 1000#1

I dont know how to resolve this error and why this happens.

I hope someone can help me to understand the problem.

Thx


(stefan) #303

just filtered log for “invalid frame” and see errors:

2018-11-18 11:06:16.452 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:17.952 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*07#4#02## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:19.481 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:20.562 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*07#4#02## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:22.533 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:25.570 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:28.573 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:31.617 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:50.321 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*0011#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:53.378 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*0011#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:55.869 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*0011#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:06:58.911 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*0011#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:33:19.257 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:33:22.114 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:33:25.145 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:33:40.923 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:33:43.623 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

2018-11-18 11:33:46.645 [ERROR] [penwebnet.message.OpenMessageFactory] - ##openwebnet## INVALID FRAME: *1*34*03#4#01## exception: java.lang.IllegalArgumentException: unsupported WHAT for frame: 34

but this addresses are my presence-detectors that are not implemented yet (cen-commands) so i don´t think it is a problem.

rollershutters and automation are working normally here.

best stefan


(Luciano) #304

Hi Massi,
wonderful binding. I’m testing it on OH2 2.3.0 with bTicino MyHomeServer1 and it works fine. I have only one issue: on startup I get several items that are in state “UNKNOWN” or “UNDEF”. First time I interact with the item it goes to a known state. This preventing me to persist some item statuses which I need, as they do are not recorded until they come to a known state.
I have set up things and items in files as PaperUI was duplicating things and I had to get rid of it.

Any help?
thanks.


(Michele) #305

I ran some with tests with expire, but it does not work.

Switch Luce_sala “Sala” (Living, Lights) [ “Lighting” ] {channel=“openwebnet:bus_on_off_switch:mybridge:mylig_sala:switch” , expire=“5s,command=OFF”}

Link expire

Am I wrong?