Broadlink / Floureon/Hysen-Thermostat Binding

What is also a bit weird, that I can for instance enable or disable the display of the thermostats in paper ui and the thermostats react almost instantly to that.
But the temperature reading never changes in openhab.

I haven’t had time to look at it, but my first impression is that the scheduled job does only run once. In your log, near the successful execution of the reading there is e.g. a “Refreshing model
” which indicates that maybe an explicit refresh-trigger is called - but not the time-based scheduling every minute
 I will extend the binding with more debug logging in the next days, maybe this will bring more hints.

Oh I’m such an idiot

I had just a typo and referenced the same item to different channels 

Doesn’t get very clear when looking at the debug output though

But yeah
 They work really nice now and it seems also pretty stable.
I’ll keep an eye on it over the coming week but it already feels much better than the python script thing I used in the past :slight_smile:
Thanks again for sharing this nice binding :slight_smile:

2019-10-19 00:43:34.571 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:wohnung1

	at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:133) ~[?:?]

	at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:72) ~[?:?]

I guess that means mine will not work

I use this one

Not necessarily. Was the thermostat discovered with the discovery, or did you add it manually? If you like, you can enable debug logging (instructions, see above) and send some log-output, then I could have a look.

It looks like the problem with detected thermostats that fail in pulling data is related to the authentication-call. I made a new version which adds a re-authentication attempt - but this is hard for me to reproduce. Feel free to try it out from here: https://github.com/flo-02-mu/openhab2-addons/releases/download/0.1.2-bl/org.openhab.binding.broadlink-2.5.0-SNAPSHOT.jar

I added it manually will turn on debugging and test your new file tonight when I am home thanks for your response

It is also a good idea to reserve an IP address for the flureon devices in your dhcp and prevent them from calling home by denying basically all traffic to WAN from these devices. Because, I don’t know where I read this, but some flureons will refuse to talk to any device once they were able to connect to their own cloud at least once.
But I do this with all cheap crap I buy from china :smiley:

This is very good news! Thanks Florian!

Question: if one buys a compatible thermostat, does anything need to be done to the thermostat (e.g. flashing new firmware, etc) to get it to work with this new binding?

No, as long as the thermostat uses the broadlink protocol it does not need any flashing. But be aware that newer thermostats seem to have totally different hard and software (see other thread linked above).

2019-10-27 02:00:34.668 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

2019-10-27 02:01:08.072 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

2019-10-27 02:01:51.445 [WARN ] [.config.VersionProperties$LazyHolder] - Failed (FileNotFoundException) to load version properties: Resource does not exists

2019-10-27 02:02:45.025 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

2019-10-27 02:03:57.622 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

==> /var/log/openhab2/events.log <==

2019-10-27 02:06:29.524 [.ItemChannelLinkAddedEvent] - Link ‘broadlink_floureonthermostat_08cd31bb_power-broadlink:floureonthermostat:08cd31bb:power’ has been added.

2019-10-27 02:06:29.602 [.ItemChannelLinkAddedEvent] - Link ‘broadlink_floureonthermostat_08cd31bb_mode-broadlink:floureonthermostat:08cd31bb:mode’ has been added.

2019-10-27 02:06:29.610 [.ItemChannelLinkAddedEvent] - Link ‘broadlink_floureonthermostat_08cd31bb_roomtemperature-broadlink:floureonthermostat:08cd31bb:roomtemperature’ has been added.

2019-10-27 02:06:29.620 [.ItemChannelLinkAddedEvent] - Link ‘broadlink_floureonthermostat_08cd31bb_active-broadlink:floureonthermostat:08cd31bb:active’ has been added.

2019-10-27 02:06:29.639 [.ItemChannelLinkAddedEvent] - Link ‘broadlink_floureonthermostat_08cd31bb_setpoint-broadlink:floureonthermostat:08cd31bb:setpoint’ has been added.

2019-10-27 02:06:29.650 [.ItemChannelLinkAddedEvent] - Link ‘broadlink_floureonthermostat_08cd31bb_temperatureoffset-broadlink:floureonthermostat:08cd31bb:temperatureoffset’ has been added.

==> /var/log/openhab2/openhab.log <==

2019-10-27 02:06:40.062 [ERROR] [com.github.mob41.blapi.BLDevice ] - auth Received 0 bytes on initial request.

2019-10-27 02:06:40.134 [WARN ] [.core.thing.binding.BaseThingHandler] - BaseThingHandler.initialize() will be removed soon, ThingStatus can be set manually via updateStatus(ThingStatus.ONLINE)

==> /var/log/openhab2/events.log <==

2019-10-27 02:06:40.137 [hingStatusInfoChangedEvent] - ‘broadlink:floureonthermostat:08cd31bb’ changed from UNINITIALIZED to INITIALIZING

