I had something in my head; how we (DIY EV) are gonna control our cars from our phone over internet, from home or the office.
So i was planning to build an APP for that. In the car offcourse we want a module who connects to the internet.
Where ever it is...
So we got an normal operating system running apache and a internet connection.
Over USB i will connect CANBus to the car. The HAT will give me GPS and 4G.
I will use it to schedule the heating and charging etc. etc.
Ideas are welcome.
What i just bought and will be building...
- EV_Builder
- Posts: 1199
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 16 times
- Been thanked: 33 times
- Contact:
What i just bought and will be building...
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Re: What i just bought and will be building...
How are you planing to secure it? Your mention of apache is concerning, but I get it, I am over generalizing a bit.
- EV_Builder
- Posts: 1199
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 16 times
- Been thanked: 33 times
- Contact:
Re: What i just bought and will be building...
Good point i think by using api-keys pairing.
On the internet interface everything outgoing or incomeing will be blocked except port 80?
Maybe by making an VPN connection first?
Do you have suggestions?
Another way would be to send SMS with IP of phone and then receiver can simply check if its owner and then add only that IP to firewall?
Or make it totally sms based?
On the internet interface everything outgoing or incomeing will be blocked except port 80?
Maybe by making an VPN connection first?
Do you have suggestions?
Another way would be to send SMS with IP of phone and then receiver can simply check if its owner and then add only that IP to firewall?
Or make it totally sms based?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- johu
- Site Admin
- Posts: 5786
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1021 times
- Contact:
Re: What i just bought and will be building...
Cool project!
I always used VPN (openvpn) as it also facilitates things when machines are on the same network. You just need some server that is permanently running. Could even be another Pi on your home network.
It rules out all these headaches about dyndns, outdated server software because there is no open ports
I always used VPN (openvpn) as it also facilitates things when machines are on the same network. You just need some server that is permanently running. Could even be another Pi on your home network.
It rules out all these headaches about dyndns, outdated server software because there is no open ports
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- EV_Builder
- Posts: 1199
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 16 times
- Been thanked: 33 times
- Contact:
Re: What i just bought and will be building...
Yes; I thought I would VPN into the car but indeed "phone home" is even safer concept.
I just would like to schedule heating and monitor charging / settings.
And know where the vehicle is.
I just would like to schedule heating and monitor charging / settings.
And know where the vehicle is.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- thornogson
- Posts: 60
- Joined: Sun Mar 15, 2020 10:04 am
- Location: United Kingdom
- Been thanked: 1 time
Re: What i just bought and will be building...
EV_Builder wrote: ↑Wed Apr 20, 2022 4:45 pm Yes; I thought I would VPN into the car but indeed "phone home" is even safer concept.
I just would like to schedule heating and monitor charging / settings.
And know where the vehicle is.
Boating people have SignalK/Influx db and dashboard with grafana like this ..
any use ?
We are all ignorant, just about different things. If y'aint learnin', y'aint livin'
- EV_Builder
- Posts: 1199
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 16 times
- Been thanked: 33 times
- Contact:
Re: What i just bought and will be building...
Might be, might be. Txs
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- catphish
- Posts: 955
- Joined: Fri Oct 08, 2021 11:02 pm
- Location: Dorset, UK
- Has thanked: 94 times
- Been thanked: 179 times
Re: What i just bought and will be building...
I am a professional network engineer so I'd like to say I can speak with some authority on this particular subject.EV_Builder wrote: ↑Tue Apr 19, 2022 7:14 pm Maybe by making an VPN connection first?
Do you have suggestions?
The best approach is to use a VPN to "phone home", and block all traffic from the public interface apart from the VPN itself. I'd recommend Wireguard these days for the VPN, it's simple and lightweight. But openvpn is also a popular choice.
You will need a machine somewhere with a static IP for it to connect to. Once the VPN is established, you will have a nice secure way to access the device back through the VPN tunnel.
- EV_Builder
- Posts: 1199
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 16 times
- Been thanked: 33 times
- Contact:
Re: What i just bought and will be building...
So my phone and my car should do that. Then I can communicate gotcha.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.