-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid JSON in hex stream #6
Comments
The problem is in the line: |
Ahh... thank you. Looking more carefully, I see now that the QPIGS protocol for my inverter is a bit different for the parameter response at position "x". That must be where the bad JSON is coming from. |
hey cowpen! I am at this stage to try to talk to my inverter with node red. Would u do me a favor and post your flow file that works? Would be greatly appreciated. to do that, click the hamburger menu than "export". Thanks |
Here's what I had when I gave up on this particular solution since it didn't support the queries and responses required for my inverter. Hope it's helpful in some way. |
Hello, trying to get this working with MasterPower (also Voltronic) MasterPower PMS 5K-48TOP Off-Grid HINT: does this also work with USB-to-USB-Cable (Voltronic internal USB to Serial Cypress adapter) or only with COM-RJ45 connection? :D what is the content of /home/pi/inverter.sh ? :D |
I have an MPP Solar LV 5048. It's a split phase unit containing two inverters and two charge controllers. It shares the same comms protocol as the supported models listed here, although it supports more query & result codes (i,e, QPIGS2 for the second phase, etc.). I'm using node-red to call skymax-demo and injecting stdout to influxdb. The flow is successful, but the output returned contains an 0x0 in the buffer stream which the function to parse to a JSON object chokes on. The location of the 0x0 in the output string is at the value location for "AC_charge_on:,"
I've looked through the skymax code but I don't really have a clue for what I'm looking for. Could it be related to the "-" in line 202 of main.cpp?
Thanks for your help!
The text was updated successfully, but these errors were encountered: