DEEBOT M79 doesn't connect to MQTT #158

Open
opened 2026-08-04 17:44:11 +02:00 by HarlemSquirrel · 0 comments
HarlemSquirrel commented 2026-08-04 17:44:11 +02:00 (Migrated from github.com)

I believe I had this connected and working briefly before reconnecting DEEBOT to my IoT WiFi network that has Internet access blocked.

I'm running on portainer with macvlan.

According to Bumper server status, Home Assistant connect fine to MQTT and XMPP.
The bot connects fine to XMPP but doesn't seem to ever connect to MQTT.

networks:
  iot_macvlan:
    driver: macvlan
    driver_opts:
      parent: enp5s0.40
    ipam:
      config:
        - subnet: 192.168.40.0/24
          gateway: 192.168.40.1
          ip_range: 192.168.40.240/29

  bumper_internal:
    internal: true

services:
  nginx:
    depends_on:
      - bumper
    image: nginx:alpine
    networks:
      iot_macvlan:
        ipv4_address: 192.168.40.100
      bumper_internal:
    restart: unless-stopped
    volumes:
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro

  bumper:
    image: bmartin5692/bumper:latest-amd64@sha256:a3d6aeb2543a186df86d0a9a6914d39626d7e4f4cf83892da843d6cffcdaff47
    restart: unless-stopped
    networks:
      bumper_internal:

    environment:
      PUID: 1000
      PGID: 1000
      TZ: America/New_York
      BUMPER_ANNOUNCE_IP: "192.168.40.100"
      BUMPER_LISTEN: 0.0.0.0
      BUMPER_DEBUG: "true"
      LOG_TO_STDOUT: "true"
    volumes:
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - ./config:/bumper/data
      - ./certs:/bumper/certs

nxinx.conf

error_log stderr;
pid /var/run/nginx.pid;

events { }

stream {
  resolver 127.0.0.11 ipv6=off; #docker dns server
  map_hash_bucket_size 64;

  map $ssl_preread_server_name $internalport {
    # redirect all requests, which contain "mq" in the SNI -> MQTT
    ~^.*(mq).*\.eco(vacs|user)\.(net|com)$    8883;

    # the rest of eco(user|vacs) requests
    ~^.*eco(vacs|user)\.(net|com)$          443;

    # mapping default to MQTT as the bots are connecting directly to the ip without SNI
    default                                   8883;
  }

  server {
    listen 443;
    ssl_preread  on;
    proxy_pass bumper:$internalport;
  }

  server {
    listen 5223;
    proxy_pass bumper:5223;
  }

  server {
    listen 8007;
    proxy_pass bumper:8007;
  }

  server {
    listen 8883;
    proxy_pass bumper:8883;
  }
}

logs

[2026-08-04 15:23:28,197] :: INFO :: confserver :: Announcing EcoMsgNew Server to bot as: 192.168.40.100:5223

Announcing EcoMsgNew Server to bot as: 192.168.40.100:5223

Announcing EcoUpdate Server to bot as: 47.88.66.164:8005

[2026-08-04 15:23:28,201] :: INFO :: confserver :: Announcing EcoUpdate Server to bot as: 47.88.66.164:8005

Adding new bot with SN: <BOT_SERIAL> DID: <BOT_SERIAL>

[2026-08-04 15:23:28,723] :: INFO :: bumper :: Adding new bot with SN: <BOT_SERIAL> DID: <BOT_SERIAL>

bot authenticated SN: <BOT_SERIAL>

[2026-08-04 15:23:28,738] :: INFO :: xmppserver :: bot authenticated SN: <BOT_SERIAL>
I believe I had this connected and working briefly before reconnecting DEEBOT to my IoT WiFi network that has Internet access blocked. I'm running on portainer with macvlan. According to Bumper server status, Home Assistant connect fine to MQTT and XMPP. The bot connects fine to XMPP but doesn't seem to ever connect to MQTT. ```yml networks: iot_macvlan: driver: macvlan driver_opts: parent: enp5s0.40 ipam: config: - subnet: 192.168.40.0/24 gateway: 192.168.40.1 ip_range: 192.168.40.240/29 bumper_internal: internal: true services: nginx: depends_on: - bumper image: nginx:alpine networks: iot_macvlan: ipv4_address: 192.168.40.100 bumper_internal: restart: unless-stopped volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro bumper: image: bmartin5692/bumper:latest-amd64@sha256:a3d6aeb2543a186df86d0a9a6914d39626d7e4f4cf83892da843d6cffcdaff47 restart: unless-stopped networks: bumper_internal: environment: PUID: 1000 PGID: 1000 TZ: America/New_York BUMPER_ANNOUNCE_IP: "192.168.40.100" BUMPER_LISTEN: 0.0.0.0 BUMPER_DEBUG: "true" LOG_TO_STDOUT: "true" volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - ./config:/bumper/data - ./certs:/bumper/certs ``` nxinx.conf ```nginx error_log stderr; pid /var/run/nginx.pid; events { } stream { resolver 127.0.0.11 ipv6=off; #docker dns server map_hash_bucket_size 64; map $ssl_preread_server_name $internalport { # redirect all requests, which contain "mq" in the SNI -> MQTT ~^.*(mq).*\.eco(vacs|user)\.(net|com)$ 8883; # the rest of eco(user|vacs) requests ~^.*eco(vacs|user)\.(net|com)$ 443; # mapping default to MQTT as the bots are connecting directly to the ip without SNI default 8883; } server { listen 443; ssl_preread on; proxy_pass bumper:$internalport; } server { listen 5223; proxy_pass bumper:5223; } server { listen 8007; proxy_pass bumper:8007; } server { listen 8883; proxy_pass bumper:8883; } } ``` logs ``` [2026-08-04 15:23:28,197] :: INFO :: confserver :: Announcing EcoMsgNew Server to bot as: 192.168.40.100:5223 Announcing EcoMsgNew Server to bot as: 192.168.40.100:5223 Announcing EcoUpdate Server to bot as: 47.88.66.164:8005 [2026-08-04 15:23:28,201] :: INFO :: confserver :: Announcing EcoUpdate Server to bot as: 47.88.66.164:8005 Adding new bot with SN: <BOT_SERIAL> DID: <BOT_SERIAL> [2026-08-04 15:23:28,723] :: INFO :: bumper :: Adding new bot with SN: <BOT_SERIAL> DID: <BOT_SERIAL> bot authenticated SN: <BOT_SERIAL> [2026-08-04 15:23:28,738] :: INFO :: xmppserver :: bot authenticated SN: <BOT_SERIAL> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mia/bumper#158
No description provided.