Giter VIP home page Giter VIP logo

Comments (9)

GravySeal avatar GravySeal commented on August 11, 2024

I just released integration version v0.2.1b1. Could you update and see if the units work for you?

from bepacom-bacnet-ip-integration.

gioassio89 avatar gioassio89 commented on August 11, 2024

yes, perfectly:
immagine

immagine

the only variable that i cannot see in my export is deg (degree angular) the other are all show.
one question: i cannot see energy variabe in the HA enery manager:
immagine

according to the HA documentation the "state_class" must be "total" or "total_increasing"
the imported point has "state_class" set as measurements:
immagine
there is any way to change the state_class?
thanks a lot!

from bepacom-bacnet-ip-integration.

Bepacom-Raalte avatar Bepacom-Raalte commented on August 11, 2024

I can add the degrees as units for angular. The user can't change the state class. I can make it so the entity becomes state class total if the unit of measurement is one of those.
Please try v0.2.1b2 to see if it works for you.

from bepacom-bacnet-ip-integration.

gioassio89 avatar gioassio89 commented on August 11, 2024

Hi! works perfectly now!!!
image

Also ° are displayed now!
image

Can you change the state_class also for volumetric point in "total" or "total_increasing"?
image
Thanks a lot!

from bepacom-bacnet-ip-integration.

Bepacom-Raalte avatar Bepacom-Raalte commented on August 11, 2024

Great to hear, added UnitOfVolume to be state_class total as well. Could you try v0.2.1b3?

from bepacom-bacnet-ip-integration.

gioassio89 avatar gioassio89 commented on August 11, 2024

Hi Thanks,
i think that is needed to change the device_class in water:
image
image
it is possible for you to assign the device class accordind to bacnet point descriptor? eg if in the point description there is "water" the device_class will be "water"?

from bepacom-bacnet-ip-integration.

GravySeal avatar GravySeal commented on August 11, 2024

It would be possible to do based on description, but then the issue is languages. In each language, it'll be something else so it's going to be difficult to make it work right.
I think a better solution would be to use a template sensor with the right device class using the value of the right entity like so:

image

from bepacom-bacnet-ip-integration.

gioassio89 avatar gioassio89 commented on August 11, 2024

Great Idea! it Works! Thanks a lot!
All of Units that i need work now, should i close this issue?

from bepacom-bacnet-ip-integration.

GravySeal avatar GravySeal commented on August 11, 2024

I'll close this issue for you, glad this solution works for you!

from bepacom-bacnet-ip-integration.

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.