esp-idf-can2mqtt icon indicating copy to clipboard operation
esp-idf-can2mqtt copied to clipboard

mqtt authentication

Open Hubseba opened this issue 1 year ago • 6 comments

Hi,

is it possible to use mqtt authentication? I want to send the MQTT messages to a protected (User & PW) Mosquitto Broker

Greetings Sebastian

Hubseba avatar Jun 25 '23 19:06 Hubseba

Maybe you can.

I don't have a protected (User & PW) Mosquitto Broker so I can't test it.

Can you show how to install the protected (User & PW) Mosquitto Broker?

nopnop2002 avatar Jun 25 '23 22:06 nopnop2002

Try latest.

config-mqtt-2

nopnop2002 avatar Jun 26 '23 06:06 nopnop2002

Mosquitto Username and Password authentication setup

Thanks, I will try it tonight.

Hubseba avatar Jun 26 '23 07:06 Hubseba

I read this.

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-debian-10

nopnop2002 avatar Jun 26 '23 07:06 nopnop2002

Hi, a quick question about the broker, is it in deaufult on the sae ESP, or whitch I want on a seperate device? And second, my flashing attempts failed several times, even with different boards (esp32/esp32s2). Error.txt As a newbie in ESP-IDF I can't get ahead of this error Thanks

Hubseba avatar Jun 26 '23 13:06 Hubseba

a quick question about the broker, is it in deaufult on the sae ESP, or whitch I want on a seperate device?

What is sae ESP?

And second, my flashing attempts failed several times, even with different boards (esp32/esp32s2).

I think this is the cause. Path too deep.

    C:/Users/sebas/Documents/Projekte/Bergle/Bergle_Heizung/ESP_CAN2MQTT/Espressif/frameworks/esp-idf-v5.0.2/esp-idf-can2mqtt/build/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/./

  has 197 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    bootloader_flash/src/bootloader_flash_config_esp32s2.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.

nopnop2002 avatar Jun 26 '23 14:06 nopnop2002