Coder Social home page Coder Social logo

No daily_yield about pysma HOT 1 CLOSED

kellerza avatar kellerza commented on June 9, 2024
No daily_yield

from pysma.

Comments (1)

kellerza avatar kellerza commented on June 9, 2024 1

If you use Home Assistant, you can use the utility_meter to get a daily yield.

My sma package config:

sensor:
  - platform: sma
    host: 192.168.88.199
    password: !secret sma_password
    scan_interval: 10
    sensors:
      - current_consumption
      - grid_power
      - total_consumption
      - total_yield

  - platform: filter
    name: current consumpmtion 1min
    entity_id: sensor.current_consumption
    #id: sma current consumpmtion 1min
    filters:
      - filter: time_simple_moving_average
        window_size: 00:01

  - platform: filter
    name: grid power 1min
    entity_id: sensor.grid_power
    #id: sma grid power 1min
    filters:
      - filter: time_simple_moving_average
        window_size: 00:01

  - platform: filter
    name: total consumption 5min
    entity_id: sensor.total_consumption
    filters:
      - filter: time_throttle
        window_size: 00:05

  - platform: filter
    name: total yield 5min
    entity_id: sensor.total_yield
    filters:
      - filter: time_throttle
        window_size: 00:05

utility_meter:
  daily_consumption:
    source: sensor.total_consumption
    cycle: daily
  daily_yield:
    source: sensor.total_yield
    cycle: daily
  monthly_consumption:
    source: sensor.total_consumption
    cycle: monthly
  monthly_yield:
    source: sensor.total_yield
    cycle: monthly

from pysma.

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.