-
Notifications
You must be signed in to change notification settings - Fork 2
MQTT topics and message structure
The following topics are used:
topic |
meaning |
|
Status of the machine |
|
Status of the connection |
|
Fault lists |
|
could not find any messages on this topic |
|
could not find any messages on this topic |
|
Topic to publish commands on |
{"msg":"REQUEST-CURRENT-STATE", "time": "2019-03-08T16:26:23Z"}
returns CURRENT-STATE and ENVIRONMENTAL-CURRENT-SENSOR-DATA
{"msg": "STATE-SET", "mode-reason": "LAPP", "data": {"<attribute>": "<value>"}, "time": "2019-03-08T16:35:13Z"}')
returns message STATE-CHANGE
Where the following values are possible (more than one can be passed in a single command):
attribute |
value |
meaning |
|
OFF;ON;AUTO;FAN |
Operation mode of the fan |
|
0001..0010 |
Fan speed |
|
ON;OFF |
Night mode |
|
ON;OFF |
Oscillation mode |
|
ON;OFF |
standby monitoring |
|
RSTF |
Reset filter lifetime |
topic: <device_type>/<device_serial>/status/current
This message describes the state of the machine. The following attributes are communicated:
{"msg":"CURRENT-STATE","time":"2019-03-08T19:56:06.000Z","mode-reason":"LAPP","state-reason":"MODE","dial":"OFF","rssi":"-53","product-state":{"fmod":"OFF","fnst":"OFF","fnsp":"0006","qtar":"0003","oson":"OFF","rhtm":"ON","filf":"1498","ercd":"02C0","nmod":"OFF","wacd":"NONE"},"scheduler":{"srsc":"b739","dstv":"0001","tzid":"0001"}}
This message provides a read-out of the machine’s sensors. The following attributes are communicated:
{"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA",
"time":"2019-03-08T19:54:06.001Z",
"data":{"tact":"2909","hact":"0049","pact":"0004","vact":"0000","sltm":"OFF"}}
This message provides an overview of all states current and previous value:
{"msg":"STATE-CHANGE","time":"2019-03-08T19:58:46.001Z","mode-reason":"LAPP","state-reason":"MODE","product-state":{"fmod":["FAN","FAN"],"fnst":["FAN","FAN"],"fnsp":["0006","0005"],"qtar":["0003","0003"],"oson":["OFF","OFF"],"rhtm":["ON","ON"],"filf":["1498","1498"],"ercd":["02C0","02C0"],"nmod":["OFF","OFF"],"wacd":["NONE","NONE"]},"scheduler":{"srsc":"b739","dstv":"0001","tzid":"0001"}}
Where the following fields are used:
attribute |
value |
meaning |
|
hex value |
Error code (see table below) |
|
0..4000 |
Remaining filter life in hours |
|
OFF;ON;AUTO;FAN |
Operation mode of the fan |
|
0001..0010 |
Fan speed |
|
FAN;OFF;ON |
State of the fan |
|
0..100% |
Relative humidity |
|
ON;OFF |
Night mode |
|
ON;OFF |
Oscillation mode |
|
0..9999 |
Amount of particles in the air |
|
0001;0003;0004 |
Air quality target (1 highest, 4 lowest quality) |
|
ON;OFF |
Standby monitoring |
|
OFF;0..10? |
sleep timer |
|
OFF;0..9999 |
Temperature in Kelvin * 10 |
|
INIT;0..9999 |
Volatile compounds in the air |
|
string |
Warning code (see table below) |
Error codes I ran across so far:
error code |
(assumed) meaning |
|
normal |
|
active when filter needs replacement |
Warning codes I ran across so far:
error code |
meaning |
|
normal |
|
active when filter needs replacement |
topic: <device_type>/<device_serial>/status/connection
This message seems to be published by the fan on initiation of a connection from any client
{"msg":"HELLO","time":"2019-03-07T05:58:26.001Z","model":"X475","version":"21.04.03","protocol":"1.0.0","serialNumber":"<serial-number>","mac address":"<mac address>","module hardware":"140762-01-07","module bootloader":"-.-.-.-","module software":"5227","module nwp":"2.11.0.1","product hardware":"141793-01-06","product bootloader":"000000.00.00","product software":"000033.00.3","reset-source":"PWUP"}
topic: <device_type>/<device_serial>/status/faults
This message is published when the app on my phone is loaded
{"msg":"CURRENT-FAULTS","time":"2019-03-08T20:30:56.002Z","product-errors":{"fmco":"OK","stto":"OK","hall":"OK","hamp":"OK","stal":"OK","shrt":"OK","cnfg":"OK","wdog":"OK","ilss":"OK","t&hs":"OK","ibus":"OK","vocs":"OK","dsts":"OK","wfhb":"OK","wfcp":"OK","nvmw":"OK","nvmr":"OK"},"product-warnings":{"fltr":"OK"},"module-errors":{"szme":"OK","szmw":"OK","szps":"OK","szpe":"OK","szpw":"OK","szed":"OK","lspd":"OK","szpi":"OK","szpp":"OK","szhv":"OK","szbv":"OK","szav":"OK"},"module-warnings":{"srnk":"FAIL","stac":"OK","strs":"OK","srmi":"OK","srmu":"OK","nwcs":"OK","nwts":"OK","nwps":"OK","nwss":"OK","nwds":"OK"}}