Comments (7)
Awesome. Thanks for sharing the solution.
from dbus-mqtt-devices.
When you register your device in the init, what deviceId do you get back in the device/pv001/DBus topic?
You have hardcoded 1 for the deviceId in the topic W/xxxxxxx/pvinverter/1/Ac/Power
var energie = items['Active_power']; actions.get('mqtt', 'mqtt:broker:VenusOS').publishMQTT('W/xxxxxxx/pvinverter/1/Ac/Power', '{"value": ' + energie + ' }');
from dbus-mqtt-devices.
I highly recommend you test your MQTT messages in MQTT-Explorer before implementing them in code.
from dbus-mqtt-devices.
I get 1 in device/pv001/DBus topic.
publishMQTT('W/xxxxxxx/pvinverter/1/Ac/Power',
'{"value": 100}');`
for example shows 100 W in the device list from Venus os
from dbus-mqtt-devices.
The driver has no control on what gets sent by the GX device to VRM. When you are sending values to your device you are not using the driver at all.
Perhaps it is just a time lag? The GX sends data to VRM in batches, usually every 15 mins.
If in doubt, test the data you are sending by using MQTT-Explorer.
from dbus-mqtt-devices.
The PV Inverter needs all values to be displayed.
I tried only to forward "total power" of the Inverter.
With all values (L1, L2, L3 etc.) it showed up instantly in the Remote console und VRM Portal.
from dbus-mqtt-devices.
I also noticed, that sending the "total power" of the inverter to W/xxxxxxx/pvinverter/1/Ac/Power
is still showing 0W in the Remote console und VRM Portal.
Sending the "total power" to W/xxxxxxxx/pvinverter/1/Ac/L1/Power
works!
Venus OS seems to sum up the power from L1, L2 and L3 to show it in the Remote console und VRM Portal.
from dbus-mqtt-devices.
Related Issues (20)
- Installation error on CerboGX HOT 30
- Installation error on RPi HOT 4
- Rpi Install Error HOT 3
- Uninstall HOT 2
- Venus Os Crash after add a PV Inverter HOT 6
- I did the installation work around but still doesn't work HOT 14
- New Release: 0.7.5-beta HOT 36
- strings everywhere HOT 2
- null not "0" HOT 2
- Nodered Virtual sensor HOT 7
- Add AC Load energy meter HOT 3
- Different service weather forecast HOT 3
- Battery support HOT 5
- setup.sh: ModuleNotFoundError: No module named 'dataclasses' HOT 2
- PVinverter is shown as "Fronius" in VRM HOT 4
- Position move in Venus OS GUI HOT 1
- AC loads to position 0 instead of 1 in Venus OS GUI HOT 1
- New GUI-Beta requires Status DBus path for Temp sensors HOT 6
- Exception error during installation HOT 1
- Inverter is not showing Values in VRM HOT 10
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 dbus-mqtt-devices.