2019-10-27 02:06:40.141 [hingStatusInfoChangedEvent] - ‘broadlink:floureonthermostat:08cd31bb’ changed from INITIALIZING to ONLINE

==> /var/log/openhab2/openhab.log <==

2019-10-27 02:06:51.115 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:73) ~[?:?]

at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:233) ~[?:?]

at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

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) [?:?]

2019-10-27 02:06:52.123 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:73) ~[?:?]

at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:233) ~[?:?]

at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

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) [?:?]

2019-10-27 02:06:53.124 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:73) ~[?:?]

at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:233) ~[?:?]

at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

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) [?:?]

2019-10-27 02:06:54.133 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:73) ~[?:?]

at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:233) ~[?:?]

at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

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) [?:?]

2019-10-27 02:06:55.134 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:73) ~[?:?]

at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:233) ~[?:?]

at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

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) [?:?]

2019-10-27 02:06:56.140 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]

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) [?:?]

2019-10-27 02:07:02.146 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:73) ~[?:?]

at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:233) ~[?:?]

at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]

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) [?:?]

2019-10-27 02:08:06.179 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:08cd31bb

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:134) ~[?:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]

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) [?:?]

==> /var/log/openhab2/events.log <==

2019-10-27 02:08:29.732 [ome.event.ItemCommandEvent] - Item ‘broadlink_floureonthermostat_08cd31bb_mode’ received command auto

2019-10-27 02:08:29.755 [nt.ItemStatePredictedEvent] - broadlink_floureonthermostat_08cd31bb_mode predicted to become auto

2019-10-27 02:08:29.786 [vent.ItemStateChangedEvent] - broadlink_floureonthermostat_08cd31bb_mode changed from NULL to auto

==> /var/log/openhab2/openhab.log <==

2019-10-27 02:08:39.818 [ERROR] [al.handler.FloureonThermostatHandler] - Error while setting power of broadlink:floureonthermostat:08cd31bb to auto

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[206:org.openhab.binding.broadlink:2.5.0.201910201258]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[206:org.openhab.binding.broadlink:2.5.0.201910201258]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.switchToAuto(BaseHysenDevice.java:160) ~[206:org.openhab.binding.broadlink:2.5.0.201910201258]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleModeCommand(FloureonThermostatHandler.java:108) [206:org.openhab.binding.broadlink:2.5.0.201910201258]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:85) [206:org.openhab.binding.broadlink:2.5.0.201910201258]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [102:org.eclipse.smarthome.core:0.10.0.oh240]

at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [102:org.eclipse.smarthome.core:0.10.0.oh240]

at com.sun.proxy.$Proxy139.handleCommand(Unknown Source) [206:org.openhab.binding.broadlink:2.5.0.201910201258]

at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [109:org.eclipse.smarthome.core.thing:0.10.0.oh240]

at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [109:org.eclipse.smarthome.core.thing:0.10.0.oh240]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [102:org.eclipse.smarthome.core:0.10.0.oh240]

at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [102:org.eclipse.smarthome.core:0.10.0.oh240]

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) [?:?]

==> /var/log/openhab2/events.log <==

2019-10-27 02:08:48.450 [ome.event.ItemCommandEvent] - Item ‘broadlink_floureonthermostat_08cd31bb_mode’ received command manual

2019-10-27 02:08:48.463 [nt.ItemStatePredictedEvent] - broadlink_floureonthermostat_08cd31bb_mode predicted to become manual

2019-10-27 02:08:48.475 [vent.ItemStateChangedEvent] - broadlink_floureonthermostat_08cd31bb_mode changed from auto to manual

==> /var/log/openhab2/openhab.log <==

2019-10-27 02:08:58.480 [ERROR] [al.handler.FloureonThermostatHandler] - Error while setting power of broadlink:floureonthermostat:08cd31bb to manual

java.lang.ArrayIndexOutOfBoundsException: 34

at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[206:org.openhab.binding.broadlink:2.5.0.201910201258]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[206:org.openhab.binding.broadlink:2.5.0.201910201258]

at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.switchToManual(BaseHysenDevice.java:165) ~[206:org.openhab.binding.broadlink:2.5.0.201910201258]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleModeCommand(FloureonThermostatHandler.java:110) [206:org.openhab.binding.broadlink:2.5.0.201910201258]

at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.handleCommand(FloureonThermostatHandler.java:85) [206:org.openhab.binding.broadlink:2.5.0.201910201258]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [102:org.eclipse.smarthome.core:0.10.0.oh240]

at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [102:org.eclipse.smarthome.core:0.10.0.oh240]

at com.sun.proxy.$Proxy139.handleCommand(Unknown Source) [206:org.openhab.binding.broadlink:2.5.0.201910201258]

at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [109:org.eclipse.smarthome.core.thing:0.10.0.oh240]

