Release Candidate for testing 5.2.0

Here is a release candidate for testing V5.2.0 that includes:
OpenHAB Integratuib
FHEM Integration
Broadlink Integration
In 5.0.0, colour UDP URLs not issued to milight hub
[5.1.0] Harmony commands not being split into on/dim
non-dimmable device
HB[5.1.0] Fibaro HomeCenter2: Devices "Build Item" not working
Updated harmony library.
Timing fixes for UPNP
Get the release here http://bwssystems.com/files/ha-bridge-5.2.0RC24.jar

@bwssytems it may sound weird but I can't set TRACE using the UI. Tried for all and the two broadlinks only but highest is  DEBUG. Any other way to set it?

Trace doesn't appear to set for me either though the UI does say loggers were updated when I click update log levels.
Issuing a IR command  displays no new info in the Commandline

Yep, seems that trace can't be set. Oh well, still working on what the reply means from multiple docs.

interestingly in the UI sending a IR command the Bridge states success even though the broadlink shows no activity with the LED.
If I use a bogus command in the send field then Bridge UI doesn't show an error or success but the command line does show a lot of info. I wonder if that may be helpful?

@tuicemen If you could share that command line info for the junk IR command, that would be great. It seems that the Broadlink is accepting the IR command but not executing the request properly. So there maybe a formatting issue when I call the broadlink java api.

