NosIreland / solismon3

A collection of utilities to interact with Solarman Data Logging Sticks
38 stars 11 forks source link

invalid decimal literal for wifi stick serial number. #6

Closed wawyed closed 1 year ago

wawyed commented 1 year ago

My wifi stick serial number is hexadecimal, so I get this error

2023-01-26 20:01:06 SyntaxError: invalid decimal literal 2023-01-26 20:02:06 Traceback (most recent call last): 2023-01-26 20:02:06 File "/solismon3/./main.py", line 2, in 2023-01-26 20:02:06 import config.config as config 2023-01-26 20:02:06 File "/solismon3/config/config.py", line 1 2023-01-26 20:02:06 INVERTER_SERIAL = XXXXXXXXXX # WiFi stick serial number 2023-01-26 20:02:06 ^ 2023-01-26 20:02:06 SyntaxError: invalid decimal literal

wawyed commented 1 year ago

NVM I just saw that my wifi stick is not supported...