ALL IN ONE RASPBERRY PI BASED MOBILE SMART HOME ENVIRONMENT
Explore the docs
View Frontend Demo
Forum
### This repository is currently under construction and not yet finished!
- About the Project
- Releases
- Getting started
- Supported Devices
- VAN PI Hardware
- Software
- Flashtools
- Support the Project
This project has resulted from a hobby DIY VAN project to combine the variety of displays and hardware in the VAN and caravan area and to make the easy installation possible.
Everything is built around the Raspberry PI, both software and hardware.
We took care of a simple startup to make this project also accessible for non-programmers. Take a look at the Quickstarts.
For the developers is a Node-RED backend and various Python scripts for expansion and improvement ready.
you can find the hardware for this project in our store, or just build it yourself
- QUICKSTART HAT
- QUICKSTART Relayboard
- [QUICKSTART Dimmy]
- [QUICKSTART Shunt]
If you don't want to use the system as a headless system you can use our installation script.
-
Bluetooth BMS:
- JBD BMS SYSTEMS e.g. Liontron Batterys - dual setup possible check our tutorial page
- DALY BMS (in development)
- VICTRON SMART SHUNT BLE in development
-
wired:
- VICTRON SMART SHUNT VE.Direct
- DALY BMS UART BLUETOOTH (6pin)
- DALY BMS UART MONIT (3pin)
- JBD BMS UART PORT
-
analog Shunt:
- Measuring the voltage drop across a SHUNT using the ads1115 on the VAN PI relayboard and the VAN PI HAT. Voltage measurement is done using a voltage divider. A Python script reads the data and makes it accessible by providing a Bottle webserver (port 8080), Node-RED then checks the endpoint(s) to get the values. Data remains in the RAM and is written to the SD-Card every 5min.
-
ESP32-C3 INA226 SHUNT:
- standalone Esp32-c3 based WIFI Shunt. Measures the current, SOC, Battery Voltage. MQTT and BLE will be supported in development
-
resistance sensor:
on the Relayboard and the HAT is a voltage divider section to read the variable resistance of any resistance sensor you want to use. It uses the same ADS1115 as the analog shunt. The shunt Pythonscript also reads the ads1115 fot the waterlevels. -
capacitve sensor:
The Relayboard and the HAT have a jumper section to remove the voltage divider section to read voltage directly up to 3.3V to the ADS1115. typical sensors:- Votronic FL
- Votronic 15-50K, 12-24K
- CBE sensors
-
Flow sensors:
you can also connect flow sensors with gpio. Node-RED will then access the sensors directly). We have examples in our tutorial collection. Maybe there will be a fixed integration in the VAN PI OS soon. -
other:
- Gobius Pro in development
-
Calibration methods:
- top/bottom calibration,
- Votronic direct calibration (2,4V)
- set resistance
- 10 point calibration in development
- Autoterm 2D/4D (twin kit in development)
- Webasto W-Bus <=3.5 - tested with a Thermo Top V water heater
- Chinese Diesel Heater blue wire - Arduino NANO Serial Interface
- Truma INET in development
- LF BROS via 433mhz (needs to be activated in the backend since v1.1.0, WiringPI may need to be installed)
- Web interface:
Using the Node-RED web interface, any device can be used as a display. Here it can be reached under http://"IP":1880/ui or alternatively under http://van.pi.
-
HDMI:
VAN PI OS is based on a headless Debian/Raspbian image. You can install the software stack on Ubuntu/Debian based desktop versions with the install script and then use the normal webinterface as your display. Please be aware that manual adjustments may need to be done. -
Nextion via UART:
With the RJ45 UART adapter we can connect a Nextion display to the Relayboard/HAT via an RJ45 ethernet cable. It provides 5V DC and 3.3V UART for communication. We do not have an official VAN PI Nextion image yet. You can find information about the protocol in the docs to build your own .tft file.
- Sonoff NS Wifi Panel:
We support the NS Panel and have prepared a VAN PI tft file for it. The data is send with MQTT. Please check this installation quide in development
-
MaxxFan
- wired
- IR
-
GOK Senso4s
Hardware | Satus | Software | compatible devices | current stable version | current beta |
---|---|---|---|---|---|
VAN PI RELAY BOARD | actice | VAN PI OS | all VAN PI Hardware | v1.1.1 | v1.1.0b2 |
VAN PI HAT | active | - | all VAN PI Hardware | v1.1.1 | v1.1.0b2 |
VAN PI SHUNT | active | - | VAN PI OS & VAN PI HAT VAN PI RELAYBOARD |
- | - |
VAN PI RJ45 UART | active | - | VAN PI OS | - | - |
VAN PI JST USB AUTOTERM | actice | - | VAN PI OS | - | v1.1.0b2 |
VAN PI USB K-line (Webasto) | actice | - | VAN PI OS | - | v1.1.0b2 |
VAN PI USB UART JST (Victron) | actice | - | VAN PI OS | ||
VAN PI Dimmy | active | PekawayMota / I2C / Standalone | VAN PI OS / MQTT | PekawayMota 1.1 | - |
DS18B20 | active | VAN PI OS | one wire bus - Rasbpberry | ||
resistance tank sensor | active | VAN PI OS | VAN PI HAT VAN PI RELAYBOARD |
- | - |
capacitve tank sensor | active | VAN PI OS | VAN PI HAT VAN PI RELAYBOARD |
- | - |
ESP32-c3 LIN BUS | in development | VAN PI LIN32 | VAN PI OS / MQTT | - | - |
VAN PI ESP32-c3 Shunt | in development | VAN PI SHUNT32 | VAN PI OS / MQTT | VANPI SHUNT32 1.0 |
- Pekaway Touchdisplay
- Pekaway IOT Bridge
Node-RED is used as the backend, doing all the calculations and connections. It also serves the frontend dashboard on port 1880. Check the Wiki to get an overview on how the system works.
Using some python scripts we can evaluate data coming from the shunt and different sensors. We decided to use Python instead of Node-RED itself to make use of another CPU core, since Node-RED, being a NodeJS application, only uses a single thread. Get more information about the Python scripts here. The scripts are included in the "home_pi_pekaway_files.zip" in the VanPi-OS folder if you want to read through them.
VanPi OS offers a HTTP and a MQTT API, which can be used to read and write data. See Communication. Please be advised to not change the existing API functions in Node-RED, because several other hardware/software parts we offer use the API too, such as the IoT Bridge. Feel free to add more endpoints though, in case you need to.
Here you can flash your ESPs with our preconfigured software pekawayMOTA .
Online flasher - connect your ESP via USB to your computer and use Google Chrome to flash the device using the online flasher.
Onboard Flasher - You'll find it in the webinterface of the VanPi OS, go to config > system > flashtool. It'll start a different set of flows which will allow you to flash your ESP device when it is connected directly to the Raspberry Pi.
We recommend to flash the images with either Balena Etcher or Win32DiskImager
We run a german patreon account on which we publish further tutorials. These tutorials will be uploaded to our public homepage about 6 months later.
If you like our project feel free to support it:
VAN PI by Pekaway | All In One Campercontrol System | Patreon