at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [109:org.eclipse.smarthome.core.thing:0.10.0.oh240]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [102:org.eclipse.smarthome.core:0.10.0.oh240]

at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [102:org.eclipse.smarthome.core:0.10.0.oh240]

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 had to add it manually again it seems better than the last time but communication is still not possible

By the way thanks for all of this

I think the debug logging was not active. Could it be that you added the dot at the end of the command? That was not meant to be part of the command, so it should be just
log:set debug org.openhab.binding.broadlink
During discovery there should be a log entry saying s.th. like:
Using source address 192.168.xxx.yyy for sending out broadcast request
If there is a “weird” source address, the broadcast message cannot reach its source.

sorry for that
2019-10-29 22:27:21.486 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.178.57 for sending out broadcast request.

2019-10-29 22:27:51.527 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

2019-10-29 22:31:19.937 [DEBUG] [nk.internal.handler.BroadlinkHandler] - Config properties: Configuration[{key=host; type=String; value=192.168.178.52}, {key=mac; type=String; value=EC:FA:BC:A1:FE:FF}]

2019-10-29 22:31:19.943 [DEBUG] [nk.internal.handler.BroadlinkHandler] - host: 192.168.178.52, mac: EC:FA:BC:A1:FE:FF, deviceDescription: null

2019-10-29 22:31:30.017 [DEBUG] [al.handler.FloureonThermostatHandler] - Command class: class org.eclipse.smarthome.core.types.RefreshType

2019-10-29 22:31:30.019 [DEBUG] [al.handler.FloureonThermostatHandler] - Command class: class org.eclipse.smarthome.core.types.RefreshType

2019-10-29 22:31:30.022 [DEBUG] [al.handler.FloureonThermostatHandler] - Command: REFRESH

2019-10-29 22:31:30.023 [DEBUG] [al.handler.FloureonThermostatHandler] - Command: REFRESH

2019-10-29 22:31:30.031 [DEBUG] [al.handler.FloureonThermostatHandler] - Command class: class org.eclipse.smarthome.core.types.RefreshType

2019-10-29 22:31:30.031 [DEBUG] [al.handler.FloureonThermostatHandler] - Command class: class org.eclipse.smarthome.core.types.RefreshType

2019-10-29 22:31:30.029 [DEBUG] [al.handler.FloureonThermostatHandler] - Command class: class org.eclipse.smarthome.core.types.RefreshType

2019-10-29 22:31:30.035 [DEBUG] [al.handler.FloureonThermostatHandler] - Command: REFRESH

2019-10-29 22:31:30.037 [DEBUG] [al.handler.FloureonThermostatHandler] - Command: REFRESH

2019-10-29 22:31:30.039 [DEBUG] [al.handler.FloureonThermostatHandler] - Command: REFRESH

I did again changes around the authentication
 feel free to try the latest version: https://github.com/flo-02-mu/openhab2-addons/releases/download/0.1.3-bl/org.openhab.binding.broadlink-2.5.0-SNAPSHOT.jar
It contains a few more debugging lines as well.

[quote="flo-02-mu, post:32, topic:81921"]
log:set debug org.openhab.binding.broadlink
[/quote]

    2019-10-31 00:05:17.262 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent STOPPING - org.openhab.binding.broadlink

    2019-10-31 00:05:17.312 [DEBUG] [org.openhab.binding.broadlink       ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=356, service.bundleid=206, service.scope=bundle, component.name=org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory, component.id=214} - org.openhab.binding.broadlink

    2019-10-31 00:05:17.358 [DEBUG] [org.openhab.binding.broadlink       ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=357, service.bundleid=206, service.scope=bundle, component.name=org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService, component.id=215} - org.openhab.binding.broadlink

    2019-10-31 00:05:17.391 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent STOPPED - org.openhab.binding.broadlink

    2019-10-31 00:05:17.440 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent UNRESOLVED - org.openhab.binding.broadlink

    2019-10-31 00:05:17.866 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent UNINSTALLED - org.openhab.binding.broadlink

    2019-10-31 00:06:28.223 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent INSTALLED - org.openhab.binding.broadlink

    2019-10-31 00:06:28.604 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent RESOLVED - org.openhab.binding.broadlink

    2019-10-31 00:06:28.626 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent STARTING - org.openhab.binding.broadlink

    2019-10-31 00:06:28.637 [DEBUG] [org.openhab.binding.broadlink       ] - BundleEvent STARTED - org.openhab.binding.broadlink

    2019-10-31 00:06:28.801 [DEBUG] [org.openhab.binding.broadlink       ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=360, service.bundleid=207, service.scope=bundle, component.name=org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory, component.id=218} - org.openhab.binding.broadlink

    2019-10-31 00:06:28.842 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.178.57 for sending out broadcast request.

    2019-10-31 00:06:58.921 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

    2019-10-31 00:06:58.930 [DEBUG] [org.openhab.binding.broadlink       ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=361, service.bundleid=207, service.scope=bundle, component.name=org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService, component.id=219} - org.openhab.binding.broadlink

    2019-10-31 00:08:38.338 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.178.57 for sending out broadcast request.

    2019-10-31 00:09:08.377 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.

