Skip to content

Invalid JSON in hex stream #6

@cowpen

Description

@cowpen

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:,"

image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions