Code Monkey home page Code Monkey logo

Comments (6)

freakent avatar freakent commented on August 23, 2024 1

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.

cracker0dks avatar cracker0dks commented on August 23, 2024

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.

freakent avatar freakent commented on August 23, 2024

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.

cracker0dks avatar cracker0dks commented on August 23, 2024

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.

freakent avatar freakent commented on August 23, 2024

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.

cracker0dks avatar cracker0dks commented on August 23, 2024

A normal Cerbo
image

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)

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.