2019-10-31 00:13:00.266 [DEBUG] [nk.internal.handler.BroadlinkHandler] - Config properties: Configuration[{key=host; type=String; value=192.168.178.52}, {key=mac; type=String; value=EC:FA:BC:A1:FE:FF}]

2019-10-31 00:13:00.272 [DEBUG] [nk.internal.handler.BroadlinkHandler] - host: 192.168.178.52, mac: EC:FA:BC:A1:FE:FF, deviceDescription: null

2019-10-31 00:13:00.346 [DEBUG] [nk.internal.handler.BroadlinkHandler] - Authenticating with broadlink device Floureon Thermostat...

==> /var/log/openhab2/events.log <==

2019-10-31 00:13:00.137 [.ItemChannelLinkAddedEvent] - Link 'broadlink_floureonthermostat_97597f2c_power-broadlink:floureonthermostat:97597f2c:power' has been added.

2019-10-31 00:13:00.150 [.ItemChannelLinkAddedEvent] - Link 'broadlink_floureonthermostat_97597f2c_mode-broadlink:floureonthermostat:97597f2c:mode' has been added.

2019-10-31 00:13:00.160 [.ItemChannelLinkAddedEvent] - Link 'broadlink_floureonthermostat_97597f2c_roomtemperature-broadlink:floureonthermostat:97597f2c:roomtemperature' has been added.

2019-10-31 00:13:00.172 [.ItemChannelLinkAddedEvent] - Link 'broadlink_floureonthermostat_97597f2c_active-broadlink:floureonthermostat:97597f2c:active' has been added.

2019-10-31 00:13:00.183 [.ItemChannelLinkAddedEvent] - Link 'broadlink_floureonthermostat_97597f2c_setpoint-broadlink:floureonthermostat:97597f2c:setpoint' has been added.

2019-10-31 00:13:00.192 [.ItemChannelLinkAddedEvent] - Link 'broadlink_floureonthermostat_97597f2c_temperatureoffset-broadlink:floureonthermostat:97597f2c:temperatureoffset' has been added.

2019-10-31 00:13:00.321 [hingStatusInfoChangedEvent] - 'broadlink:floureonthermostat:97597f2c' changed from UNINITIALIZED to INITIALIZING

==> /var/log/openhab2/openhab.log <==

2019-10-31 00:13:05.370 [WARN ] [core.thing.internal.ThingManagerImpl] - Initializing handler for thing 'broadlink:floureonthermostat:97597f2c' takes more than 5000ms.

2019-10-31 00:13:10.396 [ERROR] [com.github.mob41.blapi.BLDevice     ] - auth Received 0 bytes on initial request.

2019-10-31 00:13:20.444 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:97597f2c

java.lang.ArrayIndexOutOfBoundsException: 34

	at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]

	at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]

	at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:132) ~[?:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]

	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]

	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]

	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) [?:?]

This Time its stuck with Status: INITIALIZING

Is the device actually reachable from your openhab-host? Can you try a
ping -c5 192.168.178.52
from the machine that is runing openhab?
You could also switch on the debug-logging for the broadlink-library itself, with
log:set debug com.github.mob41.blapi
but I am pretty sure that the authentication call just times out after 10 seconds.

yes I can

ping -c5 192.168.178.52
PING 192.168.178.52 (192.168.178.52) 56(84) bytes of data.
64 bytes from 192.168.178.52: icmp_seq=1 ttl=255 time=3.25 ms
64 bytes from 192.168.178.52: icmp_seq=2 ttl=255 time=3.15 ms
64 bytes from 192.168.178.52: icmp_seq=3 ttl=255 time=3.49 ms
64 bytes from 192.168.178.52: icmp_seq=4 ttl=255 time=3.16 ms
64 bytes from 192.168.178.52: icmp_seq=5 ttl=255 time=4.11 ms

— 192.168.178.52 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 10ms
rtt min/avg/max/mdev = 3.149/3.433/4.114/0.365 ms

==> /var/log/openhab2/openhab.log <==

2019-10-31 20:04:16.485 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.178.57 for sending out broadcast request.

2019-10-31 20:04:16.489 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Discovering devices

2019-10-31 20:04:16.495 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Constructing DiscoveryPacket

2019-10-31 20:04:16.499 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - DiscoveryPacket constructor start

