Harmony Home Hub

I got the hub up and running, connected to smartthings, and discovered my devices. I assigned the lights to a button on the remote and it powers them on and then they turn back off.

@thegibertchan any ideas?

Have you watched your ST IDE logs to see if there are any clues as to why the lights are going back off? Maybe there’s another SmartApp or something else interacting with them?

Also while you are at the logs can you confirm that there is an out of index exception on line 38 for the harmony home hub even though they may not be related.

I think this was fixed. Let me know if it’s not.

It was fixed but have started seeing it again. Even couple of minutes back.

Just grabbed it from the log:

3acd9e02-2730-4acf-a482-a0df7f94361c ‎1‎:‎41‎:‎25‎ ‎PM: error java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

3acd9e02-2730-4acf-a482-a0df7f94361c ‎1‎:‎41‎:‎25‎ ‎PM: debug Parsing ‘index:01, mac:000420EE90D2, ip:0A000103, port:201E, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==, body:W10=’

3acd9e02-2730-4acf-a482-a0df7f94361c ‎1‎:‎38‎:‎38‎ ‎PM: error java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

3acd9e02-2730-4acf-a482-a0df7f94361c ‎1‎:‎38‎:‎38‎ ‎PM: debug Parsing ‘index:01, mac:000420EE90D2, ip:0A000103, port:201E, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==, body:W10=’

I am getting the same thing Ron.

** java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 276**

But the error I am seeing is in the TCP device logs.

I am also seeing the error

java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

On the harmony hub logs.

Yeah I posted it for the harmony home. And btw, did you notice if you have Philips hue bulbs, the harmony home app recognizes its state irrespective of how it was turned on? That’s cool! But I got the harmony just for the heck of it and never used it for automation except for playing around with its integration with ST and needed a second remote anyways. Only use it for A/V functions. :smile:

The harmony smart app is just throwing errors. Does not show the current activity.

java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

@tyler is right though. This issue was long reported and fixed long back but apparently has come back.

@smart

We had our team look at your logs. It seems that the Port was parsed incorrectly during device setup. We fixed it for your account. Let us know if you’re still seeing this.

1 Like

@jodyalbritton

I’ll continue to explore your issue tomorrow. Will let you know if I can identify the issue.

I haven’t seen this in my own use however.

By any chance is this a dimmer? Can you try setting the dimmer levels and see if the same behavior continues.

Thanks! Will really appreciate if you can shed some more light on this for our benefit.

It is a dimmer and I am not sure how to set the dimmer levels in the harmony app. The dimmer buttons on my remote do not do anything.

That’s weird, the dimmer buttons on the remote work with my Linear dimmer switches. It’s a little awkward that they only work for whatever light you turned on last, but it works for my needs and means I only need the one remote for the entire living room!

Ok. In the app, long pressing the light reveals a dimmer slider. If I set the dimmer to maximum and then turn the light on it stays on. If I don’t do that it turns off immediately.

I’m still seeing the errors on the Harmony Hub as well…how can I fix them?

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:32 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:32 AM:
	debug
	Parsing 'index:01, mac:000420EEC2A6, ip:C0A80103, 
port:201E, 
headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==,
 body:W10='

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:31 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:31 AM:
	debug
	Parsing 'index:01, mac:000420EEC2A6, ip:C0A80103, 
port:201E, 
headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==,
 body:W10='

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:24 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:24 AM:
	debug
	Parsing 'index:02, mac:000420EEC2A6, ip:C0A80103, 
port:201E, 
headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==,
 body:W10='

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:24 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:24 AM:
	debug
	Parsing 'index:01, mac:000420EEC2A6, ip:C0A80103, 
port:201E, 
headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==,
 body:W10='

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:15 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:15 AM:
	debug
	Parsing 'index:02, mac:000420EEC2A6, ip:C0A80103, 
port:201E, 
headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==,
 body:W10='

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:14 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:50:14 AM:
	debug
	Parsing 'index:01, mac:000420EEC2A6, ip:C0A80103, 
port:201E, 
headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==,
 body:W10='

	0aff9105-1622-4513-bd1d-7e90db4a2791
	9:49:21 AM:
	error
	java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38

I have my Hub integrated into SmartThings, but I don’t have any activities/apps doing anything with it yet. I notice nothing is in my logs and the “Current Activity” isn’t being updated. Is this because it only logs/tracks what you do through SmartThings and if I use the physical remote, it doesn’t get that data?

I can not control my lights and the harmony hub device in my list of things does not show the current activity, nor does it provide a list of activities to other smart apps. Getting this error again

e5bd6f97-007f-489f-8ff4-dd29a3409ba0 9:12:03 AM: error java.lang.StringIndexOutOfBoundsException: String index out of range: 184 @ line 38
e5bd6f97-007f-489f-8ff4-dd29a3409ba0 9:12:03 AM: debug Parsing 'index:01, mac:000420EE1519, ip:C0A801C9, port:201E, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1jYWNoZQ0KUHJhZ21hOiBuby1jYWNoZQ0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2luOiAqDQpDb250ZW50LUxlbmd0aDogMg==, body:W10='