skagmo / meter_reading

21 stars 12 forks source link

Get this working with python3 #1

Open deve87 opened 4 years ago

deve87 commented 4 years ago

Hi.

I'm trying to get you'r code to work with python3. I think that it has something to do with crcmod. I can see that crcmod.mkCrcFun(0x11021, 0xffff, True, 0x0000) in aidon_obis.py gives me different outputs from python2 to python3.

Any idea why this happens?

Alpoy commented 3 years ago

Think I got it working with python3 with some modification (no guarantees, works for me)

aidon_obis.txt

arobertn commented 2 weeks ago

Done in this fork