frischluft-works / frischluft-firmware

The firmware for frischluft.works Written in micropython.
Apache License 2.0
10 stars 2 forks source link

Display mqtt topic #1

Open jankatins opened 3 years ago

jankatins commented 3 years ago

I want to use my box with my own mqtt server. Reading the source code shows that the value is sent to b"FRISCHLUFT/" + str(config.MACHINE_ID) + "/values/raw/co2" source, but I can't seem to get hold of the machine ID, at least http://<box-ip>/get-config tells me the machine ID is empty: { ... "isConfiguredByUser": true, "machineID": "", "softwareVersion": "1.0a"}.

Is there any chance to actually display the topic in the UI?

Farom commented 3 years ago

I read the source too and found a webserver.

But i did not see that on http://10.0.0.1/admin

tomschlde commented 3 years ago

The topic is FRISCHLUFT/device_id/values/raw/co2 The device_id is printed on the sticker on the device or can be seen on the display after pressing the button once.