m8schmit / ecovacs-stack

A complete stack including backend server and frontend interface, to manage a Deebot T9.
GNU General Public License v3.0
27 stars 6 forks source link

backend .env #1

Closed DidibabaQiu closed 1 year ago

DidibabaQiu commented 1 year ago

Dear sir,

could you please teach me how to get my deebot BOTID, BOTCLASS, and RESOURCE? i open my ECOVACS APP but cannot find them.

m8schmit commented 1 year ago

Hi, sorry it's not well documented. Fortunately it's pretty simple to achieve:

DidibabaQiu commented 1 year ago

Hi, sorry it's not well documented. Fortunately it's pretty simple to achieve:

  • Follow any other steps of the tutorial (https://github.com/m8schmit/ecovacs-stack#how-to-install), the dns-mask config, your local ip in the .env in the frontend and backend folders, etc.
  • Then start the app with docker-compose up.
  • Once everything seems good and ready, start your bot.
  • It should connected to the local server and you should see a log looking like:
 Client Connected: YOUR-BOT-ID@YOUR-BOT-CLASS/YOUR-BOT-RESOURCE, to broker SOME-RANDOM-UUID

now you can get these three values, copy them in the .env and restart the app (docker-compose restart), no need to restart the bot.

Thank you very much for your guidance, I will try again

m8schmit commented 1 year ago

@DidibabaQiu did you manage to get your bot infos and use the app?

FX1-7 commented 7 months ago

Hi,

I'm having the same issue getting my bot_id, class and resource variables. The bot does not seem to auto connect, I have been turning the bot off fully and turning it on again. When I start a clean it still does not connect to the local server.

I've attached a screenshot of what our running environment looks like:

Screenshot

ngohuunhut commented 1 month ago

Hi @m8schmit

Client Connected: YOUR-BOT-ID@YOUR-BOT-CLASS/YOUR-BOT-RESOURCE, to broker SOME-RANDOM-UUID

I cant find that. Could you help me get id, class and resource? I have built your docker but the message like this image