Coder Social home page Coder Social logo

Comments (3)

fabian-lauer avatar fabian-lauer commented on July 28, 2024

Hi,

I would say that this is doable, but I have still some logical error in the script - but this is based on the Shelly 3EM logic of blanacing/sum.

I guess what you want to do is very easy in Python - you just need to call your endpoint for "every" value - may take longer, but should be ok.

I am not familiar with iobroker yet - is this structure a common one or specific for your setup?
Asking, because it would make sense to implement in in a way, more people can use it....

from dbus-shelly-3em-smartmeter.

amnesia106 avatar amnesia106 commented on July 28, 2024

with iobroker and the simple api adapter everybody can provide any values. with iobroker you can change the variables like you want. example: when this script needs a "grid" ; "generation" or something else, every user can rename or dublicate his variable which is needed for the script. I think the most iobroker users have three values. energy generation, grid relation and feeding.

exampe i open a variable in a browser

http://192.168.2.8:8090/getPlainValue/javascript.0.Haus_Strom_Bezug_Netz?json

response is only the value of this variable

0

for each variable for example

http://192.168.2.8:8090/getPlainValue/javascript.0.Piko.Ausgangsleistung?json

4456,4447
http://192.168.2.8:8090/getPlainValue/javascript.0.Einspeisung?json

2541

the structure is common - http://ipiobrokerserver:portfromsimpleapi/getPlainValue/yourvariable?json
this gives the raw output from that value without any extras

all values are in watt in my case

from dbus-shelly-3em-smartmeter.

fabian-lauer avatar fabian-lauer commented on July 28, 2024

Closing this issue as it is more a Q&A regarding ioBroker - will move to discussion section

from dbus-shelly-3em-smartmeter.

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.