2019-10-31 20:04:16.504 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - cal=1572548656498 tz=Europe/Berlin

2019-10-31 20:04:16.511 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - localIpAddr= openhab.fritz.box/192.168.178.57

2019-10-31 20:04:16.516 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - Raw offset: 3600000

2019-10-31 20:04:16.519 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - Calculated offset: getRawOffset/1000/-3600=1000

2019-10-31 20:04:16.523 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - min=4 hr=8

2019-10-31 20:04:16.526 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - year=2019 dayOfWk=3

2019-10-31 20:04:16.530 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - dayOfMn=31 month=10

2019-10-31 20:04:16.533 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - tzOffset>0: 0x08=3e8 0x09-0x0b=0x00

2019-10-31 20:04:16.537 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - checksum=ffffc325

2019-10-31 20:04:16.540 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - DiscoveryPacket constructor end

2019-10-31 20:04:16.545 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Sending broadcast

2019-10-31 20:04:16.549 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - A timeout of 30000 ms was set. Running loop

2019-10-31 20:04:16.553 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Elapsed: 0 ms

2019-10-31 20:04:16.557 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Socket timeout: timeout-elapsed=30000

2019-10-31 20:04:16.561 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Waiting for datagrams

2019-10-31 20:04:46.579 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Socket timed out for 30000 ms

