home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.11k stars 29.17k forks source link

Meater No Devices or Entities After Integration Delete & Re-Add #94440

Closed ziptbm closed 1 year ago

ziptbm commented 1 year ago

The problem

Recently purchased Meater and connected it to Home Assistant. The first probe from my block successfully showed up once, but then stopped reporting information to Home Assistant. Probes 2 and 3 then showed up and were reporting, but I couldn't figure out why Probe 1 would no longer populate data. I then deleted the integration and re-added it, and now no devices or entities show.

All 4 probes are seen by the Meater Cloud. All 4 probes have an active bluetooth connection via the block. The block has an active Meater Cloud connection.

What version of Home Assistant Core has the issue?

2023.06.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Meater

Link to integration documentation on our website

https://www.home-assistant.io/integrations/meater

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I've enabled diagnostic logs, but I do not see anything. I've also deleted the integration, rebooted the system, and re-added it several times, but no entities show despite my Meater Cloud connecting successfully. Please advise on what else I need to further troubleshoot this connection issue.

home-assistant[bot] commented 1 year ago

Hey there @sotolotl, @emontnemery, mind taking a look at this issue as it has been labeled with an integration (meater) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `meater` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign meater` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


meater documentation meater source (message by IssueLinks)

brent20 commented 1 year ago

For what it's worth, my integration was working fine up until I noticed the app added support for live activities (could have been a coincidence) but my Meater plus no longer seems to connect. I haven't tried re-setting up the HA component yet.

paul12ster commented 1 year ago

New installation for a Meater+ Same issue no devices or entities shown.``

ejpenney commented 1 year ago

Another existing installation failing here, device is connected but all entities show as Unavailable. I did see this in the log:

2023-06-21 14:07:16.683 ERROR (MainThread) [homeassistant.components.meater] Timeout fetching meater_api data

Not sure if the message is related. I also can't say for sure the last time I tried to use the Meater integration, it's been a few weeks, I just know it's failing this week.

brent20 commented 1 year ago

For what it's worth, my integration was working fine up until I noticed the app added support for live activities (could have been a coincidence) but my Meater plus no longer seems to connect. I haven't tried re-setting up the HA component yet.

For what it's worth, I haven't done anything on this issue, and last night I used my Meater during dinner and my automations automatically kicked in and things were working again. Could have been a cloud related issue from the vendor, but it appears to be working for me now as it did before posting this comment.

ziptbm commented 1 year ago

Same here, I’m going to close this since the issue I raised appears to have resolved.

@brent20 what automations do you have set up for it? It looks like the time remaining is a time stamp and not a counter, so I’m planning to figure out a template sensor to convert that for the dashboard in my kitchen.

brent20 commented 1 year ago

what automations do you have set up for it?

Honestly, nothing crazy. I made an ESPHome-based MAX7219 matrix display that lives below my living room television that I originally made to show real time sports scores using the ha-teamtracker custom component, and it uses an input_text helper entity that is set by automations that forms templates from the data. I figured it would be a perfect way to keep tabs on my internal and ambient temps when it wasn't being used for tracking sports scores so I don't have to leave my phone open and keep looking at it. So upon state changes to the two temperature entities, it updates the input_text entity, which is then displayed on the LED matrix display. You don't realize how helpful some of these simple things are until they stop working :) - it was a nice surprise to see the display turn on last night.

alias: Meater - Turn on sports ticker
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.meater_probe_internal
  - platform: state
    entity_id:
      - sensor.meater_probe_ambient
condition:
  - condition: not
    conditions:
      - condition: state
        entity_id: sensor.meater_probe_cooking
        state: unavailable
action:
  - service: homeassistant.turn_off
    data: {}
    target:
      entity_id: switch.sports_ticker_scroll
  - service: input_text.set_value
    data:
      value: >-
        {{ states.sensor.meater_probe_internal.state  }} {{
        states.sensor.meater_probe_ambient.state  }}
    target:
      entity_id: input_text.sportstickertext
  - service: homeassistant.turn_on
    data: {}
    target:
      entity_id: switch.sports_ticker_power_switch
mode: single