![Felix Instruments AccuRipe F-901 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/felix-instruments/accuripe-f-901/accuripe-f-901_manual_550114019.webp)
F901 Controller Manual
Page
18
of
27
•
Click
Verify
to verify the connection to your MQTT server
•
Once the connection is successful, click
Upload
•
On your F901 Controller, enable the MQTT service under
after
successful Upload)
•
Your F901 Controller MQTT API is now ready for remote access.
F901 Controller MQTT Endpoints
Subscribing
Topic:
[Controller name] EP0
Return: Json object {topic, payload}
Note: default controller name is
F901 controller.
You can set controller name under
Example API call from paho-mqtt client:
Client.subscribe(topic="F901 controller EP0", qos=
0
)
Example return:
topic: F901 controller EP0
payload: {"id1556576356539": {"enable": false, "name": "Generator Manual",
"devices": {}}, "id1556575675503": {"enable": true, "name": "C2H4 PID",
"devices": {"C2H4": {"status": 0, "value": 75.0}, "Generator": {"status":
0, "value": 800}}}, "id1556575918560": {"enable": true, "name":
"Environment", "devices": {"CO2": {"status": 0, "value": 0.59}, "RH":
{"status": 0, "value": 34.2}, "Temperature": {"status": 0, "value": 26.0},
"O2": {"status": 0, "value": 19.5}}}}
Payload object hierarchy:
Payload {
panel_id : {
"enable": [true/false],
"name": [string],
"devices": {
device_name: {"status": [number], "value": [number]},
...// other devices
}
}
...//other panels
}
Publishing
Topic:
[Controller name] EP1
Payload: json object specifies control parameters of a panel/device
Содержание AccuRipe F-901
Страница 26: ...F901 Controller Manual Page 25 of 27...