nopnop2002 / esp-idf-can2mqtt

CANbus to mqtt bridge using esp32
MIT License
42 stars 8 forks source link

mqtt authentication #3

Open Hubseba opened 1 year ago

Hubseba commented 1 year ago

Hi,

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

Greetings Sebastian

nopnop2002 commented 1 year ago

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 commented 1 year ago

Try latest.

config-mqtt-2

Hubseba commented 1 year ago

Mosquitto Username and Password authentication setup

Thanks, I will try it tonight.

nopnop2002 commented 1 year ago

I read this.

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

Hubseba commented 1 year ago

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

nopnop2002 commented 1 year ago

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.