Giter Club home page Giter Club logo

Comments (3)

onedr0p avatar onedr0p commented on June 18, 2024 1

Another improvement to this would to also be able to support injecting env like home assistant supports. e.g.

- id: !env_var METER_ID
  protocol: r900
  name: meter_water
  format: "#######.#"
  unit_of_measurement: gal
  icon: mdi:water
  device_class: water
  state_class: total_increasing
  filters:
    - multiply: 0.1

from rtlamr2mqtt.

PrplHaz4 avatar PrplHaz4 commented on June 18, 2024

Either of these methods for pulling Meter IDs out of the primary config would work for me.

Please note: If you want to add Gas or Water to the Energy Dashboard, you MUST change the units to m³. Once added to the energy dashboard, the units can be changed back.

Can you elaborate on this one? I've been wondering why my water units aren't showing up in the Energy Dashboard - they are currently in ft³. Something like this?

  1. Change the units to m³ in rtlamr2mqtt, restart rtlamr2mqtt
  2. Restart homeassistant, see them on the dashboard
  3. Reset units back to ft³ in rtlamr2mqtt, restart rtlamr2mqtt
  4. Restart homeassistant, see them on the dashboard

from rtlamr2mqtt.

ayourk avatar ayourk commented on June 18, 2024

Here is a link to the start of the conversation where I started getting the Gas section nailed down in the Home Assistant Discord, #energy channel: https://discord.com/channels/330944238910963714/872496321574088765/1041881869958004837

from rtlamr2mqtt.

Related Issues (20)

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.