Giter VIP home page Giter VIP logo

vanpi's Introduction

Logo

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!

Table Of Contents

About 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

Logo

SHOP NOW

Releases

VAN PI OS 1.1.0

Getting started

Quickstart

Manual

Installation Script

If you don't want to use the system as a headless system you can use our installation script.

Supported Devices

Battery

  • 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

Water

  • 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

Heater

  • 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)

Displays

  • 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

Other

  • MaxxFan

    • wired
    • IR
  • GOK Senso4s

VAN PI Hardware

Relayboard PCB

HAT PCB

SHUNT 100A/200A/300A

RJ45 UART

USB AUTOTERM

USB K-Line

USB JST

Dimmy PCB

ESP32-C3 Shunt

ESP32-C3 LIN BUS

Hardware/Project-Overview

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

compatible PEKAWAY hardware

  • Pekaway Touchdisplay
  • Pekaway IOT Bridge

Software

Node-RED

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.

Python

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.

Communication

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.

FLASHTOOLS

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.

SD IMAGE flash

We recommend to flash the images with either Balena Etcher or Win32DiskImager

Support the Project

Patreon

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

Links

Forum --- Instagram --- Homepage --- YouTube --- Contact

vanpi's People

Contributors

vincepekaway avatar karlpekaway avatar pekaway avatar dedhedzed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.