ble2mqtt icon indicating copy to clipboard operation
ble2mqtt copied to clipboard

How in the world to find config file

Open PhilipBarton opened this issue 11 months ago • 2 comments

I have no clue how to access the config file or run that command you mentioned

PhilipBarton avatar Jan 31 '25 15:01 PhilipBarton

If it is missing, you need to create something like https://github.com/devbis/ble2mqtt/blob/main/ble2mqtt.json.sample

devbis avatar Jan 31 '25 17:01 devbis

Hi @PhilipBarton, as stated in README.md: Config file should be saved on /etc/ble2mqtt.json path. Probably the easiest way to edit the file is to do in locally and then transfer it with ftp, e.g. WinSCP/Filezilla or similar.

Additionally, you can pass arbitrary .json config file with BLE2MQTT_CONFIG parameter, e.g. run ble2mqtt with command: BLE2MQTT_CONFIG=./ble2mqtt.json ble2mqtt.

I hope this helps.

Xsarius avatar Sep 28 '25 15:09 Xsarius