question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] DT does not pickup MQTT

See original GitHub issue

Describe the bug My config snippet:

mqtt:
  host: 192.168.178.15:1883
  username:
  password:
  topics:
    # mqtt topic for frigate message subscription
    frigate: frigate/events
    #  mqtt topic for home assistant discovery subscription
    homeassistant: homeassistant
    # mqtt topic where matches are published by name
    matches: double-take/matches
    # mqtt topic where matches are published by camera name
    cameras: double-take/cameras

DT logs:

21-10-18 12:53:19 verbose: {
  auth: false,
  detect: {
    match: {
      save: true,
      base64: false,
      confidence: 60,
      purge: 168,
      min_area: 10000
    },
    unknown: {
      save: true,
      base64: false,
      confidence: 40,
      purge: 8,
      min_area: 0
    }
  },
  time: { timezone: 'UTC' },
  frigate: {
    attempts: { latest: 10, snapshot: 10, mqtt: true, delay: 0 },
    image: { height: 720 },
    labels: [ 'person' ],
    url: 'http://192.168.178.15:5001',
    cameras: [ 'voordeurbel' ]
  },
  mqtt: {
    topics: {
      frigate: 'frigate/events',
      matches: 'double-take/matches',
      cameras: 'double-take/cameras',
      homeassistant: 'homeassistant'
    },
    host: '192.168.178.15:1883',
    username: null,
    password: null
  },
  logs: { level: 'verbose' },
  ui: {
    theme: 'bootstrap4-dark-blue',
    editor: { theme: 'nord_dark' },
    logs: { lines: 500 },
    pagination: { limit: 50 },
    thumbnails: { quality: 95, width: 500 }
  },
  deepstack: { url: 'http://192.168.178.15:5002', timeout: 15 },
  server: { port: 3000 },
  storage: {
    path: './.storage',
    config: { path: './.storage/config' },
    tmp: { path: '/tmp/double-take' }
  },
  version: '1.5.0-5eb9971'
}
21-10-18 12:53:20 info: MQTT: connected
21-10-18 12:53:20 info: MQTT: subscribed to frigate/events, frigate/voordeurbel/person/snapshot

Version of Double Take latest

Expected behavior It should ‘see’ the latest events?

Hardware Unraid server

Additional context Frigate itself works fine and I can see the events being sent to the frigate/events channel on MQTT with a MQTT-client.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bliekpcommented, Oct 19, 2021

Yeah, you can close this one. Thanks for the help and this awesome fun tool!

0reactions
jakowenkocommented, Oct 19, 2021

Great, is it working now for you? I wasn’t able to reproduce the green light with the wrong config.

Screen Shot 2021-10-19 at 10 18 24 AM

Read more comments on GitHub >

github_iconTop Results From Across the Web

MQTT connection failures with Mosquitto #7648 - GitHub
I'm seeing issues with communication between telegraf and mosquito in a docker setup where the connection fails and does not recover.
Read more >
I created a Transmitter but my MQTT Transmission module ...
If no MQTT Clients have been created, the MQTT Transmission module was not able to identify any configured EdgeNode. There is no requirement...
Read more >
Quick Guide to The Mosquitto.conf File With Examples
Restarting Mosquitto or Reloading Config Files. If you update mosquitto configuration files you can restart mosquitto to pick up the changes. However on...
Read more >
Resolving problem: MQTT client does not connect - IBM
There are a number of reasons why an MQTT client might not connect, or you might conclude it has not connected, to the...
Read more >
Device integration using MQTT - Cumulocity IoT Guides
This section does not describe the basics of MQTT communication. ... To verify if a template collection exists, the client can subscribe to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found