Update readme, default sdkconfig

This commit is contained in:
Carsten Schmiemann 2022-04-06 01:12:45 +02:00
parent 8d40995708
commit 7297a88f2e
2 changed files with 41 additions and 12 deletions

View file

@ -671,8 +671,8 @@ CONFIG_OVMS_VEHICLE_RENAULTTWIZY=y
CONFIG_OVMS_VEHICLE_RENAULTZOE=y
CONFIG_OVMS_VEHICLE_MAXED3=y
CONFIG_OVMS_VEHICLE_KIASOULEV=y
CONFIG_OVMS_VEHICLE_VOLTAMPERA=y
CONFIG_OVMS_VEHICLE_BOLTEV=y
CONFIG_OVMS_VEHICLE_VOLTAMPERA=y
CONFIG_OVMS_VEHICLE_THINKCITY=y
CONFIG_OVMS_VEHICLE_SMARTED=y
CONFIG_OVMS_VEHICLE_SMARTEQ=y
@ -688,6 +688,7 @@ CONFIG_OVMS_VEHICLE_MG_EV=y
CONFIG_OVMS_VEHICLE_BMWI3=y
CONFIG_OVMS_VEHICLE_HYUNDAI_IONIQVFL=y
CONFIG_OVMS_VEHICLE_JAGUARIPACE=y
CONFIG_OVMS_VEHICLE_TOYOTARAV4EV=y
CONFIG_OVMS_VEHICLE_RXTASK_STACK=8192
CONFIG_OVMS_VEHICLE_CAN_RX_QUEUE_SIZE=60

View file

@ -9,11 +9,12 @@ Orignal project: https://github.com/openvehicles/Open-Vehicle-Monitoring-System-
The fork is fixed at Version 3.3.002 with their provided modified ESP-IDF
## To-Do List
* Integrate PIDs for reading values like odometer, battery cell voltage and so on, via OBD connector (because of gateway read-only)
* Accessing CAN bus after gateway to get full access to controllers use all available CAN bus interfaces OVMS hardware has
* Get more useful PIDs with direct access of CAN busses
* Try to control things like wake-up, charge control
* Implement own control routines like stopping charge after certain soc, try to control Cabine heaters to heat while charging (use debug commands to enable them)
- [ ] Integrate my server to assistant and server recommendation and add CA as well
- [ ] Integrate PIDs for reading values like odometer, battery cell voltage and so on, via OBD connector (because of gateway read-only)
- [ ] Accessing CAN bus after gateway to get full access to controllers use all available CAN bus interfaces OVMS hardware has
- [ ] Get more useful PIDs with direct access of CAN busses
- [ ] Try to control things like wake-up, charge control
- [ ] Implement own control routines like stopping charge after certain soc, try to control Cabine heaters to heat while charging (use debug commands to enable them)
## Releases
@ -21,9 +22,12 @@ Successful build will be uploaded to my own ovms-server at https://ovms.bit-clou
## Build
Clone my repository
Clone my repository and init submodules
```
git clone https://git.bit-cloud.de/carsten.schmiemann/OVMS3.git --recurse-submodules
git clone https://git.bit-cloud.de/carsten.schmiemann/OVMS3.git
cd OVMS3/
git submodule init
git submodule update
```
Install provided ESP IoT Development Framework
@ -33,22 +37,32 @@ cd OVMS.V3-idf/
./install.sh
```
Enable IDF
If you have trouble to install because another version of the IDF installed, delete the entire folder and try step above again
```
rm -rf ~/.espressif
```
Enable IDF (everytime you open a shell and want to compile project)
```
cd OVMS.V3-idf/
source export.sh
```
Go to OVMS Folder and build firmware
Go to OVMS Folder copy sdkconfig for your hardware and build firmware
In this example for hardware 3.1 and above. You can customize it via make menuconfig
```
cd OVMS.V3/
cp support/sdkconfig.default.hw31 sdkconfig
make -jX
```
X = number of cpu cores to speed up build process
Then upload built firmware to your webserver and flash it via OTA function in OVMS webinterface
Then upload built firmware to your webserver and flash it via OTA function in OVMS webinterface.
> Hint: If you build your first time, you need to execute make multiple times, because of downloading dependencies.
## Security concerns
@ -58,4 +72,18 @@ Many of used libraries are outdated too. For example mongoose webserver has a lo
I cannot fix these issues because I am not an experienced C programmer, I will focus on my vehicle integration.
I hope original project maintainers will fix them in the future, I know it is not an easy task because there a lot of changes in the IDF and dependencies.
I hope original project maintainers will fix them in the future, I know it is not an easy task because there a lot of changes in the IDF and dependencies.
## OVMS Server
I use my own OVMS server, because I love privacy. So there are no push available only E-Mail for notifications.
You can use it too if you want, just register a account and vehicle at https://ovms.bit-cloud.de and point your OVMS module at https://ovms-server.bit-cloud.de Port 6870 with TLS enabled.
You need to insert my CA into your OVMS3, because I cannot proxy it with nginx and letsencrypt certificates so I used self signed certs.
Create a file called ovms-ca at /store/trustedca with bult in editor in the webinterface. (Create folder if not exist)
Paste content of ovms-ca.crt file to it and save it.
The go to the web shell or ssh and typ in
```
tls trust reload
```