java.net.SocketTimeoutException: Receive timed out

	at java.net.PlainDatagramSocketImpl.peekData(Native Method) ~[?:?]

	at java.net.DatagramSocket.receive(DatagramSocket.java:743) ~[?:?]

	at com.github.mob41.blapi.BLDevice.discoverDevices(BLDevice.java:702) [207:org.openhab.binding.broadlink:2.5.0.201910302107]

	at org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService.startScan(BroadlinkDiscoveryService.java:80) [207:org.openhab.binding.broadlink:2.5.0.201910302107]

	at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:211) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]

	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:381) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]

	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:366) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]

	at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:215) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]

	at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [120:org.eclipse.smarthome.io.rest.core:0.10.0.oh240]

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

	at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [20:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.Server.handle(Server.java:531) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at java.lang.Thread.run(Thread.java:748) [?:?]

2019-10-31 20:04:46.594 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - Converting list to array: 0

2019-10-31 20:04:46.597 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - End of device discovery: 0

2019-10-31 20:04:46.600 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.



2019-10-31 20:08:10.287 [DEBUG] [nk.internal.handler.BroadlinkHandler] - Config properties: Configuration[{key=host; type=String; value=192.168.178.52}, {key=mac; type=String; value=EC:FA:BC:A1:FE:FF}]

2019-10-31 20:08:10.290 [DEBUG] [nk.internal.handler.BroadlinkHandler] - host: 192.168.178.52, mac: EC:FA:BC:A1:FE:FF, deviceDescription: null

2019-10-31 20:08:10.301 [DEBUG] [nk.internal.handler.BroadlinkHandler] - Authenticating with broadlink device Floureon Thermostat...

2019-10-31 20:08:10.303 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - auth Authentication method starts

2019-10-31 20:08:10.305 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - auth Sending CmdPacket with AuthCmdPayload: cmd=65 len=80

2019-10-31 20:08:10.307 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - auth AuthPayload initial bytes to send: 0000000031313131313131313131313131313100000000000000000000000100000000000000000000000000000100005465737420203100000000000000000000000000000000000000000000000000

2019-10-31 20:08:10.309 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Constructor CmdPacket starts

2019-10-31 20:08:10.310 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - count=28747 cmdPayload.cmd=65 payload.len=80

2019-10-31 20:08:10.312 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - New count: 28748 (added by 1)

2019-10-31 20:08:10.313 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Creating byte array with data

2019-10-31 20:08:10.315 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running checksum for un-encrypted payload

2019-10-31 20:08:10.317 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Un-encrypted payload checksum: c3a1

2019-10-31 20:08:10.318 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypting payload

2019-10-31 20:08:10.321 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted payload bytes: 453452E7F92EDA958344930835EF9A6DFB692DC370B90443AC5CD63FBB53ADFA08814CA7F8CF417100328E570C3B86C94D05708449A389E29AE1045436A05BDDDC02C161AF1325E87E19B0F7D1CE068DE51B619156876D338CFF3B991E40CDB1

2019-10-31 20:08:10.322 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted. len=96

2019-10-31 20:08:10.324 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running whole packet checksum

2019-10-31 20:08:10.325 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Whole packet checksum: f935

2019-10-31 20:08:10.327 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - End of CmdPacket constructor

2019-10-31 20:08:10.330 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - sendCmdPkt - Send Command Packet bytes: 5AA5AA555AA5AA5500000000000000000000000000000000000000000000000035F900002A2765004C70ECFABCA1FEFF00000000A1C30000453452E7F92EDA958344930835EF9A6DFB692DC370B90443AC5CD63FBB53ADFA08814CA7F8CF417100328E570C3B86C94D05708449A389E29AE1045436A05BDDDC02C161AF1325E87E19B0F7D1CE068DE51B619156876D338CFF3B991E40CDB1

2019-10-31 20:08:10.333 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - sendPkt - call with given sock for 0.0.0.0 and port -1

2019-10-31 20:08:10.336 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - snedPkt - data for length: 152 to: 192.168.178.52 for port: 80

2019-10-31 20:08:20.363 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - sendPkt - recv data bytes (2048) after initial req: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

2019-10-31 20:08:20.366 [ERROR] [com.github.mob41.blapi.BLDevice     ] - auth Received 0 bytes on initial request.

2019-10-31 20:08:20.374 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Constructor CmdPacket starts

2019-10-31 20:08:20.378 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - count=28748 cmdPayload.cmd=6a payload.len=10

2019-10-31 20:08:20.381 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - New count: 28749 (added by 1)

2019-10-31 20:08:20.383 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Creating byte array with data

2019-10-31 20:08:20.386 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running checksum for un-encrypted payload

2019-10-31 20:08:20.388 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Un-encrypted payload checksum: bf13

2019-10-31 20:08:20.392 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypting payload

2019-10-31 20:08:20.395 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted payload bytes: 63805FC882251D24DF52DC426B3DCC88

2019-10-31 20:08:20.398 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted. len=16

2019-10-31 20:08:20.400 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running whole packet checksum

2019-10-31 20:08:20.403 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Whole packet checksum: d172

2019-10-31 20:08:20.405 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - End of CmdPacket constructor

2019-10-31 20:08:20.408 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - sendCmdPkt - Send Command Packet bytes: 5AA5AA555AA5AA5500000000000000000000000000000000000000000000000072D100002A276A004D70ECFABCA1FEFF0000000013BF000063805FC882251D24DF52DC426B3DCC88

2019-10-31 20:08:20.410 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - sendPkt - call with given sock for 0.0.0.0 and port -1

2019-10-31 20:08:20.413 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - snedPkt - data for length: 72 to: 192.168.178.52 for port: 80

2019-10-31 20:08:30.433 [DEBUG] [com.github.mob41.blapi.BLDevice     ] - sendPkt - recv data bytes (1024) after initial req: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

2019-10-31 20:08:30.437 [DEBUG] [blapi.pkt.cmd.hysen.BaseHysenCommand] - GetBasicInfoCommand received encrypted bytes:

Does any one use the thermostat with an amazon echo? Cant get any connection because the echo doesnt find the thermostat :frowning:

I have successfully tested this Binding with Beok TDS23 thermostats. Thermostats are automatically discovered with six channels and seem to be working just fine.

I do however miss a couple of essential channels on these underfloor heating thermostats. The channels are sensor and external_temp. Sensor tells the thermostat to use the external (underfloor) or internal sensor and the external_temp is the reading of that external sensor.

I read the Github documentation and these missing channels are not listed there. Is it possible to add these channels to the binding?

@flo-02-mu
Hey, trying to get the binding to work, I got a Floureon, BYC17.GH3 model, but never gone to a solution to get it work, tried first with the mqtt binding and now with your.

Simply i can’t get it discover! Just my RM Mini 3 get discovered, so I’ve tried disconnecting it.

I’m using the last snapshot found in your GitHub repository, tested some other versions too.

Here is the stacktrace i got:

2019-12-05 18:36:55.950 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Constructor CmdPacket starts

2019-12-05 18:36:55.953 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - count=65349 cmdPayload.cmd=6a payload.len=10
2019-12-05 18:36:55.957 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - New count: 65350 (added by 1)
2019-12-05 18:36:55.961 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Creating byte array with data
2019-12-05 18:36:55.964 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running checksum for un-encrypted payload
2019-12-05 18:36:55.968 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Un-encrypted payload checksum: bf13
2019-12-05 18:36:55.972 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypting payload
2019-12-05 18:36:55.977 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted payload bytes: 63805FC882251D24DF52DC426B3DCC88
2019-12-05 18:36:55.980 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted. len=16
2019-12-05 18:36:55.984 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running whole packet checksum
2019-12-05 18:36:55.988 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Whole packet checksum: cf0d
2019-12-05 18:36:55.991 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - End of CmdPacket constructor
2019-12-05 18:36:55.995 [DEBUG] [com.github.mob41.blapi.BLDevice ] - sendCmdPkt - Send Command Packet bytes: 5AA5AA555AA5AA550000000000000000000000000000000000000000000000000DCF00002A276A0046FF807D3A33C6230000000013BF000063805FC882251D24DF52DC426B3DCC88
2019-12-05 18:36:55.999 [DEBUG] [com.github.mob41.blapi.BLDevice ] - sendPkt - call with given sock for 0.0.0.0 and port -1
2019-12-05 18:36:56.003 [DEBUG] [com.github.mob41.blapi.BLDevice ] - snedPkt - data for length: 72 to: 192.168.1.5 for port: 80
2019-12-05 18:36:59.264 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.1.3 for sending out broadcast request.
2019-12-05 18:36:59.269 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Discovering devices
2019-12-05 18:36:59.274 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Constructing DiscoveryPacket
2019-12-05 18:36:59.279 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - DiscoveryPacket constructor start
2019-12-05 18:36:59.284 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - cal=1575567419279 tz=Europe/Rome
2019-12-05 18:36:59.293 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - localIpAddr= openhab.homenet.telecomitalia.it/192.168.1.3
2019-12-05 18:36:59.298 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - Raw offset: 3600000
2019-12-05 18:36:59.302 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - Calculated offset: getRawOffset/1000/-3600=1000
2019-12-05 18:36:59.307 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - min=36 hr=6
2019-12-05 18:36:59.310 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - year=2019 dayOfWk=3
2019-12-05 18:36:59.314 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - dayOfMn=5 month=12
2019-12-05 18:36:59.318 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - tzOffset>0: 0x08=3e8 0x09-0x0b=0x00
2019-12-05 18:36:59.321 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - checksum=ffffc244
2019-12-05 18:36:59.325 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - DiscoveryPacket constructor end
2019-12-05 18:36:59.329 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Sending broadcast
2019-12-05 18:36:59.333 [DEBUG] [com.github.mob41.blapi.BLDevice ] - A timeout of 30000 ms was set. Running loop
2019-12-05 18:36:59.337 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Elapsed: 0 ms
2019-12-05 18:36:59.341 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Socket timeout: timeout-elapsed=30000
2019-12-05 18:36:59.344 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Waiting for datagrams
2019-12-05 18:37:06.025 [DEBUG] [com.github.mob41.blapi.BLDevice ] - sendPkt - recv data bytes (1024) after initial req: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2019-12-05 18:37:06.029 [DEBUG] [blapi.pkt.cmd.hysen.BaseHysenCommand] - GetBasicInfoCommand received encrypted bytes:
2019-12-05 18:37:06.033 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:bf282012
java.lang.ArrayIndexOutOfBoundsException: 34
at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]
at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]
at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:133) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
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) [?:?]
2019-12-05 18:37:29.363 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Socket timed out for 30000 ms
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.peekData(Native Method) ~[?:?]
at java.net.DatagramSocket.receive(DatagramSocket.java:743) ~[?:?]
at com.github.mob41.blapi.BLDevice.discoverDevices(BLDevice.java:702) [244:org.openhab.binding.broadlink:2.5.0.201910041157]
at org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService.startScan(BroadlinkDiscoveryService.java:80) [244:org.openhab.binding.broadlink:2.5.0.201910041157]
at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:211) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:381) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:357) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:215) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [120:org.eclipse.smarthome.io.rest.core:0.10.0.oh240]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [20:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.Server.handle(Server.java:531) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at java.lang.Thread.run(Thread.java:748) [?:?]
2019-12-05 18:37:29.378 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Converting list to array: 0
2019-12-05 18:37:29.381 [DEBUG] [com.github.mob41.blapi.BLDevice ] - End of device discovery: 0
2019-12-05 18:37:29.386 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.
2019-12-05 18:37:29.392 [DEBUG] [.discovery.BroadlinkDiscoveryService] - Using source address /192.168.1.3 for sending out broadcast request.
2019-12-05 18:37:29.396 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Discovering devices
2019-12-05 18:37:29.400 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Constructing DiscoveryPacket
2019-12-05 18:37:29.404 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - DiscoveryPacket constructor start
2019-12-05 18:37:29.407 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - cal=1575567449403 tz=Europe/Rome
2019-12-05 18:37:29.417 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - localIpAddr= openhab.homenet.telecomitalia.it/192.168.1.3
2019-12-05 18:37:29.420 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - Raw offset: 3600000
2019-12-05 18:37:29.424 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - Calculated offset: getRawOffset/1000/-3600=1000
2019-12-05 18:37:29.428 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - min=37 hr=6
2019-12-05 18:37:29.431 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - year=2019 dayOfWk=3
2019-12-05 18:37:29.441 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - dayOfMn=5 month=12
2019-12-05 18:37:29.445 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - tzOffset>0: 0x08=3e8 0x09-0x0b=0x00
2019-12-05 18:37:29.449 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - checksum=ffffc245
2019-12-05 18:37:29.453 [DEBUG] [.mob41.blapi.pkt.dis.DiscoveryPacket] - DiscoveryPacket constructor end
2019-12-05 18:37:29.458 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Sending broadcast
2019-12-05 18:37:29.462 [DEBUG] [com.github.mob41.blapi.BLDevice ] - A timeout of 30000 ms was set. Running loop
2019-12-05 18:37:29.466 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Elapsed: 0 ms
2019-12-05 18:37:29.468 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Socket timeout: timeout-elapsed=30000
2019-12-05 18:37:29.470 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Waiting for datagrams
2019-12-05 18:37:59.503 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Socket timed out for 30000 ms
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.peekData(Native Method) ~[?:?]
at java.net.DatagramSocket.receive(DatagramSocket.java:743) ~[?:?]
at com.github.mob41.blapi.BLDevice.discoverDevices(BLDevice.java:702) [245:org.openhab.binding.broadlink:2.5.0.201910302107]
at org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService.startScan(BroadlinkDiscoveryService.java:80) [245:org.openhab.binding.broadlink:2.5.0.201910302107]
at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:211) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:381) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:357) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:215) [98:org.eclipse.smarthome.config.discovery:0.10.0.oh240]
at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [120:org.eclipse.smarthome.io.rest.core:0.10.0.oh240]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [20:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.Server.handle(Server.java:531) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]
at java.lang.Thread.run(Thread.java:748) [?:?]
2019-12-05 18:37:59.522 [DEBUG] [com.github.mob41.blapi.BLDevice ] - Converting list to array: 0
2019-12-05 18:37:59.525 [DEBUG] [com.github.mob41.blapi.BLDevice ] - End of device discovery: 0
2019-12-05 18:37:59.531 [INFO ] [.discovery.BroadlinkDiscoveryService] - Discovery service found 0 broadlink devices.
2019-12-05 18:38:06.055 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Constructor CmdPacket starts
2019-12-05 18:38:06.060 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - count=65350 cmdPayload.cmd=6a payload.len=10
2019-12-05 18:38:06.063 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - New count: 65351 (added by 1)
2019-12-05 18:38:06.067 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Creating byte array with data
2019-12-05 18:38:06.070 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running checksum for un-encrypted payload
2019-12-05 18:38:06.074 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Un-encrypted payload checksum: bf13
2019-12-05 18:38:06.077 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypting payload
2019-12-05 18:38:06.082 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted payload bytes: 63805FC882251D24DF52DC426B3DCC88
2019-12-05 18:38:06.084 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Encrypted. len=16
2019-12-05 18:38:06.088 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Running whole packet checksum
2019-12-05 18:38:06.091 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - Whole packet checksum: cf0e
2019-12-05 18:38:06.095 [DEBUG] [com.github.mob41.blapi.pkt.CmdPacket] - End of CmdPacket constructor
2019-12-05 18:38:06.098 [DEBUG] [com.github.mob41.blapi.BLDevice ] - sendCmdPkt - Send Command Packet bytes: 5AA5AA555AA5AA550000000000000000000000000000000000000000000000000ECF00002A276A0047FF807D3A33C6230000000013BF000063805FC882251D24DF52DC426B3DCC88
2019-12-05 18:38:06.102 [DEBUG] [com.github.mob41.blapi.BLDevice ] - sendPkt - call with given sock for 0.0.0.0 and port -1
2019-12-05 18:38:06.105 [DEBUG] [com.github.mob41.blapi.BLDevice ] - snedPkt - data for length: 72 to: 192.168.1.5 for port: 80
2019-12-05 18:38:16.126 [DEBUG] [com.github.mob41.blapi.BLDevice ] - sendPkt - recv data bytes (1024) after initial req: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2019-12-05 18:38:16.129 [DEBUG] [blapi.pkt.cmd.hysen.BaseHysenCommand] - GetBasicInfoCommand received encrypted bytes:
2019-12-05 18:38:16.134 [ERROR] [al.handler.FloureonThermostatHandler] - Error while retrieving data for broadlink:floureonthermostat:bf282012
java.lang.ArrayIndexOutOfBoundsException: 34
at com.github.mob41.blapi.pkt.cmd.hysen.BaseHysenCommand.execute(BaseHysenCommand.java:38) ~[?:?]
at com.github.mob41.blapi.dev.hysen.BaseHysenDevice.getBasicStatus(BaseHysenDevice.java:93) ~[?:?]
at org.openhab.binding.broadlink.internal.handler.FloureonThermostatHandler.refreshData(FloureonThermostatHandler.java:133) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
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) [?:?]

It Seems that it’s finding something ( thermostat IP is 192.168.1.5 ) but asking for a response that the thermostat doesn’t do. Expecting for something on port 80, that in my device is closed and return an CONNECTION_REFUSED error.

Please help, this is gonna makes me crazy after 3 days of try.