Closed sandnabba closed 1 year ago
I will also check this issue.
From what I can see the setRTS function is deprecated but setting RTS is still valid to configure a serial connection with.
Removing this line like breaks other meters.
I will look into making this a cli flag / config option
@sandnabba thanks for making the effort and a Pull Request 👍
New tag 2.9.2
created.
Hello!
I'm trying to use your awesome lib to build a Prometheus exporter. :) However, I've run into some issues.
First is that
setRTS(False)
(meter.py:36 ) seems to break the program for me:Commenting this line "solves" this issue for me. I'm not an expert in serial communication, but if this line is required for someone else, I think it should be a configuration option.
Also, the setRTS() parameter seems to have been deprecated: https://pyserial.readthedocs.io/en/latest/pyserial_api.html#serial.Serial.setRTS
Best regards