We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Output from the Persistence Server Stats flow, influx node, seems to be getting almost every other message as invalid:
Error: A 400 Bad Request error occurred: {"error":"unable to parse 'efficiency,modem=ff070618,inverter=4108 value=Infinity': invalid boolean"}
The text was updated successfully, but these errors were encountered:
As a patch, I added a test for msg.payload[0] and drop the msg if invalid...
const parts = msg.topic.split("/") p = msg.payload[0] if( !isNaN(p) ){ const value = parseFloat(msg.payload) if(!isNaN(value) && parts.length==5){ msg.measurement = parts[4] const data = [ { value: value }, { modem: parts[1], inverter: parts[3] } ]; msg.payload = data return msg; } }
Sorry, something went wrong.
No branches or pull requests
Output from the Persistence Server Stats flow, influx node, seems to be getting almost every other message as invalid:
Error: A 400 Bad Request error occurred: {"error":"unable to parse 'efficiency,modem=ff070618,inverter=4108 value=Infinity': invalid boolean"}
The text was updated successfully, but these errors were encountered: