subscribe with Berry #22949
-
Hi, Welcome to the Berry Scripting console. Check the documentation. mqtt.subscribe("/ESP32C6/tele/SENSOR", /topic, idx, payload, bindata -> print(topic, payload)) /ESP32C6/tele/SENSOR {"Time":"2025-02-04T22:49:39","ESP32":{"Temperature":21.0},"TempUnit":"C"} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 21 replies
-
Try using the specific topic, instead of arbitrarily inserting a |
Beta Was this translation helpful? Give feedback.
omg in works with retain and without json