Skip to content

Should publish power information to an MQTT topic #3

@mcolyer

Description

@mcolyer

Wire format

{
uri: "/report",
e:"11e",
t:"b6"
}

Analysis

I believe that t represents the number of seconds since the last "report" from a plug. It's usually very close to 181 seconds (which is b6). I believe that e represents the number of watts used during that period, so 286w in the sample above.

Output format

Emit a message of the format {seconds: 181, watts: 286} on the /voltson/{plug-uuid}/energy topic.

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