hjelev / rpi-mqtt-monitor

Raspberry Pi MQTT Monitor gathers system information and sends it to a MQTT server.
GNU General Public License v3.0
176 stars 42 forks source link

mqtt sensor not working #10

Closed milandzuris closed 1 year ago

milandzuris commented 2 years ago

image mqtt sensors not working, in mqtt explorer i see sensors.

hjelev commented 2 years ago

do you get some error when you try to run the script?

milandzuris commented 2 years ago

Logger: homeassistant.components.mqtt.discovery Source: components/mqtt/discovery.py:108 Integration: MQTT (documentation, issues) First occurred: 19:37:05 (648 occurrences) Last logged: 20:57:11

Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_voltage/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_swap/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_memory/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_sys_clock_speed/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_uptime_days/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic

@hjelev

hjelev commented 2 years ago

Its that special char in your topic. Check the error message. - The topic contains not allowed characters.

On Fri, Sep 23, 2022 at 9:58 PM Milan Dzuriš @.***> wrote:

Logger: homeassistant.components.mqtt.discovery Source: components/mqtt/discovery.py:108 Integration: MQTT (documentation, issues) First occurred: 19:37:05 (648 occurrences) Last logged: 20:57:11

Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_voltage/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_swap/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_memory/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_sys_clock_speed/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic Received message on illegal discovery topic 'homeassistant/sensor/Dzuriš DNS Server/DzurisDNSServer_uptime_days/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/docs/mqtt/discovery/#discovery-topic

@hjelev https://github.com/hjelev

— Reply to this email directly, view it on GitHub https://github.com/hjelev/rpi-mqtt-monitor/issues/10#issuecomment-1256567123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5ZSS33F35GC6CAAWDTM43V7X4VJANCNFSM6AAAAAAQUFYFCU . You are receiving this because you were mentioned.Message ID: @.***>