zaptec icon indicating copy to clipboard operation
zaptec copied to clipboard

Exceed maximum size of 16384 bytes

Open Howard0000 opened this issue 2 years ago • 2 comments

Hei

I get this. 2024-01-13 115843

Howard0000 avatar Jan 13 '24 11:01 Howard0000

This happens because all parameters from zaptec cloud are added to the attributes of this entity. This was the way the version <0.7 of zaptec integration stored the data. I think the reason you get this is that the dataset is getting too big.

We might need to remove some parameter to ensure we get below the 16k limit. Do you have any attributes in that entity that are particularly big or long?

sveinse avatar Jan 14 '24 10:01 sveinse

Hi

Production test results and Completed session are long.

Howard0000 avatar Jan 14 '24 10:01 Howard0000

@Howard0000 what is the precise name for the attribute that contains the "Production test results"? To be able to filter it away, I need to

It would be nice if you could share a diagnostics file. Settings -> Devices and Services -> Devices -> <Select your charger> -> Press DOWNLOAD DIAGNOSTCS which is found under "Device info". The file is anonymized and should not contain any personal data (but bugs might exists, so please double check).

sveinse avatar Sep 19 '24 21:09 sveinse

Thank you @Howard0000, there were indeed very large attributes in the dataset from your charger. This helped me make a fix for filtering them out. 👌

sveinse avatar Sep 20 '24 20:09 sveinse

A fix for the issue have been pushed to master. Please install the "master" version and test if this fixes the observed problems. @Howard0000

sveinse avatar Oct 22 '24 18:10 sveinse

It seems HACS have removed the option of downloading "master", so I've created a beta/pre-release "0.7.2b1" available for download and test.

sveinse avatar Oct 22 '24 19:10 sveinse