Ok turned on debug for the broadlink then sent the bogus IR. The following is what is reported in the command line
2```
018-02-02 10:29:13,629 [qtp29459721-31] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - executing HUE api request to send message to BroadlinkDevice: "{"id":"<IP_ADDRESS>-272a","name":"RM 2 Pro Plus","command":"ircommand","data":"0000006D00220002015500AA0016001500160015001600400016001500160015001600150016001500160015001600400016004000160015001600400016004000160040001600400016004000160015001600150016001500160040001600150016001500160015001600150016004000160040001600400016001500160040001600400016004000160040001605E50155005500160E3C"}"
2018-02-02 10:29:13,630 [qtp29459721-31] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - calling BroadlinkDevice: RM 2 Pro Plus
2018-02-02 10:29:13,660 [qtp29459721-31] ERROR com.github.mob41.blapi.pkt.CmdPacket - Cannot encrypt payload! Aborting
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1042)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:1010)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
at javax.crypto.Cipher.doFinal(Cipher.java:2164)
at com.github.mob41.blapi.pkt.auth.AES.encrypt(AES.java:53)
at com.github.mob41.blapi.pkt.CmdPacket.(CmdPacket.java:139)
at com.github.mob41.blapi.BLDevice.sendCmdPkt(BLDevice.java:551)
at com.github.mob41.blapi.BLDevice.sendCmdPkt(BLDevice.java:501)
at com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome.deviceHandler(BroadlinkHome.java:243)
at com.bwssystems.HABridge.hue.HueMulator.callUrl(HueMulator.java:1465)
at com.bwssystems.HABridge.hue.HueMulator.changeState(HueMulator.java:1220)
at com.bwssystems.HABridge.hue.HueMulator.lambda$39(HueMulator.java:444)
at spark.RouteImpl$1.handle(RouteImpl.java:72)
at spark.http.matching.Routes.execute(Routes.java:61)
at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:130)
at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:564)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Unknown Source)
2018-02-02 10:29:13,665 [qtp29459721-31] ERROR spark.http.matching.GeneralError -
com.github.mob41.blapi.ex.BLApiRuntimeException: Cannot encrypt payload
at com.github.mob41.blapi.pkt.CmdPacket.(CmdPacket.java:145)
at com.github.mob41.blapi.BLDevice.sendCmdPkt(BLDevice.java:551)
at com.github.mob41.blapi.BLDevice.sendCmdPkt(BLDevice.java:501)
at com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome.deviceHandler(BroadlinkHome.java:243)
at com.bwssystems.HABridge.hue.HueMulator.callUrl(HueMulator.java:1465)
at com.bwssystems.HABridge.hue.HueMulator.changeState(HueMulator.java:1220)
at com.bwssystems.HABridge.hue.HueMulator.lambda$39(HueMulator.java:444)
at spark.RouteImpl$1.handle(RouteImpl.java:72)
at spark.http.matching.Routes.execute(Routes.java:61)
at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:130)
at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:564)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1042)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:1010)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
at javax.crypto.Cipher.doFinal(Cipher.java:2164)
at com.github.mob41.blapi.pkt.auth.AES.encrypt(AES.java:53)
at com.github.mob41.blapi.pkt.CmdPacket.(CmdPacket.java:139)
... 26 common frames omitted
Hope that helps!

@tuicemen So, that means your payload is of the correct format as bytes and the correct length.

@tuiceman Also, I just noticed you havea '' on the end of yoru command that does not give errors. Remove that backslash.

the backslash is not present in the Bridge UI  target item field at either end of the target item.
Ha-Bridge is adding that.

Doh, looking at the json... Sorry about that

AH darn! I thought maybe that was the issue

Alrighty, RC13 is up and I did make some changes to the Broadlink API subsystem that may help...or not... let's see

Same behaviour as before. No reaction on mini or pro, no TRACE possible

Same as before for me as well.  :(

I received my rm mini 3 and a smart plug sp3, but I cannot even get those initialized with the app.

I found the econtrol app a bit confusing for non broadlink stuff.
I never tried their plugs but you would expect them to be simpler to setup.

Do you use the IHC App?

yes I have both. the web site says to use the econtrol app for setting up the sp3s

Well, I'll try again, thanks

http://www.mbroadlink.com/docs/manual_sp2.pdf

Well, got the SP3 up and discovered. Will do some testing today on that, then need to get the rm mini up.

Awesome, the mini should be simple to setup, though I don't have one of those either.

My commands appear to go through to the bridge, but no light, or signal sent from the Broadlink.  I'm sending RF.  I've emailed my debug, and trace logs.  Hope that helps.

HI, I am seeing the same symptoms ad quadhammer. it looks like the commands are going through but there is no indication from he Broadlink that anything has happened.
Here is some output from the cli:
2018-02-06 11:17:09,745 [qtp17738985-22] INFO  spark.http.matching.MatcherFilter - The requested route [/api//lights/34/state] has not been mapped in Spark for Accept: [application/json, text/plain, /]
the command I am sending is this:
{"id":"<IP_ADDRESS>-2712","name":"RM 2","command":"ircommand","data":"2600c00173390e0f0e2a0f0d0f0d100f0f0d100d100e0e0e100c100e0e0e100e1028100f0e0d110d0e0e0f0d100d100f0e2a0f2a0f2a0f0c100d102a0f0e0e0e100d100e0f0e0f0d100d0f0e100c100e0f0e100d100d0f0f0e0d110d0f0e0f0d100d100e100c100e0e0f0f0d100d0f0e0f0e100f0e0d0f0e10281029100d100d0f0e0f0f100b1000015a7137100d10290f0d100d100d110d0f0e100e0e0d100d100e0f0d0f0e0f2b0f0e100c0f0f0e0d110c100e0f0d1128102b0e290f0d110c10290f0e0f0e0f0e0f0f0f0d110c0f0d100f0e0e0f0d110d0f0e100d10290e0e100d102811280f2a0f0f100c100d0f0d110c100e0f0d1029100f0e0d100d100d0f0d100e0f0e100d0f0e10290f29110c10280f0f0f290f2a0f2a0f0f0e0d100e0e2a1028100f0e0e0f0e0f0e100d0f0d0f0e0f0e100d0f0e100f0e0d110c1127102a0f290f0e100e0f0d110c0f0e100c100d0f0e100e0f29102a0f28100d110c0f0f0f0e0e0f0f0d100e0f0e0f0d100c110d0f0e0f0e100d0f0e100e0e29110c0f0f0f0e0e0f0e0f0f0e10290e0e0f0e0f0e0e0e100e0f0d100f100b100d0f0e100d0f0e0f0e100d100e0f0f0d2910290f2a0f290f0e100d1029102811000ca608000d050000000073390e0f"}
I have another system that sends these commands successfully but the json format is:
{ "api_id":134,
"command":"rm2_send",
"mac":"xx:xx:xx:xx:xx:xx",
"data":"2600c00173390e0f0e2a0f0d0f0d100f0f0d100d100e0e0e100c100e0e0e100e1028100f0e0d110d0e0e0f0d100d100f0e2a0f2a0f2a0f0c100d102a0f0e0e0e100d100e0f0e0f0d100d0f0e100c100e0f0e100d100d0f0f0e0d110d0f0e0f0d100d100e100c100e0e0f0f0d100d0f0e0f0e100f0e0d0f0e10281029100d100d0f0e0f0f100b1000015a7137100d10290f0d100d100d110d0f0e100e0e0d100d100e0f0d0f0e0f2b0f0e100c0f0f0e0d110c100e0f0d1128102b0e290f0d110c10290f0e0f0e0f0e0f0f0f0d110c0f0d100f0e0e0f0d110d0f0e100d10290e0e100d102811280f2a0f0f100c100d0f0d110c100e0f0d1029100f0e0d100d100d0f0d100e0f0e100d0f0e10290f29110c10280f0f0f290f2a0f2a0f0f0e0d100e0e2a1028100f0e0e0f0e0f0e100d0f0d0f0e0f0e100d0f0e100f0e0d110c1127102a0f290f0e100e0f0d110c0f0e100c100d0f0e100e0f29102a0f28100d110c0f0f0f0e0e0f0f0d100e0f0e0f0d100c110d0f0e0f0e100d0f0e100e0e29110c0f0f0f0e0e0f0e0f0f0e10290e0e0f0e0f0e0e0e100e0f0d100f100b100d0f0e100d0f0e0f0e100d100e0f0f0d2910290f2a0f290f0e100d1029102811000ca608000d050000000073390e0f"
}
I dont know if the structure makes a difference..

@peadard Which system do you use that is working. There still may be issues in the java api impl
@quadhammer The RF should be fine as it still may be an issue in the java api impl
Still cannot get my RM mini 3 setup with the app. I have heard that some of these units are defective and  usually are returned for a new one.

I am still using this https://github.com/hphde/BlackBeanControl because of it's simplicity - maybe you'll have a look @bwssytems

@bwssytems I use RM Commander Builder Tools which can be used to generate the command to send .   http://leffab.wixsite.com/domo-assist

So, my sleuthing for the broadlink is down to the Authorization method is failing.

So, many things failed because the whole packet construction with encryption was a bit messed up. Try the new CR15

Just did a quick test will send debug later but the bridge fails to find my RM pro now. :(

Ok must be doing something wrong enabled broadlink debug but it shows  no debug info:
2018-02-07 17:17:27,855 [main] INFO  com.bwssystems.HABridge.plugins.lifx.LifxHome - LifxDevice Home created. No LifxDevices configured.
2018-02-07 17:17:27,855 [main] INFO  com.bwssystems.HABridge.plugins.openhab.OpenHABHome - OpenHAB Home created. No OpenHABs configured.
2018-02-07 17:17:27,855 [main] INFO  com.bwssystems.HABridge.plugins.fhem.FHEMHome - FHEM Home created. No FHEMs configured.
2018-02-07 17:17:27,871 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink Home created.

2018-02-07 17:17:27.871:INFO:oejs.session:Thread-13: Scavenging every 600000ms
2018-02-07 17:17:27,886 [main] WARN  com.bwssystems.HABridge.dao.GroupRepository - Error reading the file: data\group.db - Does not exist or is not readable. continuing...
2018-02-07 17:17:27,886 [main] INFO  com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started....

It took a few seconds to discover the devices but it worked. But then I had weird effects. The pro was listed first - before it wasn't. I added something to the mini but when hit Build Item it appeared titled as RM 2 Pro Plus. I deleted that and retried with similar effect but the config was partially for the pro and the mini at the same time. After I deleted that the devices disappeared in the tab but came back after a few seconds. Now the mini is listed first. Adding worked without problem. But unluckily it still doesn't work. TRACE also still doesn't.

did a bulk add even though no devices were found and got this:
2018-02-07 17:25:34,618 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener running and ready....
2018-02-07 17:39:13,062 [qtp9740210-39] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - consolidating devices for Broadlink
2018-02-07 17:39:13,097 [qtp9740210-39] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink discover....
2018-02-07 17:39:18,228 [qtp9740210-39] WARN  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Did not discover any Broadlinks.

This is with a total fresh Bridge install creating a new data base and different Broadlink rm pro I'm at my cottage will bring this Broadlink home with me so I can test with two.

With RC15 I get:
TODO: Incompatible decryption with non-16 multiple bytes. Forcing to have 2048 bytes
No other actions.

@quadhammer The link is at the top of this post

Ok, found a few things in the broadlink setup in the ha-bridge. Also, fixed the last outstanding AES item in the api lib. Also added a refresh button for broadlink and Lifx as those are broadcast based systems.
RC16 is out and is available from the link above

With Broadlink not enabled:
Exception in thread "main" java.lang.NullPointerException
        at com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome.broadlinkDiscover(BroadlinkHome.java:324)
        at com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome.createHome(BroadlinkHome.java:64)
        at com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome.<init>(BroadlinkHome.java:53)
        at com.bwssystems.HABridge.HomeManager.buildHomes(HomeManager.java:128)
        at com.bwssystems.HABridge.HABridge.main(HABridge.java:79)

Right after startup - and then opening the UI
2018-02-08 23:35:53,484 [qtp25770640-17] INFO  spark.http.matching.MatcherFilter - The requested route [/api/devices/map/types] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-08 23:35:53,610 [qtp25770640-28] INFO  spark.http.matching.MatcherFilter - The requested route [/api/devices] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-08 23:35:53,613 [qtp25770640-27] INFO  spark.http.matching.MatcherFilter - The requested route [/api/devices/backup/available] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-08 23:35:53,760 [qtp25770640-14] INFO  spark.http.matching.MatcherFilter - The requested route [/api] has not been mapped in Spark for Accept: [application/json, text/plain, */*]

No Devices are listed. Broadlink Tab hitting refresh produces 404s:
Get broadlink Devices Error: undefined with status: Not Found - 404 and Refresh devices request Error: undefined with status: Not Found - 404

Well, that is unfortunate, won't get back to this for a few days

Ok must be doing something wrong enabled broadlink debug but it shows no debug info:

I had the same thing until I reinitialised the bridge with debug, and not trace.
RC16 can't find any of my devices, (same error as @hphde), but it can find the Broadlink.

@quadhammer The link is at the top of this post

I was using that file, and got the warning of: TODO: Incompatible decryption with non-16 multiple bytes. Forcing to have 2048 bytes
http://rm-bridge.fun2code.de/downloads/RMBridge-APIDocumentation.pdf is what I'm using at the moment, and it seems to have some documentation which might be helpful.

Today upgraded from 5.2.0 RC9 -> 5.2.0 RC16, my HA Bridge no longer shows any devices.
I have 124 devices in my data-file.
Instead, I get these error messages:
Get mapTypes Error: undefined with status: Not Found - 404
Cannot get devices from habridge: undefined with status: Not Found - 404
Cannot get devices from habridge: undefined with status: Not Found - 404
Cannot get devices from habridge: undefined with status: Not Found - 404
Reverted to RC9, 124 devices were in HA Bridge again.
However, I still have the issue that Alexa now sometimes (not always) returns every command with:
"Device XY is not responding at the moment" (German: Das Gerät reagiert gerade nicht)
The command is executed correctly, though.
Any solution for this?

I to get those error updating from RC13 to RC16.
interestingly I had tried a fresh install of RC16 on a laptop and not got those errors buit I also had no devices configured yet. The broadlink tab reported Broadlink Device List (4) but said none found although I had one RM Pro Running.

Well, I have a database and records from the start of testing and have not seen this issue? Will need to see  command line log files.

New RC17 loaded. Should fix issues with broadlink discovery

Ill load 17 and see what happens tonight

Ok RC17 does fix the Broadlink discovery.
I turned on debug and tested adding a device but it always reverted to a device I had already added.
I attempted to copy the info but the Command line screen closed before I could copy. I'm not sure if this is a windows thing or the bridge is causing this. I never experienced this on builds prior to RC13.
I'll attempt to get a log again after I have a bite to eat.
I came close to getting a copy so I just need to be a little quicker hitting the copy. The Broadlink still does not respond to a send command But that could be that it is still loading old commands. I'll delete old Broadlink devices prior to debugging.

Ok it stayed open long enough this time.
I created and sent a command but no action from the broadlink
2018-02-13 18:46:15,019 [main] INFO  com.bwssystems.HABridge.plugins.harmony.HarmonyHome - Harmony Home created. No Harmony devices configured.
2018-02-13 18:46:15,020 [main] INFO  com.bwssystems.HABridge.plugins.NestBridge.NestHome - Nest Home created. No Nest configured.
2018-02-13 18:46:15,020 [main] INFO  com.bwssystems.HABridge.plugins.hue.HueHome - Hue passthru Home created. No Hue passtrhu systems configured.
2018-02-13 18:46:15,020 [main] INFO  com.bwssystems.HABridge.plugins.hal.HalHome - HAL Home created. No HAL devices configured.
2018-02-13 18:46:15,020 [main] INFO  com.bwssystems.HABridge.plugins.mqtt.MQTTHome - MQTT Home created. No MQTT Clients configured.
2018-02-13 18:46:15,021 [main] INFO  com.bwssystems.HABridge.plugins.hass.HassHome - HomeAssistant Home created. No HomeAssistants configured.
2018-02-13 18:46:15,021 [main] INFO  com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome - HomeWizard Home created. No HomeWizard gateways configured.
2018-02-13 18:46:15,021 [main] INFO  com.bwssystems.HABridge.plugins.exec.CommandHome - Command Home for system program execution created.
2018-02-13 18:46:15,021 [main] INFO  com.bwssystems.HABridge.plugins.tcp.TCPHome - TCP Home created.
2018-02-13 18:46:15.021:INFO:oejs.session:Thread-11: DefaultSessionIdManager workerName=node0
2018-02-13 18:46:15,021 [main] INFO  com.bwssystems.HABridge.plugins.udp.UDPHome - UDP Home created.
2018-02-13 18:46:15.022:INFO:oejs.session:Thread-11: No SessionScavenger set, using defaults
2018-02-13 18:46:15,022 [main] INFO  com.bwssystems.HABridge.plugins.vera.VeraHome - Vera Home created. No Veras configured.
2018-02-13 18:46:15.022:INFO:oejs.session:Thread-11: Scavenging every 660000ms
2018-02-13 18:46:15,022 [main] INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroHome - Fibaro Home created. No Fibaros configured.
2018-02-13 18:46:15,023 [main] INFO  com.bwssystems.HABridge.plugins.domoticz.DomoticzHome - Domoticz Home created. No Domoticz devices configured.
2018-02-13 18:46:15,023 [main] INFO  com.bwssystems.HABridge.plugins.somfy.SomfyHome - Somfy Home created. No Somfys configured.
2018-02-13 18:46:15,023 [main] INFO  com.bwssystems.HABridge.plugins.lifx.LifxHome - LifxDevice Home created. No LifxDevices configured.
2018-02-13 18:46:15,023 [main] INFO  com.bwssystems.HABridge.plugins.openhab.OpenHABHome - OpenHAB Home created. No OpenHABs configured.
2018-02-13 18:46:15,024 [main] INFO  com.bwssystems.HABridge.plugins.fhem.FHEMHome - FHEM Home created. No FHEMs configured.
2018-02-13 18:46:15,024 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink discover....
2018-02-13 18:46:15.025:INFO:oejs.AbstractConnector:Thread-11: Started ServerConnector@1123279{HTTP/1.1,[http/1.1]}{<IP_ADDRESS>:80}
2018-02-13 18:46:15.026:INFO:oejs.Server:Thread-11: Started @85391ms
2018-02-13 18:46:15,961 [qtp4187960-22] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-13 18:46:17,970 [qtp4187960-25] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-13 18:46:19,980 [qtp4187960-29] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-13 18:46:20,026 [main] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Adding Device to Map - host: <IP_ADDRESS>, device Type: RM 2 Pro Plus, mac: 34:ffffffea:34:ffffffc7:ffffff91:3b
2018-02-13 18:46:20,026 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink Home created.
2018-02-13 18:46:20,044 [main] WARN  com.bwssystems.HABridge.dao.GroupRepository - Error reading the file: data\group.db - Does not exist or is not readable. continuing...
2018-02-13 18:46:20,044 [main] INFO  com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started....
2018-02-13 18:46:20,045 [main] INFO  com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started....
2018-02-13 18:46:20,046 [main] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsResource - Description xml service started....
2018-02-13 18:46:20,070 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener starting....
2018-02-13 18:46:20,137 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener running and ready....
2018-02-13 18:46:49,590 [qtp4187960-23] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - consolidating devices for Broadlink
2018-02-13 18:47:19,807 [qtp4187960-25] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - consolidating devices for Broadlink
2018-02-13 18:48:38,515 [qtp4187960-25] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - consolidating devices for Broadlink
2018-02-13 18:49:00,981 [qtp4187960-22] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - executing HUE api request to send message to BroadlinkDevice: "{\"id\":\"<IP_ADDRESS>-272a\",\"name\":\"RM 2 Pro Plus\",\"command\":\"ircommand\",\"data\":\"260050000001279214111312143613121411131213121411143514361312143514361436143514361411141114111435141114111510141115351436143514111436133614361435150005160001274814000d050000000000000000\"}"
2018-02-13 18:50:13,958 [qtp4187960-22] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - calling BroadlinkDevice: RM 2 Pro Plus
2018-02-13 18:50:14,040 [qtp4187960-22] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - RM2 Device data return: <<<5AA5AA555AA5AA5500000000000000000000000000000000000000000000000081D700002A27E903019334EA34C7913B000000001CC5000062483975D636AC99DD8197BC7572B859156B56FAF274FE7C18A34F3325353A6C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>>>

Tried RC 17 and getting the same results as @tuicemen.
i get a success msg but no lights on the broadlink.
Here are some of the logs:

2018-02-14 10:12:37,959 [qtp15791280-19] DEBUG com.bwssystems.HABridge.hue.HueMulator - HueMulator PUT called on api/* with request <<</api/062e799a3d3a462c8c46b8ac677c2c2f/lights/35/state>>>, and body <<<{"on":true}>>>
2018-02-14 10:12:37,963 [qtp15791280-19] DEBUG spark.Request - matchedPart: :userid = 062e799a3d3a462c8c46b8ac677c2c2f
2018-02-14 10:12:37,975 [qtp15791280-19] DEBUG spark.Request - matchedPart: :id = 35
2018-02-14 10:12:37,978 [qtp15791280-19] DEBUG com.bwssystems.HABridge.hue.HueMulator - hue state change requested: 062e799a3d3a462c8c46b8ac677c2c2f from <IP_ADDRESS> body: {"on":true}
2018-02-14 10:12:37,981 [qtp15791280-19] DEBUG com.bwssystems.HABridge.BridgeSecurity - validateWhitelistUser: found a user <062e799a3d3a462c8c46b8ac677c2c2f>
2018-02-14 10:12:37,984 [qtp15791280-19] DEBUG com.bwssystems.HABridge.hue.HueMulator - Calling on-off as requested.
2018-02-14 10:12:37,987 [qtp15791280-19] DEBUG com.bwssystems.HABridge.hue.HueMulator - Decode Json for url items: [{"item":"{"id":"<IP_ADDRESS>-2712","name":"RM 2","command":"ircommand","data":"2600c00173390e0f0e2a0f0d0f0d100f0f0d100d100e0e0e100c100e0e0e100e1028100f0e0d110d0e0e0f0d100d100f0e2a0f2a0f2a0f0c100d102a0f0e0e0e100d100e0f0e0f0d100d0f0e100c100e0f0e100d100d0f0f0e0d110d0f0e0f0d100d100e100c100e0e0f0f0d100d0f0e0f0e100f0e0d0f0e10281029100d100d0f0e0f0f100b1000015a7137100d10290f0d100d100d110d0f0e100e0e0d100d100e0f0d0f0e0f2b0f0e100c0f0f0e0d110c100e0f0d1128102b0e290f0d110c10290f0e0f0e0f0e0f0f0f0d110c0f0d100f0e0e0f0d110d0f0e100d10290e0e100d102811280f2a0f0f100c100d0f0d110c100e0f0d1029100f0e0d100d100d0f0d100e0f0e100d0f0e10290f29110c10280f0f0f290f2a0f2a0f0f0e0d100e0e2a1028100f0e0e0f0e0f0e100d0f0d0f0e0f0e100d0f0e100f0e0d110c1127102a0f290f0e100e0f0d110c0f0e100c100d0f0e100e0f29102a0f28100d110c0f0f0f0e0e0f0f0d100e0f0e0f0d100c110d0f0e0f0e100d0f0e100e0e29110c0f0f0f0e0e0f0e0f0f0e10290e0e0f0e0f0e0e0e100e0f0d100f100b100d0f0e100d0f0e0f0e100d100e0f0f0d2910290f2a0f290f0e100d1029102811000ca608000d050000000073390e0f"}","type":"broadlinkDevice"}]
2018-02-14 10:12:37,992 [qtp15791280-19] DEBUG com.bwssystems.HABridge.hue.HueMulator - Calling Home device handler for type : broadlinkDevice
2018-02-14 10:12:38,005 [qtp15791280-19] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - executing HUE api request to send message to BroadlinkDevice: "{"id":"<IP_ADDRESS>-2712","name":"RM 2","command":"ircommand","data":"2600c00173390e0f0e2a0f0d0f0d100f0f0d100d100e0e0e100c100e0e0e100e1028100f0e0d110d0e0e0f0d100d100f0e2a0f2a0f2a0f0c100d102a0f0e0e0e100d100e0f0e0f0d100d0f0e100c100e0f0e100d100d0f0f0e0d110d0f0e0f0d100d100e100c100e0e0f0f0d100d0f0e0f0e100f0e0d0f0e10281029100d100d0f0e0f0f100b1000015a7137100d10290f0d100d100d110d0f0e100e0e0d100d100e0f0d0f0e0f2b0f0e100c0f0f0e0d110c100e0f0d1128102b0e290f0d110c10290f0e0f0e0f0e0f0f0f0d110c0f0d100f0e0e0f0d110d0f0e100d10290e0e100d102811280f2a0f0f100c100d0f0d110c100e0f0d1029100f0e0d100d100d0f0d100e0f0e100d0f0e10290f29110c10280f0f0f290f2a0f2a0f0f0e0d100e0e2a1028100f0e0e0f0e0f0e100d0f0d0f0e0f0e100d0f0e100f0e0d110c1127102a0f290f0e100e0f0d110c0f0e100c100d0f0e100e0f29102a0f28100d110c0f0f0f0e0e0f0f0d100e0f0e0f0d100c110d0f0e0f0e100d0f0e100e0e29110c0f0f0f0e0e0f0e0f0f0e10290e0e0f0e0f0e0e0e100e0f0d100f100b100d0f0e100d0f0e0f0e100d100e0f0f0d2910290f2a0f290f0e100d1029102811000ca608000d050000000073390e0f"}"
2018-02-14 10:12:38,012 [qtp15791280-19] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - calling BroadlinkDevice: RM 2
2018-02-14 10:12:38,015 [qtp15791280-19] DEBUG com.bwssystems.HABridge.hue.DeviceDataDecode - Request <<2600c00173390e0f0e2a0f0d0f0d100f0f0d100d100e0e0e100c100e0e0e100e1028100f0e0d110d0e0e0f0d100d100f0e2a0f2a0f2a0f0c100d102a0f0e0e0e100d100e0f0e0f0d100d0f0e100c100e0f0e100d100d0f0f0e0d110d0f0e0f0d100d100e100c100e0e0f0f0d100d0f0e0f0e100f0e0d0f0e10281029100d100d0f0e0f0f100b1000015a7137100d10290f0d100d100d110d0f0e100e0e0d100d100e0f0d0f0e0f2b0f0e100c0f0f0e0d110c100e0f0d1128102b0e290f0d110c10290f0e0f0e0f0e0f0f0f0d110c0f0d100f0e0e0f0d110d0f0e100d10290e0e100d102811280f2a0f0f100c100d0f0d110c100e0f0d1029100f0e0d100d100d0f0d100e0f0e100d0f0e10290f29110c10280f0f0f290f2a0f2a0f0f0e0d100e0e2a1028100f0e0e0f0e0f0e100d0f0d0f0e0f0e100d0f0e100f0e0d110c1127102a0f290f0e100e0f0d110c0f0e100c100d0f0e100e0f29102a0f28100d110c0f0f0f0e0e0f0f0d100e0f0e0f0d100c110d0f0e0f0e100d0f0e100e0e29110c0f0f0f0e0e0f0e0f0f0e10290e0e0f0e0f0e0e0e100e0f0d100f100b100d0f0e100d0f0e0f0e100d100e0f0f0d2910290f2a0f290f0e100d1029102811000ca608000d050000000073390e0f>>, not done: false
2018-02-14 10:12:38,027 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Authentication method starts
2018-02-14 10:12:38,029 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Constructing AuthCmdPayload
2018-02-14 10:12:38,031 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Sending CmdPacket with AuthCmdPayload: cmd=65 len=80
2018-02-14 10:12:38,046 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - printBytes:<PHONE_NUMBER>313131313131313131313131313100000000000000000000000100000000000000000000000000000100005465737420203100000000000000000000000000000000000000000000000000
2018-02-14 10:12:38,050 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Constructor CmdPacket starts
2018-02-14 10:12:38,053 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - count=27820 cmdPayload.cmd=65 payload.len=80
2018-02-14 10:12:38,055 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - New count: 27821 (added by 1)
2018-02-14 10:12:38,058 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating byte array with data
2018-02-14 10:12:38,060 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running checksum for un-encrypted payload
2018-02-14 10:12:38,063 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Un-encrypted payload checksum: c3a1
2018-02-14 10:12:38,075 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating AES instance with provided key [-45, -21, 73, 68, -22, 80, -84, 64, -124, 127, 127, 125, -27, 86, -65, -92], iv [86, 46, 23, -103, 109, 9, 61, 40, -35, -77, -70, 105, 90, 46, 111, 88]
2018-02-14 10:12:38,078 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypting payload
2018-02-14 10:12:38,084 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - printBytes: 851739B35D15C0614B39AA0B0DDC5DC837E8160FDC216DA1229E3655A2FDE8A1806A436EF8ACC87A874FF86FC61E6652E6537B0190DD2A240DE735C6156D7D5474CC5A8513FEEAB89A9559E2F540643616DA720E534723A25D89B5413E1D18D0
2018-02-14 10:12:38,087 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypted. len=96
2018-02-14 10:12:38,095 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running whole packet checksum
2018-02-14 10:12:38,097 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Whole packet checksum: c414
2018-02-14 10:12:38,100 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - End of CmdPacket constructor
2018-02-14 10:12:38,102 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - printBytes: 5AA5AA555AA5AA5500000000000000000000000000000000000000000000000014C400002A276500AD6CB4430D391560DDD74C5BA1C30000851739B35D15C0614B39AA0B0DDC5DC837E8160FDC216DA1229E3655A2FDE8A1806A436EF8ACC87A874FF86FC61E6652E6537B0190DD2A240DE735C6156D7D5474CC5A8513FEEAB89A9559E2F540643616DA720E534723A25D89B5413E1D18D0
2018-02-14 10:12:38,115 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - DESTIP: <IP_ADDRESS>
2018-02-14 10:12:38,117 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - DESTPORT: 80
2018-02-14 10:12:38,121 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Received datagram
2018-02-14 10:12:38,124 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - printBytes: [encoded data, 4096 characters]
2018-02-14 10:12:38,129 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Getting encrypted data from 0x38 to the end
2018-02-14 10:12:38,134 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - encDataLen=1992
2018-02-14 10:12:38,145 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Creating AES instance with initial iv, key
2018-02-14 10:12:38,148 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - printBytes:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2018-02-14 10:12:38,152 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Decrypting encrypted data
2018-02-14 10:12:38,175 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Decrypted. len=2000
2018-02-14 10:12:38,178 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Packet received payload bytes: 24A2D13AF8E0F075A22BEE015850EB91728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9
2018-02-14 10:12:38,186 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Getting key from 0x04 to 0x14
2018-02-14 10:12:38,189 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Packet received key bytes: F8E0F075A22BEE015850EB91728CC6A3
2018-02-14 10:12:38,195 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Getting ID from 0x00 to 0x04
2018-02-14 10:12:38,197 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - Packet received id bytes: 24A2D13A
2018-02-14 10:12:38,200 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - ID len=4
2018-02-14 10:12:38,215 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - End of authentication method
2018-02-14 10:12:38,218 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Constructor CmdPacket starts
2018-02-14 10:12:38,221 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - count=27821 cmdPayload.cmd=6a payload.len=464
2018-02-14 10:12:38,223 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - New count: 27822 (added by 1)
2018-02-14 10:12:38,226 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating byte array with data
2018-02-14 10:12:38,228 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running checksum for un-encrypted payload
2018-02-14 10:12:38,231 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Un-encrypted payload checksum: dd0e
2018-02-14 10:12:38,234 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating AES instance with provided key [-8, -32, -16, 117, -94, 43, -18, 1, 88, 80, -21, -111, 114, -116, -58, -93], iv [86, 46, 23, -103, 109, 9, 61, 40, -35, -77, -70, 105, 90, 46, 111, 88]
2018-02-14 10:12:38,237 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypting payload
2018-02-14 10:12:38,249 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - printBytes: 8381D112A4E0289786140C4AA19265F419A406D6ECB36D16C74D711A25E4B61C3DFA7CF6191988CB065C5665D385C5624D4A4E52C23D4436FEB3327A667259274064E50095CBA8EC3F9FA70340E5B066E1EBF041C767F22EAA9852197BCBE15B87FABD647D96432A0DC7930124EA5BFA3DC4A82AC4490E516D5E1C5AD756275ECF354180147D76AE34D11E7A8F8B2A283ED18FB777460BF58158B335C766B12C2CF69925306CE37892E9BC09BB506533CEFFE730FD350157BF8CC496FCBB3CED8B553985655F7D16F73D39E90BFD471D8E2EA5BA4C0C1125FA0DA7063CDA1D4E4CBFB24F5088346D055FFAEAE0642AB20465D4229A019D1FC814B0D3210398A0A6B0CB2CBAA67553E12EAB8087E28F99864D25017D50B803BD30A713556DB9855B63683A3CA9ED05DB3EF4188DDE19C45BC053AACBDF25D2C50705CAE2F5EA1EACE20B4DD70A468CF6B1569D10C3F516C62554D90B8103585FB3FEE370B52049D5148B6BA3F3544FFFC574D46BE57CEA4C967FC3062384CCC2286DB211126CA32A02B6F61B49B2D081C8E5AAC96C9581879253F723F39FF873B5A0696BA9D2AC61E8998322872582337B5D83273A6102CE383203A0FD488DDDC68250484E197420EEB5B52BFA4B15B9E12FBA25A8212AF54EDC96AC93FF63679EF983194523ED
2018-02-14 10:12:38,255 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypted. len=480
2018-02-14 10:12:38,263 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running whole packet checksum
2018-02-14 10:12:38,266 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Whole packet checksum: be30
2018-02-14 10:12:38,269 [qtp15791280-19] DEBUG com.github.mob41.blapi.pkt.CmdPacket - End of CmdPacket constructor
2018-02-14 10:12:38,271 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - printBytes: 5AA5AA555AA5AA5500000000000000000000000000000000000000000000000030BE00002A276A00AE6CB4430D39156024A2D13A0EDD00008381D112A4E0289786140C4AA19265F419A406D6ECB36D16C74D711A25E4B61C3DFA7CF6191988CB065C5665D385C5624D4A4E52C23D4436FEB3327A667259274064E50095CBA8EC3F9FA70340E5B066E1EBF041C767F22EAA9852197BCBE15B87FABD647D96432A0DC7930124EA5BFA3DC4A82AC4490E516D5E1C5AD756275ECF354180147D76AE34D11E7A8F8B2A283ED18FB777460BF58158B335C766B12C2CF69925306CE37892E9BC09BB506533CEFFE730FD350157BF8CC496FCBB3CED8B553985655F7D16F73D39E90BFD471D8E2EA5BA4C0C1125FA0DA7063CDA1D4E4CBFB24F5088346D055FFAEAE0642AB20465D4229A019D1FC814B0D3210398A0A6B0CB2CBAA67553E12EAB8087E28F99864D25017D50B803BD30A713556DB9855B63683A3CA9ED05DB3EF4188DDE19C45BC053AACBDF25D2C50705CAE2F5EA1EACE20B4DD70A468CF6B1569D10C3F516C62554D90B8103585FB3FEE370B52049D5148B6BA3F3544FFFC574D46BE57CEA4C967FC3062384CCC2286DB211126CA32A02B6F61B49B2D081C8E5AAC96C9581879253F723F39FF873B5A0696BA9D2AC61E8998322872582337B5D83273A6102CE383203A0FD488DDDC68250484E197420EEB5B52BFA4B15B9E12FBA25A8212AF54EDC96AC93FF63679EF983194523ED
2018-02-14 10:12:38,275 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - DESTIP: <IP_ADDRESS>
2018-02-14 10:12:38,277 [qtp15791280-19] DEBUG com.github.mob41.blapi.BLDevice - DESTPORT: 80
2018-02-14 10:12:38,281 [qtp15791280-19] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - RM2 Device data return: <<<5AA5AA555AA5AA5500000000000000000000000000000000000000000000000069CBF9FF2A27EE03AA6CB4430D39156024A2D13A0EDD00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>>>
2018-02-14 10:12:43,184 [main] DEBUG com.bwssystems.HABridge.upnp.UpnpListener - sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0
NTS: ssdp:alive
hue-bridgeid:
NT: uuid:2f402f80-da50-11e1-9b23-b827eb4ad5b1
USN: uuid:2f402f80-da50-11e1-9b23-b827eb4ad5b1

Ok, I may not have had the latest api handler included. Try RC18.

Still same results :(
Bridge reports sent successful but Broadlink LED does not blink or send the command.
Do we need to recreate the device or are the send strings still the same?

Me too - discovery works, DEBUG shows in/out but no action from the Broadlink device

I need you to turn on DEBUG for broadlink Home and the broadlink api items and post your command line logs.

> 2018-02-14 11:31:48,173 [Thread-10] INFO  spark.embeddedserver.jetty.EmbeddedJettyServer - done
> 2018-02-14 11:31:53,163 [main] INFO  com.bwssystems.HABridge.BridgeSettings - reading from config file: data/habridge.config
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v5.2.0RC18) initializing....
> 2018-02-14 11:31:56,689 [main] INFO  spark.staticfiles.StaticFilesConfiguration - StaticResourceHandler configured with folder = /public
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.SystemControl - System control service started....
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.util.UDPDatagramSender - Initializing UDP response Socket...
> 2018-02-14 11:31:56,689 [Thread-11] INFO  spark.embeddedserver.jetty.EmbeddedJettyServer - == Spark has ignited ...
> 2018-02-14 11:31:56,689 [Thread-11] INFO  spark.embeddedserver.jetty.EmbeddedJettyServer - >> Listening on <IP_ADDRESS>:80
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.util.UDPDatagramSender - UDP response Socket initialized to: 50000
> 2018-02-14 11:31:56.689:INFO:oejs.Server:Thread-11: jetty-9.4.z-SNAPSHOT
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.http.HTTPHome - HTTP Home created.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.harmony.HarmonyHome - Harmony Home created. No Harmony devices configured.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.NestBridge.NestHome - Nest Home created. No Nest configured.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.hue.HueHome - Hue passthru Home created. No Hue passtrhu systems configured.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.hal.HalHome - HAL Home created. No HAL devices configured.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.mqtt.MQTTHome - MQTT Home created. No MQTT Clients configured.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.hass.HassHome - HomeAssistant Home created. No HomeAssistants configured.
> 2018-02-14 11:31:56,689 [main] INFO  com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome - HomeWizard Home created. No HomeWizard gateways configured.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.exec.CommandHome - Command Home for system program execution created.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.tcp.TCPHome - TCP Home created.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.udp.UDPHome - UDP Home created.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.vera.VeraHome - Vera Home created. No Veras configured.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroHome - Fibaro Home created. No Fibaros configured.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.domoticz.DomoticzHome - Domoticz Home created. No Domoticz devices configured.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.somfy.SomfyHome - Somfy Home created. No Somfys configured.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.lifx.LifxHome - LifxDevice Home created. No LifxDevices configured.
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.openhab.OpenHABHome - OpenHAB Home created. No OpenHABs configured.
> 2018-02-14 11:31:56.694:INFO:oejs.session:Thread-11: DefaultSessionIdManager workerName=node0
> 2018-02-14 11:31:56.694:INFO:oejs.session:Thread-11: No SessionScavenger set, using defaults
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.fhem.FHEMHome - FHEM Home created. No FHEMs configured.
> 2018-02-14 11:31:56.694:INFO:oejs.session:Thread-11: Scavenging every 660000ms
> 2018-02-14 11:31:56,694 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink discover....
> 2018-02-14 11:31:56.694:INFO:oejs.AbstractConnector:Thread-11: Started ServerConnector@15b99c6{HTTP/1.1,[http/1.1]}{<IP_ADDRESS>:80}
> 2018-02-14 11:31:56.694:INFO:oejs.Server:Thread-11: Started @105428ms
> 2018-02-14 11:31:58,201 [qtp6417098-22] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
> 2018-02-14 11:32:00,222 [qtp6417098-25] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
> 2018-02-14 11:32:01,694 [main] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Adding Device to Map - host: <IP_ADDRESS>, device Type: RM 2 Pro Plus, mac: 34:ffffffea:34:ffffffc7:ffffff91:3b
> 2018-02-14 11:32:01,694 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink Home created.
> 2018-02-14 11:32:01,709 [main] WARN  com.bwssystems.HABridge.dao.GroupRepository - Error reading the file: data\group.db - Does not exist or is not readable. continuing...
> 2018-02-14 11:32:01,709 [main] INFO  com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started....
> 2018-02-14 11:32:01,709 [main] INFO  com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started....
> 2018-02-14 11:32:01,714 [main] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsResource - Description xml service started....
> 2018-02-14 11:32:01,739 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener starting....
> 2018-02-14 11:32:01,800 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener running and ready....
> 2018-02-14 11:33:10,621 [qtp6417098-28] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - executing HUE api request to send message to BroadlinkDevice: "{\"id\":\"<IP_ADDRESS>-272a\",\"name\":\"RM 2 Pro Plus\",\"command\":\"ircommand\",\"data\":\"260096006f6d1d521d511e1b1d511d521d511e511d521d1b1d1b1d1b1d1b1d1a1d521d1b1d1b1d1b1d1b1d1b1d511d521d521d0004cd6f6d1e511d521d1b1d511d521d521d511d521d1b1d1b1d1b1d1b1d1b1c521d1b1d1b1d1b1d1b1d1b1d511d521d521d0004cd706c1d521d521d1b1d511d521d521d511d521d1b1d1b1d1b1d1b1d1b1d511d1b1d1b1d1b1d1b1d1b1d521d511d521d000d050000\"}"
> 2018-02-14 11:33:10,626 [qtp6417098-28] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - calling BroadlinkDevice: RM 2 Pro Plus
> 2018-02-14 11:33:10,741 [qtp6417098-28] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - RM2 Device data return: <<<5AA5AA555AA5AA5500000000000000000000000000000000000000000000000098CAF9FF2A27EE03621B34EA34C7913B0600000075D600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>>>

Well, I'll need to review the auth code some more, seems the returns are not decoded properly

Not sure if this is relevant, I've played with adding different info in the name and command parts of the send strings and this has no affect on the returns in the command line. it still reports the same RM2 Device data return info

@tuicemen I should specify it is the return from getting the auth key which is farther up the chain.

@bwssytems I suspected as much. Changing the ID or data results in a failed send. I'm just playing around hoping to stumble on something which may be of value.

I made a tcpdump for one request using BlackBeanControl and one with HA-Bridge. Both where supposed to send the exact same request. You can open them in Wireshark.
What immediatly springs into the eye is that it looks like HA-Bridge is sending two requests instead of just one.
I made another tcpdump with BlackBeanControl, same request, just to show what can vary with each request.
tcpdump.zip

I had thought of doing something simular but it has been so long since using wireshark I'd have to learn it all over again.

Thanks @hphde Will take a look at the dump

So, found the duplicate send and added more debug clarity. RC 19 is up. Please run debug for com.bwssystems.HABridge.plugins.broadlink and com.github.mob41. Thanks

I can confirm the dupes are gone but still no sign of sending signals from the broadlink device.
tcpdump.zip

@hphde If you could turn on the debug items I stated above and post the command line log, that would help.

2018-02-15 21:48:49,549 [qtp19308472-18] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - executing HUE api request to send message to BroadlinkDevice: "{\"id\":\"<IP_ADDRESS>-2737\",\"name\":\"RM Mini\",\"command\":\"ircommand\",\"data\":\"26008400581d0e1e0f0e0f0f0f1c1c0f0f0e100e0f0e100e0f0f0e0f0f0f0e0f0e0f0f0f0e0f1d100e1d100d10000acf571d0f1d0f0e0f0f0f1d1c0e100e0f0f0e0f0f0f0e0f0e0f0f0f0e0f0f0e0f0f0f0e1d100e1e0f0f0e000ad0561d101c0f0e0f0f101c1c0f0f0f0e0f0e0f0f0f0e0f0f0e0f0f0f0e100e0f0e0f0f1d0f0f1d0f0f0e000d0500000000\"}"
2018-02-15 21:48:49,552 [qtp19308472-18] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - calling BroadlinkDevice: RM Mini
2018-02-15 21:48:49,553 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Authentication method starts
2018-02-15 21:48:49,553 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Constructing AuthCmdPayload
2018-02-15 21:48:49,553 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Sending CmdPacket with AuthCmdPayload: cmd=65 len=80
2018-02-15 21:48:49,553 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth AuthPayload initial bytes to send:<PHONE_NUMBER>313131313131313131313131313100000000000000000000000100000000000000000000000000000100005465737420203100000000000000000000000000000000000000000000000000
2018-02-15 21:48:49,554 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Constructor CmdPacket starts
2018-02-15 21:48:49,555 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - count=54195 cmdPayload.cmd=65 payload.len=80
2018-02-15 21:48:49,555 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - New count: 54196 (added by 1)
2018-02-15 21:48:49,555 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating byte array with data
2018-02-15 21:48:49,555 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running checksum for un-encrypted payload
2018-02-15 21:48:49,556 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Un-encrypted payload checksum: c3a1
2018-02-15 21:48:49,556 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating AES instance with provided key [-8, -32, -16, 117, -94, 43, -18, 1, 88, 80, -21, -111, 114, -116, -58, -93], iv [86, 46, 23, -103, 109, 9, 61, 40, -35, -77, -70, 105, 90, 46, 111, 88]
2018-02-15 21:48:49,557 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypting payload
2018-02-15 21:48:49,559 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypted payload bytes: 2E88BCE3858A1A70893FCB792171D8B466E2E3658B7C40E73A8FCE4090C9A7AFEF5F42106985C6FE3BB6B324CD8B3B7ED8691547F426B7DB8EB7D0C6215FC67031860C59869F2354945F07837632606E1372046F1D47250CEF2A7B6678C7E922
2018-02-15 21:48:49,559 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypted. len=96
2018-02-15 21:48:49,559 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running whole packet checksum
2018-02-15 21:48:49,560 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Whole packet checksum: bfdf
2018-02-15 21:48:49,562 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - End of CmdPacket constructor
2018-02-15 21:48:49,563 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - sendCmdPkt - Send Command Packet bytes: 5AA5AA555AA5AA55000000000000000000000000000000000000000000000000DFBF00002A276500B4D334EA34E3C0F024A2D13AA1C300002E88BCE3858A1A70893FCB792171D8B466E2E3658B7C40E73A8FCE4090C9A7AFEF5F42106985C6FE3BB6B324CD8B3B7ED8691547F426B7DB8EB7D0C6215FC67031860C59869F2354945F07837632606E1372046F1D47250CEF2A7B6678C7E922
2018-02-15 21:48:49,563 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - DESTIP: <IP_ADDRESS>
2018-02-15 21:48:49,564 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - DESTPORT: 80
2018-02-15 21:48:49,706 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Received initial datagram
2018-02-15 21:48:49,707 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth recv data bytes after initial req: [encoded data, 4096 characters]
2018-02-15 21:48:49,708 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Getting encrypted data from 0x38 to the end
2018-02-15 21:48:49,708 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth encDataLen=1992
2018-02-15 21:48:49,709 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth padded encoded bytes from initial req:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2018-02-15 21:48:49,709 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Creating AES instance with initial iv, key
2018-02-15 21:48:49,710 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Decrypting encrypted data
2018-02-15 21:48:49,719 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Decrypted. len=2000
2018-02-15 21:48:49,719 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Packet received payload bytes: 24A2D13AF8E0F075A22BEE015850EB91728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9728CC6A395E9CD5D7F985468027E84C9
2018-02-15 21:48:49,720 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Getting key from 0x04 to 0x14
2018-02-15 21:48:49,720 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Packet received key bytes: F8E0F075A22BEE015850EB91728CC6A3
2018-02-15 21:48:49,721 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Getting ID from 0x00 to 0x04
2018-02-15 21:48:49,721 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth Packet received id bytes: 24A2D13A
2018-02-15 21:48:49,721 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth ID len=4
2018-02-15 21:48:49,721 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - auth End of authentication method
2018-02-15 21:48:49,722 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Constructor CmdPacket starts
2018-02-15 21:48:49,723 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - count=54196 cmdPayload.cmd=6a payload.len=144
2018-02-15 21:48:49,723 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - New count: 54197 (added by 1)
2018-02-15 21:48:49,723 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating byte array with data
2018-02-15 21:48:49,723 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running checksum for un-encrypted payload
2018-02-15 21:48:49,723 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Un-encrypted payload checksum: c70e
2018-02-15 21:48:49,724 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Creating AES instance with provided key [-8, -32, -16, 117, -94, 43, -18, 1, 88, 80, -21, -111, 114, -116, -58, -93], iv [86, 46, 23, -103, 109, 9, 61, 40, -35, -77, -70, 105, 90, 46, 111, 88]
2018-02-15 21:48:49,724 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypting payload
2018-02-15 21:48:49,726 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypted payload bytes: 73D40E65DE1CC77B3E725FF8613AB84B1CE3FDDB1AA9328F27BF43C2C144A683C8999942857947E1D9275348996691493C2E09B93AA8F7E0E98D66C14D7039C6F19666A1296F5D5ED9ACD1FDA975D2A3B1C587BFBC5870526C7FD59C8A329317EF20CC16B5AA43C39C097D803B8360A6D09AE898F75F1167F374588C5F2223C69ECE2258C77D28787E1A4D44F4ECBD8F5DF07A2EB3BBFF13FB515C42FD4C3985
2018-02-15 21:48:49,726 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Encrypted. len=160
2018-02-15 21:48:49,727 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Running whole packet checksum
2018-02-15 21:48:49,731 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - Whole packet checksum: c065
2018-02-15 21:48:49,732 [qtp19308472-18] DEBUG com.github.mob41.blapi.pkt.CmdPacket - End of CmdPacket constructor
2018-02-15 21:48:49,733 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - sendCmdPkt - Send Command Packet bytes: 5AA5AA555AA5AA5500000000000000000000000000000000000000000000000065C000002A276A00B5D334EA34E3C0F024A2D13A0EC7000073D40E65DE1CC77B3E725FF8613AB84B1CE3FDDB1AA9328F27BF43C2C144A683C8999942857947E1D9275348996691493C2E09B93AA8F7E0E98D66C14D7039C6F19666A1296F5D5ED9ACD1FDA975D2A3B1C587BFBC5870526C7FD59C8A329317EF20CC16B5AA43C39C097D803B8360A6D09AE898F75F1167F374588C5F2223C69ECE2258C77D28787E1A4D44F4ECBD8F5DF07A2EB3BBFF13FB515C42FD4C3985
2018-02-15 21:48:49,734 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - DESTIP: <IP_ADDRESS>
2018-02-15 21:48:49,735 [qtp19308472-18] DEBUG com.github.mob41.blapi.BLDevice - DESTPORT: 80
2018-02-15 21:48:49,751 [qtp19308472-18] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - RM2 Device data return: <<<5AA5AA555AA5AA55000000000000000000000000000000000000000000000000F8CDF9FF2A27EE03B5D334EA34E3C0F024A2D13A0EC700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>>>

tcpdump & debug of the same request
tcpdump-debuglog.zip

Ok, reverted a change in the auth code. RC20 is up. IF this doesn't work, I will need to really dig into it as it looks at one point I had the correct auth logic running.

I still only see RC19 available

whoops, uodated

2018-02-16 17:58:11,145 [main] INFO  com.bwssystems.HABridge.BridgeSettings - reading from config file: data/habridge.config
2018-02-16 17:58:11,219 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v5.2.0RC19) initializing....
2018-02-16 17:58:11,219 [main] INFO  spark.staticfiles.StaticFilesConfiguration - StaticResourceHandler configured with folder = /public
2018-02-16 17:58:11,220 [main] INFO  com.bwssystems.HABridge.SystemControl - System control service started....
2018-02-16 17:58:11,221 [Thread-16] INFO  spark.embeddedserver.jetty.EmbeddedJettyServer - == Spark has ignited ...
2018-02-16 17:58:11,221 [main] INFO  com.bwssystems.HABridge.util.UDPDatagramSender - Initializing UDP response Socket...
2018-02-16 17:58:11,221 [Thread-16] INFO  spark.embeddedserver.jetty.EmbeddedJettyServer - >> Listening on <IP_ADDRESS>:80
2018-02-16 17:58:11,221 [main] INFO  com.bwssystems.HABridge.util.UDPDatagramSender - UDP response Socket initialized to: 50000
2018-02-16 17:58:11,221 [main] INFO  com.bwssystems.HABridge.plugins.http.HTTPHome - HTTP Home created.
2018-02-16 17:58:11,221 [main] INFO  com.bwssystems.HABridge.plugins.harmony.HarmonyHome - Harmony Home created. No Harmony devices configured.
2018-02-16 17:58:11.221:INFO:oejs.Server:Thread-16: jetty-9.4.z-SNAPSHOT2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.NestBridge.NestHome - Nest Home created. No Nest configured.
2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.hue.HueHome - Hue passthru Home created. No Hue passtrhu systems configured.
2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.hal.HalHome - HAL Home created. No HAL devices configured.
2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.mqtt.MQTTHome - MQTT Home created. No MQTT Clients configured.
2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.hass.HassHome - HomeAssistant Home created. No HomeAssistants configured.

2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome - HomeWizard Home created. No HomeWizard gateways configured.
2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.exec.CommandHome - Command Home for system program execution created.
2018-02-16 17:58:11,222 [main] INFO  com.bwssystems.HABridge.plugins.tcp.TCPHome - TCP Home created.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.udp.UDPHome - UDP Home created.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.vera.VeraHome - Vera Home created. No Veras configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.fibaro.FibaroHome - Fibaro Home created. No Fibaros configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.domoticz.DomoticzHome - Domoticz Home created. No Domoticz devices configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.somfy.SomfyHome - Somfy Home created. No Somfys configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.lifx.LifxHome - LifxDevice Home created. No LifxDevices configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.openhab.OpenHABHome - OpenHAB Home created. No OpenHABs configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.fhem.FHEMHome - FHEM Home created. No FHEMs configured.
2018-02-16 17:58:11,223 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink discover....
2018-02-16 17:58:11.224:INFO:oejs.session:Thread-16: DefaultSessionIdManager workerName=node0
2018-02-16 17:58:11.224:INFO:oejs.session:Thread-16: No SessionScavenger set, using defaults
2018-02-16 17:58:11.224:INFO:oejs.session:Thread-16: Scavenging every 660000ms
2018-02-16 17:58:11.226:INFO:oejs.AbstractConnector:Thread-16: Started ServerConnector@231e3d{HTTP/1.1,[http/1.1]}{<IP_ADDRESS>:80}
2018-02-16 17:58:11.226:INFO:oejs.Server:Thread-16: Started @92738ms
2018-02-16 17:58:12,498 [qtp9968991-27] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-16 17:58:14,507 [qtp9968991-30] INFO  spark.http.matching.MatcherFilter - The requested route [/description.xml] has not been mapped in Spark for Accept: [application/json, text/plain, */*]
2018-02-16 17:58:16,225 [main] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Adding Device to Map - host: <IP_ADDRESS>, device Type: RM 2 Pro Plus, mac: 34:ffffffea:34:ffffffc7:ffffff91:3b
2018-02-16 17:58:16,225 [main] INFO  com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - Broadlink Home created.
2018-02-16 17:58:16,245 [main] WARN  com.bwssystems.HABridge.dao.GroupRepository - Error reading the file: data\group.db - Does not exist or is not readable. continuing...
2018-02-16 17:58:16,246 [main] INFO  com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started....
2018-02-16 17:58:16,247 [main] INFO  com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started....
2018-02-16 17:58:16,248 [main] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsResource - Description xml service started....
2018-02-16 17:58:16,272 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener starting....
2018-02-16 17:58:16,340 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener running and ready....
2018-02-16 17:58:50,485 [qtp9968991-34] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - executing HUE api request to send message to BroadlinkDevice: "{\"id\":\"<IP_ADDRESS>-272a\",\"name\":\"RM 2 Pro Plus\",\"command\":\"ircommand\",\"data\":\"260096006f6d1d521d511e1b1d511d521d511e511d521d1b1d1b1d1b1d1b1d1a1d521d1b1d1b1d1b1d1b1d1b1d511d521d521d0004cd6f6d1e511d521d1b1d511d521d521d511d521d1b1d1b1d1b1d1b1d1b1c521d1b1d1b1d1b1d1b1d1b1d511d521d521d0004cd706c1d521d521d1b1d511d521d521d511d521d1b1d1b1d1b1d1b1d1b1d511d1b1d1b1d1b1d1b1d1b1d521d511d521d000d050000\"}"
2018-02-16 17:58:50,486 [qtp9968991-34] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - calling BroadlinkDevice: RM 2 Pro Plus
2018-02-16 17:58:50,651 [qtp9968991-34] DEBUG com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome - RM2 Device data return: <<<5AA5AA555AA5AA5500000000000000000000000000000000000000000000000098CBF9FF2A27EE038FEE34EA34C7913B0600000075D600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>>>

Nothing sent from Broadlink No LED light flicker either.

tcpdump-debuglog.zip
Same procedere as every year James

For information - regarding my problem "HA bridge device list empty":
This problem was gone again with RC17.

Having experienced this with an old RC build my self on a Windows 10 laptop. I decided to download and test this version on it as well.
Prior to downloading I noticed my java was very outdated So this may have been my original issue.
On starting all my devices were seen however no Broadlinks were.
I renamed my old Bridge configuration file then started the bridge again this time it found a Broadlink device. So My issue looks like it may have been an outdated Java and configuration file.

Alright, RC22 out there  and I think I have it replying properly for RM devices. I'm having issues with SP devices currently. Give it a go

No luck for me on the RM front.  No error message, but no workie either.  I noticed on my other bridge that a MAC addresss is used, not just IP.  Dunno what I'm talking about, but just thought I'd mention it.
Cheers.

Yep, tried it at home and nothing either

@bwssytems it wants user/password?

@hphde Something must have changed in your settings. It should not have changed.
So far in my debugging and using the python library as my test base. It seems that the datagram message from Java is not being responded too even though it is setup the same as the python call. Doing alot of network tracing to resolve.

Well found the issue. packet checksum calculator is not working.

Ok, found that java bytes don't behave the same way in python. Needed to ensure unsigned values for checksum. Let's give this a try. RC23 is up

No luck, I'm afraid.  It just says 'Error' in the debug log, but no details/error message.

it works for me!!!!!!!
Yahooo!

@bwssytems  great job!
Now I just need to test with the rest of my devices to make sure everything else is working and add a few more IR devices.
I'll also test some RF devices

Ok RF devices work as well!

I messed up the RF code as it had %22%7D from an HTTP link.  It works for me too now, thanks.

I can confirm partial success. IR commands now work for me. With RF I had partial success. One was working, the other not. The one that wasn't working didn't show any error on the UI. Then I realized the JSON request received a 500.
2018-03-06 09:46:48,794 [qtp12509699-14] ERROR com.github.mob41.blapi.pkt.CmdPacket - Cannot encrypt payload! Aborting
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes

The working codes had a length of 728 = 4516+8, the failing ones of 468 = 2916+4. I added four zeros and et'voila, they also worked.
For the user/password thing I rolled back to 5.1.0 which gave me no user, then I added a user. After that I was able to use RC23 with user and password. After deleting the user everything was fine again.

I found using the add  Broadlink device adds some unneeded info for the device.
I'm able edit the device and remove  the ON/of/dim item type and  the map id and the device still works.

After some debugging today, I believe I have it all working.
To make sure the new version works properly, you will need to delete and recreate your devices with the builder. More information is needed in the device URLs to guarantee it is working.
RC24 is up

I deleted my broadlink device, and recreated it, and it works well to send my RF, but device discovery in Alexa no longer works.  Went back to 5.1.0 and they all show up again.

I am not having any issues with discovery in RC24. @tuicemen Can you discover?

@hdhpe I did find an issue with the padding for encryption. You won't have to manually add anything next time.

@bwssytems so padding doesn't work. The good thing: An error appears in the GUI instead of just a 500 in the background.
For discovery I have the same as @quadhammer - the newly added device doesn't appear

Please turn on trace upnp

I have no issues with discovery

ha-bridge.jar.log

@hphde I assume your echo is at <IP_ADDRESS>?

@hdhpe I also changed the description xml to not return an empty service list and added a delay between upnp sends. You may want to lower the delay time in the bridge settings.

@bwssytems .160, .159, .49 and .29

Changed UPNP Send Delay from 1500 to 1000 - that did the job

RC25 is up, should be good with broadlink now

Well, not perfect yet....

Alright uploaded new RC25

I still have to kick in discovery twice in a row. What's recommended for UPNP Send Delay?

@hdhpe This was found by another user and as the spec shows it is a number between 500 milis and 1.5 secs for upnp. I would go down to 500 to see where that gets you.

650 seems to be "it" for me. 700 was still not working.

@quadhammer In your 'Bridge Control' tab, do you have "Broadlink Support" checked?

@hphde  I think I will default the upnp delay to be 650 as @quadhammer had tuned it down and it is working as well. 1000 may be too high.

Released 5.2.0, closing this thread.

I also tried 100ms, this at least solved the issue "I don't know what went wrong".
Also, I moved HA Bridge to a dedicated Raspberry Pi Zero W that is only running HA Bride on Raspbian Stretch. On my other raspbian, I also had an OpenVPN-Access-Gateway, ISC-DHCP-Server, Apache2, PHP5 and MySQL running. All have very little to do, but however the various network usage might have interfered with HA Bridge and the comlicated UPNP system?

@heikoh81 glad to hear it is all good

Thank.
I also want to thank you for offering and continously developing HABridge :-)


Save highest ex level of unit and auto select it in the builder.

Save the exRank field during import with the user's owned units.
When a unit is selected in the builder, use the it's ex level by default instead of always selecting 1. If the unit isn't owned or the rank is not available (say because they haven't imported their units after this change) it will still default to 1.

The ownedUnits variable is overwritten in the builder page and I didn't want to make extensive changes so I saved the actual owned units return value and use it.


[Feature]: Change data type for remote port number from INT to 8 byte integer

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
When you try to save remote destination connection with port number higher than 4096 it produce db save error
Why should this be worked on?
Currently, you can't set port number for remote connections higher than 4096 because of prisma db data type. This number needs to be increased

I think the problem is not with the data type. SQLite's INTEGER data type is a maximum of 8 bytes. The problem is how Coolify saves it. I fixed it in the next version.


Unused variables with type casting

I don't understand why these lines are here? @honfika do they serve a purpose that I am not seeing?
https://github.com/justcoding121/Titanium-Web-Proxy/blob/42e35359878e6f14870697a5deedf853938d1c5a/examples/Titanium.Web.Proxy.Examples.Wpf/MainWindow.xaml.cs#L274
https://github.com/justcoding121/Titanium-Web-Proxy/blob/42e35359878e6f14870697a5deedf853938d1c5a/examples/Titanium.Web.Proxy.Examples.Wpf/MainWindow.xaml.cs#L281

It is just a copy-paste from the other events. This is only a sample project, it contains a lot of unused/commented code.


Frontend Technology

Did the frontend team agree on a frontend tech stack?
The backend is being designed as a rest API, so I assume a single page app? Angular? React?
I use Angular 1.x at work and have used it for personal projects. If you all want to use it, I can help people get started if they'd like.
Also, assuming some frontend javascript framework is powering it, what would serve up that static content? Django? A webserver like nginx? Usually, you want to place something like nginx in front of you app server, it could also serve the static content. We could use nginx to server the static content and forward /api/ traffic to the django REST API. Could also forward a path to neo4j if you want to avoid cross site scripting. Nginx also has some rate limiting plugins.

We use Angular 1.X in our lab, so this would make it easier for our group to maintain this. Unless there is a strong reason to choose another technology I'd lean towards Angular 1.X or 2.X (only if 2.X is more valuable from a learning point of view though).
@awm33's description of nginx serves static & forwards /api/ to REST is our preferred setup. I like the idea of also using nginx to forward to neo4j for the hetnet component. Thanks!

Direct future discussion on this topic to https://github.com/cognoma/frontend/issues/3. Cheers!


invalid endpoint https://autoupdate.msappproxaxy.net

Hello,
Endpoint https://autoupdate.msappproxaxy.net/ does not resolve.
I think this should be https://autoupdate.msappproxy.net/ ?
Thank You

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 23e000f0-84ce-7ec7-e5ed-4bd9c49f5d49
Version Independent ID: e636b9d1-be81-0f00-97c4-ff4fa9078be3
Content: Deploy on-premises Azure AD Password Protection - Microsoft Entra
Content Source: articles/active-directory/authentication/howto-password-ban-bad-on-premises-deploy.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@jd1984
Thanks for your feedback! We will investigate and update as appropriate.

@jd1984
Yes, you are correct. The correct endpoint is https://autoupdate.msappproxy.net/. Thank you for bringing this to our attention.
We have performed the require change and it will reflect soon in the document.

Thanks


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for quiet-chimera-c1d66f processing.

Name
Link

🔨 Latest commit
51d9d5c2add81352ae9d5956784e79cfca39e427

🔍 Latest deploy log
https://app.netlify.com/sites/quiet-chimera-c1d66f/deploys/64e24dfd1e925900081d8974