slviajero / tinybasic

A BASIC interpreter for Arduino, ESP, RP2040, STM32, Infineon XMC and POSIX with IoT and microcontroller features.
GNU General Public License v3.0
205 stars 32 forks source link

MQTT Basic authentication #58

Closed tyrkelko closed 8 months ago

tyrkelko commented 1 year ago

Setup mqtt_username and mqtt_password in wifisettings.h in order to authenticate with your MQTT server

tyrkelko commented 1 year ago

@slviajero , this is a really cool project. I was looking into tiny basic implementations for microcontrollers and loved the idea to use it with MQTT. It was really easy to set an ESP01s to work with my homeassistant MQTT mosquitto server. This required basic username and password authentication so I added it as a new optional setting in wifisettings.h.

Hope this change makes sense to you and can be included in the project.

My goto ESP platform for homeassistant is ESPHome, however, I love the idea that I could have a basic interpreter as part of my smart home device configurations.

Regards, Kobi

slviajero commented 8 months ago

Will go to the new code - Basic 2.0