Giter VIP home page Giter VIP logo

Comments (20)

Maik2016 avatar Maik2016 commented on July 22, 2024 2

ina1
ina2

I changed the INA plugin, that it shows all 3 values and also able to handle more than one INA on one system (4 max) because the original file was not handling it correct if setup more than one INA.
Also I put a factor value for the resistor in to be able to change the resistor on the INA219 itself.
I have now idea if it is ok to upload the plugin to test plugin folder because it was not written by me originally, only changed for my need. ( Or give it new name ?)
I'm thinking to put even a calibration setup in to have an offset with the core of the calculation

from espeasy.

 avatar commented on July 22, 2024

This is currently a typical limitation forced by our main Home Automation platform Domoticz. It only supports a limited number of device types so this sensor has been implemented as as single value type.
For Domoticz, you would have to create three devices and configure three sensors in Domoticz.

From the beginning, we have tried to fully support multiple Home Automation platforms and with ESP Easy Mega it even tries to support them simultaneously. But this brings challenges that haven't been faced yet.

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

@mvdbro I tought that you can make only to show/display those 2 extra values together in the Web UI, but it will send only 1 value like in the current version. Nothing else!

Thank you!

from espeasy.

 avatar commented on July 22, 2024

Have done a thing like that in the past, but displaying values while not sending them, certainly leads to confusion for many users.

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

@mvdbro I don't know for the rest of the users, but it would be easier to use those existing values for LCD displaying/monitoring...even you can make those values to be in other color frame e.g. yellow, in that case the user will know that is a local value (which can't be sent from that Device page).

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

@Maik2016 Nice work!, especially for the resistor factor! Can you share it some how?

from espeasy.

Maik2016 avatar Maik2016 commented on July 22, 2024

Here is the code.
The thing with setting the report value dosn't work, it sends all data (without updating the not wanted values)

_P027_INA219.txt

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

Thank you for the code!
You mentioned something "it sends all data", where?! To the Log or to Controller?

from espeasy.

Maik2016 avatar Maik2016 commented on July 22, 2024

Both, at least to my FHEM, for me is no problem because I use all data, I don't think there is a way to separate this in one plugin now.

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

@psy0rz , @krikk can someone of you fix this enhanced plugin from @Maik2016 posted link, please! ;)

from espeasy.

psy0rz avatar psy0rz commented on July 22, 2024

i dont have time since im focussing on fixing bugs. only easy to merge pull request currently go in.

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

@psy0rz Just elaborate the "Reporting" part, pls!

from espeasy.

psy0rz avatar psy0rz commented on July 22, 2024

?

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

"Setting the Report value doesn't work, instead it's send all"
https://github.com/letscontrolit/ESPEasy/files/971361/_P027_INA219.txt

from espeasy.

psy0rz avatar psy0rz commented on July 22, 2024

maybe later, i have to look into it first.

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

@psy0rz Thank you many times! ;)

p.s. For me is enough to show all 3 values together in the WebUI and to be able work with in Rules with all 3 values, also the Resistance Factor is great in it, because if you change the shunt resistor on the module, you can measure higher current values! ;)

from espeasy.

Maik2016 avatar Maik2016 commented on July 22, 2024

If you don't want to sent data just uncheck the send to controller.

Have you tried If this plugin works for you ?

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

Not yet, but how I know the Domoticz will not accept all values!

from espeasy.

beicnet avatar beicnet commented on July 22, 2024

I tested it, it's working internally (showing the results in the WebUI), but wont send any data to Domoticz or Domoticz wont accept it.

from espeasy.

 avatar commented on July 22, 2024

Should be fixed

from espeasy.

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.