Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.36k stars 1.69k forks source link

[Feature request]: Supporting ZCL UINT64 (and INT64) #24956

Open akira215 opened 6 days ago

akira215 commented 6 days ago

Is your feature request related to a problem? Please describe

In src/zspec/zcl/utils.ts, the type for UINT64 (0x27) and INT64 (0x2f) of zcl spec are not supported.

Describe the solution you'd like

Adding support for this 2 datatypes.

Describe alternatives you've considered

I'm developping custom zigbee devices. So I will implement custom attributes using UINT48 or UINT56 in the meanwhile, but I don't see any reason to limit usage of 64 bit integers. JS libraries as BigNumber or Int64 could help to manage that easly.

Additional context

Development of custom devices using long data type.

Koenkk commented 5 days ago

Could you make a PR to add these?