Error message (Logitech Harmony Hub Community Driver)

i have integration with Logitech, it turns on all of my home theater gear, been working great for a while now.

As of the last few days when i try to run the rule I created to turn on my NHL team, I get the following:

2019-10-07 02:55:42.652 pm errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 4990 (appButtonHandler)

Debug when running the command shows the following:

Unhandled data from Harmony Hub. json = {"cmd":"harmony.engine?helpdiscretes","code":100,"id":"0","msg":"Continue","data":{"isHelpDiscretes":"true","done":"1","total":"4","deviceId":"42631046"}}

What Logitech integration are you using?

This does not appear to be coming from my Logitech Harmony Hub Parent driver, as mine only has 546 lines of code in it. :wink:

If this is coming from my Harmony Hub Parent driver, it can safely be ignored. It just means that the driver received some data from the Harmony Hub that it does not have any code written to handle, as that data is not necessary for the current features of the driver. This is harmless.

Please show the rule in question. Does it have dimmer fade in it? That's what the error is coming from.

1 Like

So here is what is happening:

I removed all of the Harmony drivers, etc since nothing was working.
I added the driver and child switch back into Hubitat as the instructions layout.

The Harmony device gets added, and the child devices get added as well>
When i go into one of the child devices and select ON, nothing happens at all, Nothing shows up in the logs, No error messages, zilch.

If I go into that same device and select "OFF" i get the follwing error:

dev:9032019-10-07 07:54:10.439 pm infoUnhandled data from Harmony Hub. json = {"cmd":"harmony.engine?helpdiscretes","code":200,"id":"0","msg":"OK","data":{"activityId":"-1"}}

dev:9032019-10-07 07:54:10.424 pm infoUnhandled data from Harmony Hub. json = {"cmd":"harmony.engine?helpdiscretes","code":200,"id":"0","msg":"OK","data":{"isHelpDiscretes":"true","done":"4","total":"4","deviceId":"42631116"}}

dev:9032019-10-07 07:54:09.416 pm infoUnhandled data from Harmony Hub. json = {"cmd":"harmony.engine?helpdiscretes","code":100,"id":"0","msg":"Continue","data":{"isHelpDiscretes":"true","done":"3","total":"4","deviceId":"42631046"}}

dev:9032019-10-07 07:54:09.237 pm infoUnhandled data from Harmony Hub. json = {"cmd":"harmony.engine?helpdiscretes","code":100,"id":"0","msg":"Continue","data":{"isHelpDiscretes":"true","done":"2","total":"4","deviceId":"55054186"}}

dev:9032019-10-07 07:54:09.219 pm infoUnhandled data from Harmony Hub. json = {"cmd":"harmony.engine?helpdiscretes","code":401,"id":"0","msg":"Bluetooth not paired","data":{"isHelpDiscretes":"true","done":"1","total":"4","deviceId":"55054186"}}

dev:9032019-10-07 07:54:04.824 pm debugstopActivity() called...

Can't help you this way. To make logs readable, use a screenshot instead of copy/paste.\

What happened to showing the rule you were using?

The device image is the list of devices the driver imported, logs show what happens when i press the OFF button inside the Bruins device.
Again, if i press ON nothing at all happens, no logs get generated, the items don't turn on.
It's the weirdest thing...

i remove and re-add, Harmony devices get added, the second image shows them all being inserted into Hubitat. I still cannot get the device to turn on in any manner. I hit ON and it does nothing, still no logs either.

This log is what i get if i kick off the activity from within the actual harmony Remote App on my Iphone.

To add, the rule is irrelevant in this issue, I had old rules created to run actions when the Harmony child switch was turned on (turn on my home theater lights, adjust my next thermostat)
I have removed those rules to simply troubleshooting.

So, I just tested my Harmony Hub driver using the Hubitat device details page for one of my "Child Switch" Activities. I was able to manually turn on and off the activity without any issues whatsoever. I'm not sure what is going on with your setup.

  • Have there been any recent changes to your home network?
  • Have you tried pulling power from the Harmony Hub and plugging it back in (i.e. reboot the Harmony Hub)?
  • Any other possible changes in your setup?

Nothing has changed in my setup except for recent code updates. No network changes either.
I am going to unplug the hub now and see if that makes a difference.

What's interesting is that when you set up the Harmony Hub Parent device, it sends a webSocket command to the Harmony Hub. The response from this command is what is used to create all of the child switch devices for each Harmony Activity. Thus, we know that two-way communication is functioning.

It is always possible that Logitech is pushing out new firmware to their Harmony Hubs in waves, and you just happen to have received an updated version of firmware that changes their webSocket interface. This is just a guess. Please let me know what firmware version your Harmony Hub is running. My Harmony Hubs appear to be running version 4.15.250.