Ladies’n Gents,
my HA is running properly in a Docker Container under Unraid. So fare so good.
I tried to connect my NodeRed installation using MQTT to HA.
When looking with an MQTT Expplorer I see all the messages appering on the MQTT,
=> But the MQTT integration doesn´t recognise this device inside HA at all.
I think this is maybe some kind of “fundamental” misunderstanding from myself, but not sure.
Your discovery messages are under the NodeRed topic. Pretty sure they need to be under the homeassistant topic (in a very specific topic structure). e.g. Here is one of my zigbee2mqtt discovery messages under homeassistant/binary_sensor:
Under LOGS in HA I get now following errror message
Logger: homeassistant.util.logging
Source: util/logging.py:114
First occurred: 10:14:13 (41 occurrences)
Last logged: 10:20:50
Exception in async_discover when dispatching ‘mqtt_discovery_new_sensor_mqtt’: ({‘availability_topic’: ‘homeassistant/sensor/PVGarage/availability’, ‘device’: {‘identifiers’: ‘NodeRedPVGARAGE’, ‘manufacturer’: ‘PVGarage’, ‘name’: ‘PVGarage’}, ‘name’: ‘PV-Garage’, ‘platform’: ‘mqtt’},) Traceback (most recent call last): File “/usr/lib/python3.9/site-packages/homeassistant/components/mqtt/mixins.py”, line 246, in async_discover config = schema(discovery_payload) File “/usr/lib/python3.9/site-packages/voluptuous/validators.py”, line 218, in call return self._exec((Schema(val) for val in self.validators), v) File “/usr/lib/python3.9/site-packages/voluptuous/validators.py”, line 341, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File “/usr/lib/python3.9/site-packages/voluptuous/validators.py”, line 337, in _exec v = func(v) File “/usr/lib/python3.9/site-packages/voluptuous/schema_builder.py”, line 272, in call return self._compiled([], data) File “/usr/lib/python3.9/site-packages/voluptuous/schema_builder.py”, line 817, in validate_callable return schema(data) File “/usr/lib/python3.9/site-packages/voluptuous/schema_builder.py”, line 272, in call return self._compiled([], data) File “/usr/lib/python3.9/site-packages/voluptuous/schema_builder.py”, line 594, in validate_dict return base_validate(path, iteritems(data), out) File “/usr/lib/python3.9/site-packages/voluptuous/schema_builder.py”, line 432, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: required key not provided @ data[‘state_topic’]