Hi,
I'm trying to support my Thermostat in Hubitat but for doing that I would need to convert this function from python to groovy:
def crc_count(bufer):
hash = crc8.crc8()
hash.update(bufer)
return hash.hexdigest()
Lib is here crc8/crc8.py at master 路 niccokunzmann/crc8 路 GitHub
Anybody has an idea?