-
Describe the bug import paho.mqtt.publish as publish
payload=f"""{{\n"device":"root.synox.alphitan.MD10109",\n"timestamp":100,\n"measurments":["temperature"],\n"values":[20.0]}}"""
publish.single(topic='root.synox.alphitan.MD10109', payload=payload, hostname=MQTT_IOTDB, port=MQTT_IOTDB_PORT, auth={'username':'root', 'password':'root'}) I have an error printing :
To Reproduce
Expected behavior Desktop (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community! |
Beta Was this translation helpful? Give feedback.
-
Hi, I see a spelling mistake. "measurments" -> "measurements". |
Beta Was this translation helpful? Give feedback.
-
Thanks @HTHou, so sorry for dumb typo, it works! |
Beta Was this translation helpful? Give feedback.
-
Hi @tishacian , Good day. Do you mind to share full working codes and /iotdb/conf/iotb-engine.properties file content? As my end can't make MQTT code successfully save into IoTDB with similar code, but don't have any errors. Here is my MQTT config details:
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Hi, I see a spelling mistake. "measurments" -> "measurements".