Skip to content

How to use device twin topics in python paho mqtt #19

@ramHruday

Description

@ramHruday

self.mqtt_client.subscribe("$iothub/twin/PATCH/properties/desired/#")
self.mqtt_client.subscribe("$iothub/methods/POST/#")
await self.publish( "$iothub/twin/PATCH/properties/reported/", reported_properties )

For some reason these don't update the reported attribute in the device twin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions