Page 1 of 1

Script or plugin to parse car charging status

PostPosted: Sat Apr 25, 2015 11:23 am
by durosity
Howdy folks

I'm looking for some way to get some 'simple' data from a website that i can then display on a control page.. unfortunately there isn't an API for it. I'd like it to be able to pull the data for:
Battery Charge Level (Percentage)
Estimated Range (Miles)
Charge Status (Various different states)
Charge Cable Plugged In (Yes or No)
Last Updated (Date and Time)

I'd also like it to be able to send a request for:
Refresh Data
Start Charge Now
Turn on A/C
Have A/C Ready for a specified time (It then requests the HH:MM value)

There's a fair few other things the site can do but i'm not interested in them.. like the ability to schedule charges (although for some insane reason Renault decided for this to work you have to turn the engine on in the car. So why bother doing it through a website when frankly the in car programmer is easier to use? I dunno.. it does seem the french car developers are just slightly mad.. usually in a good way!)

Unfortunately you can't access the website without a login, so if anyone out there fancies tackling this i'd gladly give you temp access to it :) Also i'm really not sure how much ££ this would cost.. would £50 be cheeky?

PM me if you can help me out with this!

Re: Script or plugin to parse car charging status

PostPosted: Sun Apr 26, 2015 10:20 am
by matt (support)
Perhaps Beautiful Soup or Scrapy could help?

I've never used either, but am curious as to how well they work. So please post back if you end up trying them out.

Re: Script or plugin to parse car charging status

PostPosted: Sun Apr 26, 2015 10:59 am
by durosity
I'll give them a look! My Python skills are weak but I do want to learn.. This may help! Thanks

Re: Script or plugin to parse car charging status

PostPosted: Sun Apr 26, 2015 11:49 am
by roussell
I've never used Scrappy, but Beautiful Soup should be able to do it. I may have to play with Scrappy, it looks interesting. Durosity, does the vehicle have a plugin for IFTTT, or one of the other social feeds that you could exploit rather than trying to go directly to the web page?

Terry

Re: Script or plugin to parse car charging status

PostPosted: Sun Apr 26, 2015 1:10 pm
by durosity
Unfortunately not, no and it'd seem the team that developed it has been moved onto the next generation system so they won't have anything to do with it anymore (next model is due out late '17). So unfortunately I'm on my own.

Re: Script or plugin to parse car charging status

PostPosted: Sun Apr 26, 2015 3:13 pm
by howartp
I wonder where the idea for this thread came from...? ;-)

Just found this: http://myrenaultzoe.com/index.php/topic ... e-app-api/