-
Notifications
You must be signed in to change notification settings - Fork 26
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
Mqtt auto discovery for Home Assistant #157
Comments
Hi, this makes sense. I found the following: https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery Otherwise I will not take care of this topic anytime soon. |
Thanks for responding! I've spent the afternoon adding the sensors in configuration.yaml for each entity in the mqtt message. This works now and it shows up in Home Assistant as 1 device with all the sensors. I'm happy how this worked out. You don't need to integrate it for me in particular. Cheers! |
Good job! May I ask you to share the configuration.yaml file here for others and maybe as a base for the auto discovery? |
Will do. May take a few days. ;)
…-------- Oorspronkelijk bericht --------
Van: Matthias Prinke ***@***.***>
Datum: 22-04-2024 22:47 (GMT+01:00)
Aan: matthias-bs/BresserWeatherSensorReceiver ***@***.***>
Cc: Shadowpost ***@***.***>, State change ***@***.***>
Onderwerp: Re: [matthias-bs/BresserWeatherSensorReceiver] Mqtt auto discovery for Home Assistant (Issue #157)
Good job! May I ask you to share the configuration.yaml file here for others and maybe as a base for the auto discovery?
—
Reply to this email directly, view it on GitHub<#157 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCHT4GUJHRXDABGRP2BN3T3Y6VZNFAVCNFSM6AAAAABGSJBMV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHEZDINRZGM>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Here is the code I've added to my configuration.yaml in Home Assistant: mqtt: |
Thanks for providing your configuration! The formatting has been lost by pasting it into the comment. May I ask you to add it again as an attachment or enclosed in three backticks (see https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code)? |
Bresser HA MQTT custom config.txt |
@Shadowpost Thanks again! Reposted with formatting:
|
After a number of hours fiddling, I managed to get the sketch working on my ESP8266 and I can recieve data from my weather station.
However, this is not formatted and in Home Assistant, I see it as a string of multiple values.
A solution would be a few lines of code that make the data visible for Home Assistant through MQTT auto discovery.
An alternative could be to edit the config.yaml, but I'm not sure how.
Any help will be appreciated!
The text was updated successfully, but these errors were encountered: