arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.97k stars 4.77k forks source link

ESP32 - Miflora - Wrong config in MQTT for Home Assistant #11151

Closed MrFloppy closed 3 years ago

MrFloppy commented 3 years ago

PROBLEM DESCRIPTION

I just flashed Tasmota Bluetooth to an ESP32 to bridge the data from BLE sensors via MQTT into my homeassistant. Unfortunately the Home Assistant Tasmota Plugin does not recognise the sensors properly, so I activated Home Assistant discovery ("SetOption19 1"). My LYWSD03MMC / ATC were properly recognised and configured.

Unfortunately my MiFlora Sticks get the following config, but still reports correct values afterwards:

09:14:25.810 MQT: homeassistant/sensor/Flora676d23/Temperature/config = {"availability":[],"device":{"identifiers":["BLEFlora676d23"],"name":"Flora676d23","manufacturer":"tas","model":"Flora","via_device":"M5Stick-Bridge-4520"},"dev_cla":"temperature","expire_after":600,"json_attr_t":"tele/tasmota_ble/Flora676d23","name":"Flora676d23_Temperature","state_topic":"tele/tasmota_ble/Flora676d23","uniq_id":"Flora676d23_Temperature","unit_of_meas":"°C","val_tpl":"{{ value_json.Temperature }}"}
09:14:25.849 MQT: homeassistant/sensor/Flora676d23/Humidity/config = {"availability":[],"device":{"identifiers":["BLEFlora676d23"],"name":"Flora676d23","manufacturer":"tas","model":"Flora","via_device":"M5Stick-Bridge-4520"},"dev_cla":"humidity","expire_after":600,"json_attr_t":"tele/tasmota_ble/Flora676d23","name":"Flora676d23_Humidity","state_topic":"tele/tasmota_ble/Flora676d23","uniq_id":"Flora676d23_Humidity","unit_of_meas":"%","val_tpl":"{{ value_json.Humidity }}"}
09:14:25.890 MQT: homeassistant/sensor/Flora676d23/DewPoint/config = {"availability":[],"device":{"identifiers":["BLEFlora676d23"],"name":"Flora676d23","manufacturer":"tas","model":"Flora","via_device":"M5Stick-Bridge-4520"},"dev_cla":"temperature","expire_after":600,"json_attr_t":"tele/tasmota_ble/Flora676d23","name":"Flora676d23_DewPoint","state_topic":"tele/tasmota_ble/Flora676d23","uniq_id":"Flora676d23_DewPoint","unit_of_meas":"°C","val_tpl":"{{ value_json.DewPoint }}"}
09:14:25.933 MQT: homeassistant/sensor/Flora676d23/Battery/config = {"availability":[],"device":{"identifiers":["BLEFlora676d23"],"name":"Flora676d23","manufacturer":"tas","model":"Flora","via_device":"M5Stick-Bridge-4520"},"dev_cla":"battery","expire_after":600,"json_attr_t":"tele/tasmota_ble/Flora676d23","name":"Flora676d23_Battery","state_topic":"tele/tasmota_ble/Flora676d23","uniq_id":"Flora676d23_Battery","unit_of_meas":"%","val_tpl":"{{ value_json.Battery }}"}
09:14:25.972 MQT: homeassistant/sensor/Flora676d23/RSSI/config = {"availability":[],"device":{"identifiers":["BLEFlora676d23"],"name":"Flora676d23","manufacturer":"tas","model":"Flora","via_device":"M5Stick-Bridge-4520"},"dev_cla":"signal_strength","expire_after":600,"json_attr_t":"tele/tasmota_ble/Flora676d23","name":"Flora676d23_RSSI","state_topic":"tele/tasmota_ble/Flora676d23","uniq_id":"Flora676d23_RSSI","unit_of_meas":"dB","val_tpl":"{{ value_json.RSSI }}"}

Is this my fault?

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [X] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
None


### TO REPRODUCE
See above.

### EXPECTED BEHAVIOUR
See above.

### SCREENSHOTS
N/A

### ADDITIONAL CONTEXT
None yet

**(Please, remember to close the issue when the problem has been addressed)**
close-issue-app[bot] commented 3 years ago

This issue has been automatically closed because the PROBLEM REPORT TEMPLATE is missing or incomplete. Filling the template is required so standard questions don't need to be asked again each time. Our ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template with the requested information. The details requested potentially affect which options to pursue. The small amount of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce the time required to help you. Please, could you be so kind on completing the PROBLEM REPORT TEMPLATE in order to have more information so as to properly help you? Thank you for taking the time to report, hopefully it can be resolved soon. Docs for more information. Discussions for Questions, Feature Requests and Projects. Chat for more users experience.
Please check the Code of Conduct and the Contributing Guideline and Policy