Skip to content

Tuya smart plug keeps reseting on multiple queries #30

@alexbutoi

Description

@alexbutoi

Hi,

I have created my own Prometheus exporter with the help of your plugjson.py ( big thanks by the way) and I pull metrics every 5 seconds from the plug .

.....
.....
responsejson = subprocess.check_output(["python3", "plugjson.py", "7033XXXXXXXXXXXXXXXX", "10.0.XX.XXX"]).decode("utf-8")
.....
.....

Everything works fine, Prometheus is reading the metrics but the plug keeps resetting.

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