Skip to content

Hassio Addon: not connecting to Mosquitto Addon when using loopback IP/Host #19

@Pe-MaKer

Description

@Pe-MaKer

The Mosquitto Broker does not receive MQTT messages from the Gigaset elements proxy.

Setup:
Home Assistant 0.100.1
Hassio Supervisor 189
HassOS 2.11
Gigaset Elements Proxy Add-on 1.2
Mosquitto Broker Add-on 5.1

I created a new user "gigaset" in the HA user administration, which I also used in the add-on config of the element Proxy:

{
  "email": "[email protected]",
  "password": "password;)",
  "check_events_interval": 10,
  "mqtt_url": "mqtt://localhost:1883",
  "mqtt_options": {
    "clientId": "gigaset",
    "username": "gigaset",
    "password": "donttellanybody"
  },
  "allow_unknown_events": false
}

The log of the proxy doesn't show any (e.g. authentication) error:

[Tue Oct 22 2019 10:27:26] [LOG]    acquired event: {"id":"9fca34723794fd141241b359e55c41ee2b7976ee","state":"ok","ts":"1571732840809","type":"close","o":{"frontendTags":{"room":{"roomName":"Arbeitszimmer"}},"friendly_name":"Arbeitszimmerfenster","id":"0335ab9b16","factoryType":"umos","type":"um01","umosConfiguredType":{"mainType":"window","subType":"regular"},"room":{"id":75665,"friendlyName":"Arbeitszimmer"}},"source_id":"BB4BC9AAA262EEABA32021A066F0B043","source_name":"base","source_type":"basestation","state_pre":"ok"}
[Tue Oct 22 2019 10:27:26] [LOG]    event sent as mqtt_topic: gigaset/Arbeitszimmerfenster, value: false

But when I subscribe to the topic "gigaset/Arbeitszimmerfenster" or "gigaset/#", nothing happens. No messages, no error messages in the Mosquitto logs. Just nothing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions