SBFspot / sbfspot-config

Installation/Configuration tool for SBFspot on Raspberry Pi
43 stars 11 forks source link

Can not define MQTT user and password #27

Closed EddyBin closed 3 years ago

EddyBin commented 3 years ago

Try to install the MQTT component, but can not define user and password. Manual adjustment of the SBFspot.cfg with nano not possible as the file gives an error "File "SBFspot,cfg" is unwritable in nano

EddyBin commented 3 years ago

try to add the following to the interface at MQTT_PublisherArgs

-u username -P password -h {host} -t {topic} -m "{{message}}"

but "-u username -P password" disappears if I click

sbf- commented 3 years ago

Manual adjustment of the SBFspot.cfg with nano not possible as the file gives an error "File "SBFspot,cfg" is unwritable in nano

SBFspot.cfg is read-only for user pi

sudo nano /usr/local/bin/SBFspot.cfg