Giter VIP home page Giter VIP logo

power.eda.gay's Introduction

power.eda.gay

Logs Tasmota-flashed power usage monitors, and Tp-Link Omada POE switches, to InfluxDB and Grafana using MQTT.

Looking for the Mikrotik POE usage monitor/exporter? That's been moved to MikrotikPOEPowerExporter

InfluxDB screenshot

InfluxDB screenshot 2

Setup

  • cp power.env.example power.env
  • Edit power.env as appropriate
  • touch .passwords
  • sudo docker-compose up -d --build
  • sudo docker exec -it poweredagay_mqtt_1 sh Then in the container:
    • chmod 0700 /mosquitto/passwd_file
    • chmod root:root /mosquitto/passwd_file
    • mosquitto_passwd -c /mosquitto/passwd_file user_name Changing user_name as appropriate, then it will prompt for a password
  • sudo docker-compose restart
  • Test with the mosquitto_sub and mosquitto_pub commands, the name of the package on debian is mosquitto-clients
  • Change the config in the Tasmota MQTT web UI, then check the logs to make sure it connects nicely
  • I like to run TelePeriod 30 in the Tasmota console to set it to send MQTT messages every 30 seconds, for example. The default is every 5 minutes I believe

Switch setup

You must enable SNMP in the Omada controller with the community string tplink:

SNMP

power.eda.gay's People

Contributors

jwansek avatar

Watchers

 avatar

Forkers

kira0x1

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.