h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
121 stars 17 forks source link

Device not found after a day. #193

Closed TT1312555 closed 1 month ago

TT1312555 commented 1 month ago

This happens everyday, please advise.

2024-07-26 09:31:13.089 ERROR (MainThread) [custom_components.toshiba_ac.climate] Error during connection to Toshiba server 0, message='Attempt to decode JSON with unexpected mimetype: text/html' 2024-07-26 09:31:13.102 ERROR (MainThread) [homeassistant.helpers.entity_platform] toshiba_ac raises exception ConfigEntryNotReady in forwarded platform climate; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups

h4de5 commented 1 month ago

this does happen quiet often. when the toshiba server is not reachable this exeption is thrown. best you can do is wait until its reachable again, querying too often does also not help. :(

TT1312555 commented 1 month ago

I see.

If I reset HA or reload it, it will work. So I am not sure which is the exact reason.

On Sat, Jul 27, 2024, 12:51 Andi @.***> wrote:

this does happen quiet often. when the toshiba server is not reachable this exeption is thrown. best you can do is wait until its reachable again, querying too often does also not help. :(

— Reply to this email directly, view it on GitHub https://github.com/h4de5/home-assistant-toshiba_ac/issues/193#issuecomment-2253790405, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIQ5SYKYIE7RJ6SNPABNP53ZOMYNDAVCNFSM6AAAAABLRPJATCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTG44TANBQGU . You are receiving this because you authored the thread.Message ID: @.***>

h4de5 commented 1 month ago

usually reloading the extension (from the toshiba integration page) should do the trick.

TT1312555 commented 1 month ago

Is there an automation to reload it? For example, reloading it everyday at 12PM.

On Sat, Jul 27, 2024 at 3:01 PM Andi @.***> wrote:

usually reloading the extension (from the toshiba integration page) should do the trick.

— Reply to this email directly, view it on GitHub https://github.com/h4de5/home-assistant-toshiba_ac/issues/193#issuecomment-2254022139, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIQ5SYNJQEFRMVZQZTHEYO3ZONHWJAVCNFSM6AAAAABLRPJATCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGAZDEMJTHE . You are receiving this because you authored the thread.Message ID: @.***>

chrisandsally commented 1 month ago

Also having the same issue, over the last few months. A simple reload kicks it back in, so is there a way to trap this and fore a reload, or to automate a schedule reload?

k3067e3 commented 1 month ago

Screenshot_2024-07-27-10-57-10-473_io homeassistant companion android

TT1312555 commented 1 month ago

Screenshot_2024-07-27-10-57-10-473_io homeassistant companion android

Thank you. Could you please expand them as well? I am new so I am not sure what to configure.

image

k3067e3 commented 1 month ago

Screenshot_2024-07-27-19-49-06-896_io homeassistant companion android

k3067e3 commented 1 month ago

EG is my entity for Toshiba AC as named in Toshiba app

TT1312555 commented 1 month ago

EG is my entity for Toshiba AC as named in Toshiba app

Am I doing this right? So far no trigger. I have 2 ACs, one on the 1st and the other on the 2nd floor.

image

k3067e3 commented 1 month ago

I am also no specialist, but have a look here. https://github.com/h4de5/home-assistant-toshiba_ac/issues/193#issuecomment-2254082102

My And if Section is empty. I have everything handled in the Then Do section, as you can see in the screenshot. I have also a multiple split Air Condition, entity EG & 1OG, but I only trigger one of them, because when one is offline, the other is offline too.