dkruyt / ginlong-scraper

A python script that scrapes PV statistics from the Ginlong monitor pages and outputs it to influxdb, pvoutput or mqtt
GNU General Public License v3.0
48 stars 30 forks source link

ERROR ValueError : could not convert string to float #19

Open MetPhoto opened 3 years ago

MetPhoto commented 3 years ago

The script is pulling down data, but produces an error while processing it.

{"commandType": "02", "updateDate": 1615549672000, "type": 3, "gatewayModel": "MW-3238071", "sn": "??????????"}}}} 2021-03-12 16:30:15,391 ERROR ValueError : could not convert string to float:

The 'sn' field is a 10 digit number, obfuscated in the example above.