motoz / pellmonMQTT

Connect to a running pellmon instance over DBUS and publish all data on MQTT
GNU General Public License v2.0
4 stars 2 forks source link

Mqtt auto discover #4

Open MadsALarsen opened 1 year ago

MadsALarsen commented 1 year ago

is it possible to make the mqtt sensors auto discover in home assistant??

motoz commented 1 year ago

How does that work in home assistant?

MadsALarsen commented 1 year ago

He is some documentation, it May help

https://www.home-assistant.io/docs/mqtt/discovery/#examples

https://www.home-assistant.io/integrations/sensor.mqtt/

motoz commented 1 year ago

It would seem to me that mapping the info pellmon has to offer into that format would be easier to do in the HA configuration than in pellmonMQTT source code, but since I don't know anything about HA I might be wrong. It is of course possible to make that mapping in pellmonMQTT source code.

MadsALarsen commented 1 year ago

It is possible in HA config, but it would be nice to have it as auto discovery 👍🏻