ALL IN ONE RASPBERRY 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 built it yourself
If you don't want to use the system as a headless system you can use our installation script.
Core of the system that brings all devices together.
Pekaway/VAN-PI-CORE (github.com)
7 Channel PWM Dimmer Board Works wired without an extra chip. You can use it with an ESP32 (wemos) as a standalone Board and you can also use connect it via PekawayMOTA (Tasmota) per Wifi/MQTT to the VAN PI OS.
Pekaway/DIMMY: dc PWM LED Controller (github.com)
ESP32-C3 INA2226 200A Shunt. Works with the VAN PI OS via BLE but you can also use it standalone.
Pekaway/ESP32-BLE-WIFI-SHUNT: ESP32-C3 Battery Monitor Shunt (github.com)
7" capactive Touchscreen. Based on Nextion and the Nextion Studio. Connect to the System VAN PI System via "RJ45 UART"
Advantages compared to an Andorid/IOS tablet. -> much lower standby power, fast wake-up time, easy integration, is permanently installed and can therefore not be used for other things and is therefore always in the same place.
Connect the system via Wifi to the Mobilnetwork. Comes with build in SIM. The Bridge uses the local http api. So also here if you want your own software stack. You only have to provide the VAN PI OS API to use the bridges to.
-
2G Version
- entry variant
- fast enough to read the data from the system. Good network coverage. Switching off 2G will still take a while (EU)
-
4G Version
- uses the normal LTE 4G network. LTE-M is still not available in many countries. NB-IOT is not stable for our application due to the high latency.
- GPS
- GPS ALARM possible
-
4G+
- same functionality as the 4G version, but with battery backup. The system continues to run even if the main battery is switched off.
-
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 *obsolet -> only works with the old Relayboard
- 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.
-
- Renogy:
- cyrils/renogy-bt: Python library to read Renogy compatible BT-1 or BT-2 bluetooth modules using Raspberry Pi. (github.com)
- not yet installed in VAN PI OS
- Renogy:
-
Pekaway MPPT S20 - via Python Bluetooth read out
-
Victron:
- VIA Ve.direct
-
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
- 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 via danielfett/inetbox.py: A software implementation of something similar to a Truma iNet box (github.com)
- 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. Or just use our Pekaway Touchscreen Pekaway Touchdisplay
-
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 -
Pekaway APP
Control the device via our App. The App is using the http&MQTT API. So if you planing your own software stack. If you provide our API (build in Node-Red) The app will also work on your software.
-
GPS via RJ45UART
- You can connect a GPS module to the VAN PI Core using the RJ45 UART. All you need is a 3.3V module and a 12V -> 3.3V voltage converter. The module then sends the data to UART1 and is evaluated in Node-Red. Pay attention to the baud rate and check it in the connections Flow if necessary.
-
GPS via Pekaway IOT Bridge 4G and 4G+
-
MaxxFan
-
Pekaway/I2C-GPIO-extension: I2C Extension for the VAN PI CORE (github.com)
-
GOK Senso4s via Bluetooth read out
-
RUUVI TAG BLE Temp and Humidity
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
Software stack based on VAN PI OS Node-red "Core" functions, supports also the RPI5 and a lot of cool other Features.
MQTT Connector for HomeAssistant etc.
This project lives from its community. We look forward to your support. Only with your support can the project continue to grow and offer you exciting hardware and software.
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