-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable autodiscovery in Home-Assistant #21
Comments
Sorry, I'm not aware of autodiscovery feature of Home Assistant |
Hi, |
This would be great. I can see the psmqtt data via mqtt-explorer, but cannot easily get the values in Home Assistant. And I'd like to have the configuration in one place, being in the mqtt config files. |
I posted a message directly for the 'sensor' that reports as Now it would be great if psmqtt would, upon restart, send those mqtt messages for all the sensors it will be reporting afterwards. |
Hi @jan-gerard, Can you please share how you integrated psmqtt into Home-Assistant or how you enabled auto discovery (e.g. the psmqtt config file or what you did specifically)? Thanks |
I installed psmqtt (through aptitude, I guess, but this was a while ago). Then I edited the
This was part one. That makes psmqtt send mqtt messages at a regular interval.
It would be nice if psmqtt would take care or that whenever it was restarted, based on the lines in the config file. |
if I have some time, I might be working on this, since I already did implement this feature (home assistant auto-discovery via MQTT) for another project of mine: https://github.com/f18m/rpi2home-assistant/ @eschava what do you think? would that (home assistant MQTT auto-discovery messages) be a welcome addition to the psmqtt project? |
@f18m Sure, I'd be very grateful! |
This would be so useful.. |
I have recently completed MQTT discovery message implementation in my other open source project so I might take a look at adding to psmqtt but it will take some time... |
Would be nice with possibility to enable discovery features with Home Assistant.
Look at this project for inspiration: https://github.com/Sennevds/system_sensors
The text was updated successfully, but these errors were encountered: