ioBroker.modbus icon indicating copy to clipboard operation
ioBroker.modbus copied to clipboard

Request: Double (Float64) WordSwap Support

Open tops4u opened this issue 1 year ago • 1 comments

The Go.E Charger supports now the setting of the Energy in Wh to be charged (it will stop automatically afterwards). For some strange reasons they decided to use a Float64 Type for this (even though in the Mobile App the amount can only be set in kWh). For all other Values the Wallbox uses WordSwap on 32 Bit Integers. As the Double Big Endian Datatype does not work at all and little Endian gives strange results, I assume that a Word/Byte Swap is needed. Could you add this?

tops4u avatar May 12 '23 21:05 tops4u

That would be great!!! I did some research and it would need this format: AABBCCDDEEFFGGHH => GGHHEEFFCCDDAABB

Would be incredible if you could implement this. Many thanks!

Murlicat avatar Jun 11 '23 17:06 Murlicat