Script or plugin to parse car charging status

Posted on
Sat Apr 25, 2015 11:23 am
durosity offline
User avatar
Posts: 3925
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Script or plugin to parse car charging status

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!

Computer says no.

Posted on
Sun Apr 26, 2015 10:20 am
matt (support) offline
Site Admin
User avatar
Posts: 19719
Joined: Jan 27, 2003
Location: Texas

Re: Script or plugin to parse car charging status

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.

Image

Posted on
Sun Apr 26, 2015 10:59 am
durosity offline
User avatar
Posts: 3925
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Script or plugin to parse car charging status

I'll give them a look! My Python skills are weak but I do want to learn.. This may help! Thanks

Computer says no.

Posted on
Sun Apr 26, 2015 11:49 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: Script or plugin to parse car charging status

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

Posted on
Sun Apr 26, 2015 1:10 pm
durosity offline
User avatar
Posts: 3925
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Script or plugin to parse car charging status

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.

Computer says no.

Posted on
Sun Apr 26, 2015 3:13 pm
howartp offline
Posts: 3895
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Script or plugin to parse car charging status

I wonder where the idea for this thread came from...? ;-)

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest