Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Errors on all commands #5

@stopeject

Description

@stopeject

I didn't do anything with the openevse plugin for a while. Tried it today, and getting errors on all commands:

gt@U18:~$ python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import openevse
>>> print (openevse.WifiOpenEVSE('10.0.0.7').status())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gt/.local/lib/python3.6/site-packages/openevse.py", line 254, in status
    done, data = self._request('GS')
  File "/home/gt/.local/lib/python3.6/site-packages/openevse.py", line 898, in _request
    match = self.regex.match(resp.read())
TypeError: cannot use a string pattern on a bytes-like object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions