Comments (4)
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.
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.
... 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.
ping @timtimsson would appreciate if you could test #47, please comment in the PR.
from gosdm630.
Related Issues (20)
- [RFC] performance improvements HOT 2
- Need testers for Saia Burgess ALE3 implementation HOT 1
- Add new precompiled release HOT 22
- detect broken on master HOT 1
- Release 0.6.0 mqtt disconnected HOT 9
- Add more DVG4013 features HOT 4
- Implement MQTT discovery HOT 1
- Binary =/= 0.7.0 HOT 1
- Unpublish homie meters/nodes/properties when closing HOT 1
- Problem building from source HOT 7
- Connect few meters to one dongle HOT 6
- SMA Current not properly decoded
- Failed to connect: no such file or directory HOT 5
- ModBus Adaptor error rate HOT 2
- Wrong values with sdm530 HOT 9
- precompiled 0.7.0 and 0.6.0 are the same (=0.6.09 HOT 2
- GPIO to switch between RX/TX HOT 2
- Divide by zero panic
- Building on RPi fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gosdm630.