You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pyvantagepro import VantagePro2
import datetime as d
s = d.datetime.strptime('2020-01-16 19:00:00','%Y-%m-%d %H:%M:%S')
f = d.datetime.strptime('2020-01-16 19:30:00','%Y-%m-%d %H:%M:%S')
device = VantagePro2.from_url('tcp:192.168.0.106:22222')
data = device.get_archives(s,f)
File "/usr/local/lib/python3.7/dist-packages/pyvantagepro/parser.py", line 66, in checksum
for byte in array(str('B'), bytes(self.data)):
TypeError: string argument without an encoding
is this a problem with python3?
UPDATE
Working fine in python2.7
The text was updated successfully, but these errors were encountered:
is this a problem with python3?
UPDATE
Working fine in python2.7
The text was updated successfully, but these errors were encountered: