Attribute value for hubMeshData exceeds 1024, current size = 1044, truncating to 1024

C7,2.4.0.151
Ony thoughts?

The error is saying you have an Attribute (Current State) that is 1044 characters, which you are trying to share vis Hub Mesh, which exceeds the limit of 1024.

Please post screenshots of errors.

Ok now click on where it says "error" to open the device page, and show a screenshot of the current states. Looks like it is a bunch of different devices, maybe all using the same driver?

It seems to point back at hubinfo.
I thought i had seen a report of this, or a similar error.

All those devices are Hub Info? Each error is from a different device from the looks of it. Unless those are all meshed from other hubs?

If you have the summary setting enabled (forget what it is called), it may be creating an attribute that is too large.

@woodsy I’d be interested in seeing what that attribute contains if you wouldn’t mind sending it to me in a PM. Should only be pulling the Name, IP, mesh status and Protocol for each hub in your mesh.

All meshed, 11 total.
Just added #11, error started.trying to get attribute value.

Third request for a screenshot of the Current States if you still want help.

He sent it to me. Driver is working correctly just a large number of hubs. Looks like I can save about 20 characters per hub though as HE removed the protocol data when they eliminated UDP as an option and I forgot to remove it from the driver.

If you’re comfortable editting the driver you could change lines 926 and 927 from:

                jStr+="\"ipAddress\":\"$it.ipAddress\","
                jStr+="\"meshProtocol\":\"$h2Data.hubMeshProtocol\"}"                          

to

                jStr+="\"ipAddress\":\"$it.ipAddress\"}"
//                jStr+="\"meshProtocol\":\"$h2Data.hubMeshProtocol\"}"                          

I’ll be making that change in the production code shortly.

2 Likes

I will grateully wait, 926,927 are not even close.
I think this a 2022 version.
2023 01 03 ?

I did a quick patch to the driver if you want to reimport the code or do a Repair from HPM.

3 Likes

Thank you for your help, now working great across the board.

1 Like