nmakel / sdm_modbus

Eastron SDM Modbus data collection library
MIT License
45 stars 40 forks source link

Changed Endian.Big into Endian.BIG #30

Closed bosgnoom closed 1 year ago

bosgnoom commented 1 year ago

In order to get this module running on my Raspberry Pi.

pymodbus.constants uses Endian.BIG instead of Endian.Big

Linked issue

nmakel commented 1 year ago

Thanks for the heads up. Another breaking change by pymodbus, sigh. I've pinned pymodbus to 3.4.1 to stop this from happening. Your change should work fine and if you're already on 3.5.0 then this is probably the best course of action for you.

nmakel commented 1 year ago

Fixed.