Coder Social home page Coder Social logo

mqtt's Introduction

This is my use for Victron Energy and controlling the solar system with HomeAssistant

To use, copy all items to the created MQTT directory in HomeAssistant (File Editor) and insert all items with the yaml extension into the subdirectory.

Before using in each file, you need to search and change YourVictronID to "Your Victron ID" every single name

you also need to check the path in state_topic and command_topic

use mqtt explorer to check to the relevance of the path for functionality

example: state_topic: 'N/my_victron_id/vebus/276/Mode'

can be changed: state_topic: 'N/your_victron_id/vebus/279/Mode'

note the different number behind the vebus. it may be different for you because victron assigns the port addressing itself. This also applies to Pylontech and MPPT and other devices

install and configure mqtt integration https://www.home-assistant.io/integrations/mqtt

edit configuration.yaml in HA and add this text somewhere at the end of the file

mqtt: !include_dir_merge_list mqtt/

restart homeassistant

go to settings -> devices and services -> mqtt

you should see the devices there

The Victron via MQTT must be woken repeatedly, otherwise it will go to sleep and not send data

It is necessary to write to MQTT either through HA Automation or through Node Red the record has the form: R/your_victron_id/keepalive

I use Node Red for this recovery every 30 seconds

mqtt's People

Contributors

daddy1976 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.