Azure-Samples / Azure-Samples/IoTMQTTSample

How to use device twin topics in python paho mqtt

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
70
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.