Giter VIP home page Giter VIP logo

Comments (4)

andig avatar andig commented on June 12, 2024

i miss WLocPhs total - please can you integrate this in mqtt?

Actually- at least for the SDM devices- that register is not defined in the source code and I wouldn't know if the device event supports it. The web UI solves this by just adding the phase powers.

I'd prefer to keep the MQTT API with what is really read from the device. So either we need the proper register or you need to implement this on client side.

i use sdm630 with mqtt. imo mqtt stress my rasperry - is it possible to create one messageblock every 30sec or 1min?

We already have the rate parameter for that purpose:

	cli.IntFlag{
		Name:  "rate, r",
		Value: 0,
		Usage: "MQTT: The maximum update rate (default 0, i.e. unlimited) (after a push we will ignore more data from same device and channel for this time)",
		// Destination: &mqttRate,
	},

See #46 for further performance discussion.

from gosdm630.

andig avatar andig commented on June 12, 2024

Actually, just found that https://bg-etech.de/download/manual/SDM630Register.pdf documents quite a number of other registers that are not implemented. Wondering which ones really make sense?

from gosdm630.

timtimsson avatar timtimsson commented on June 12, 2024

... oh, now i see that

${ (parseFloat(meter.WLocPhsA) + parseFloat(meter.WLocPhsB) +parseFloat(meter.WLocPhsC)).toFixed(2) }

-r 30 works perfect for me
Thanks!

from gosdm630.

andig avatar andig commented on June 12, 2024

ping @timtimsson would appreciate if you could test #47, please comment in the PR.

from gosdm630.

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.