lukdwo / OpenWRT-collectd-MQTT-HA

OpenWRT Collectd to MQTT with Homeassistant Template
64 stars 10 forks source link

MQTT -> "Unknown" Entities at HA. What's wrong? #6

Closed HulkHoganNWO closed 6 months ago

HulkHoganNWO commented 6 months ago

Hope you can help me,

maybe I did something wrong. Did it twice, but result is the same. Did the instruction step-by-step. May there are a missunderstanding in it.

In Home-Assistant I have a few other MQTT-Devices and all working great. So this should not be the problem. The MQTT-Data (IP, Port, Username, PW) are 100% ok. Have the same in all the other MQTT-Devices and as I sayed, they work well.

Hope you can see everything you need at the screenshots. I check everything a few times and don't understand, why it's not gona work.

Did of course a few reboots with OpenWRT/Router and HA as well.

Thank you in advance.

ha_configyaml ha_sensors mqtt conf openwrtcollectd openwrtcollectd2 openwrtinstalledcollectd openwrtinstalledluci openwrtsystem

lukdwo commented 6 months ago

It looks like past in vi editor which cut firs few letters. Make sure that first line is: LoadPlugin mqtt Lessons learned - int the future use Ctrl+a to enable edit mode in vi and past after that. If you still face this issue check: https://github.com/lukdwo/OpenWRT-collectd-MQTT-HA/issues/4#issuecomment-1866667143

HulkHoganNWO commented 6 months ago

Thank you, very much. Missed that faulty config by checking only the edited values.

After scrolling through https://github.com/lukdwo/OpenWRT-collectd-MQTT-HA/issues/4#issuecomment-1866667143 everything works! Thanks mate.