Skip to content

apreb/pycarwings2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is yet another way of controlling carwings. The python script serves as middleware to communicate with carwings. A set of node-red flows take care of user interface and may easily serve future rule deployment to request updates based on external events.

At the moment my personal implementation updates carwings automatically only when receiving carwings emails and avoid useless periodic updates that can hurt Nissan and/or the car's already poor management of the 12V battery.

Install

  • Raspberry pi with emoncms image
  • pip install git+https://github.com/apreb/pycarwings2.git
  • pip install paho-mqtt
  • Grab the files in the exemples directory and place them on /home/pi
  • copy the contents of "NODE-RED FLOWS" into node-red -> import -> clipboard
  • Check if any node needs attention and commit

Using

  • enter raspberry pi /home/pi
  • perform chmod +x carwings.py
  • change mqtt settings in the carwings.ini file
  • execute carwings.py
root@emonpi(rw):pi# ./carwings.py 

Invalid operand, please check below


usage:
       carwings.py [user] [password] [action]

[user]     - carwings username
[password] - carwings password
[action]
   - battlaststaus          - Request Last Status
   - battupdate             - Request Update
   - climateupdate          - Request Climate Update
   - climatestart           - Request Climate Start
   - climatestop            - Request Climate Stop
   - chargestart            - Request Charge Start
   - RateSimulation YYYYMM  - Request RateSimulation
   - driveanalysis          - Request driveanalysis
root@emonpi(ro):pi# 

credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%