Code Monkey home page Code Monkey logo

vbus2influx's Introduction

vbus2influx

Plan was to be able to have a Grafana panel, where I can see the 8 different temperature sensors + 1 Pump speed (in %).

As I have a Resol DeltaSol BX Plus, there is a bus called VBus putting out this data without the need to poll.

Hardware

So, with a tiny circuit it is possible to listen to the VBus.
Circuitry is not my work and can be found online, but I modified it anyway...
(No R3, the voltage divider R1 and R2 brings the voltage down to less then 2,5V to be safe
as I measured Voltages close to 9V directly on the vBus).
What it does in the end is to shift voltage down and uses the transistors as switches to pull RX to ground or leave it on 3V3.

Total cost is somewhat around 1-2โ‚ฌ.

Resol_VBus_adaptor_to_WemosD1Mini

some quick soldering and it looks like that:

circuitry

Instead of the ESP32 I attached it to a Pi3 (actually overkill)...

Software

I have not written the code myself, only stated what I need and a young engineer from work hacked it together for me and gave his blessing to put it up here under a permissive licence.

What it does is it uses the library from Daniel Wippermann to dissect the data stream and
a) displays this as raw content in a webserver
b) pushes the data to InfluxDB

Docker

I included a dockerfile so it is (more) easy to deploy.
I run it like:

docker run -d --restart unless-stopped
-p 11110:11110
-v vbus2influx:/etc
--device /dev/ttyAMA0:/dev/ttyAMA0
--name vbus2influx
-h vbus2influx
vbus2influx

(the vbus2influx.toml is to be placed in /etc)

misc

Proof that the Pi3 is overkill...

Clipboard01

A big thanks to Daniel Wippermann for some really valueable hints and providing the library
and to my coworker who wants to stay annonymous as he thinks his code is not "clean" enough ;)

Final Result

image

vbus2influx's People

Contributors

isarrider avatar dependabot[bot] avatar cav72 avatar

Watchers

 avatar

vbus2influx's Issues

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.