Comments (6)
Very puzzling. The driver gets the portal id before it even connects to MQTT so I don't see how the payload caused this. I guess we just wait and see if it happens again. Feel free to post another log file if it happens again over the next few days.
from dbus-mqtt-devices.
Sorry was my fault: was Sending:
"{ "clientId": pvInverterTest3, "connected": 1, "version": "1.0", "services": {"pv10" : "pvinverter"} }"
instead of this:
"{ "clientId": "pvInverterTest3", "connected": 1, "version": "1.0", "services": {"pv10" : "pvinverter"} }"
this crashed the thing :P
from dbus-mqtt-devices.
Thanks for sharing the error and your fix. Unfortunately I can't see how missing the quotes around pvInverterTest3 would have caused this particular error. The error points to a point in the code where the driver reads the VRM portal id from the dbus. An invalid json payload should not have gotten that far. Please can you send the whole log file. Besides, if a badly formatted json file causes the driver to crash, then the validation needs to be improved.
from dbus-mqtt-devices.
There is not much I can add from this file but here you go :)
current.txt
If you need an other file, let me know
from dbus-mqtt-devices.
Can you provide details about the Venus GX device you are using? CCGX, Cerbo, Raspberry Pi (which model) or other? What Venus OS version you are running?
The log file suggests things are very unstable. The driver is continually re-starting . That's not good.
from dbus-mqtt-devices.
Since I fixed my mistake, the dbus-mqtt-devices not restarting anymore
Edit: /service/dbus-mqtt-devices: up (pid 4707) 1976 seconds
this was always resetting after sending a "corrupt" payload
from dbus-mqtt-devices.
Related Issues (20)
- Victron Bus System Connection get lost when using dbus-mqtt-devices HOT 1
- 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
- Ensure deviceId is passed to dbus as a int and not a string
- Resolve dataclasses dependency with python3-misc module
- Add Status attribute for Temperature dbus path HOT 5
- Problem sending values over MQTT from nodered [not original title] HOT 12
- setup.sh shoiuld check if there are existing entries in /data/rc.local HOT 2
- Energy Ac/L1/Energy/Reverse not working as expected HOT 1
- Update readme to explain you need to run setup.sh after a VenusOS
- Setup module dependecies on every reboot from /data/rc.local HOT 2
- Setup module dependecies on every reboot from /data/rc.local HOT 1
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.