Skip to content

HA MQTT publication not working #1

Description

@tuffgong31

Hello,

I was using the psykokwak version to read my water meter.

I just installed yours because I like the improvements you made, including a button to make a manual request.

Unfortunately I had to face 2 problems that I solved.

I hope this can help you and other users

  1. private.h library not found => I simply commented out the include line because it seems useless => is this really the case?

  2. mqtt receives the data but does not send it to HA
    the error message is as follows:

Error 'extra keys not allowed @ data['device']['support_url']' when processing MQTT discovery message topic

I simply removed the support_url line from each entity and the publication is ok.
I have all the information in HA

Last point. when connected to the arduino serial monitor we see an error message when the meter reading is KO. is it possible to upload this info in HA

Thanks!

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