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
71.13k stars 29.8k forks source link

Modern Forms devices no longer working #123828

Open jstewar9 opened 4 weeks ago

jstewar9 commented 4 weeks ago

The problem

This morning my modern forms fan integration stopped working. I receive the following error: Failed setup: will retry invalid response from API: Timeout occurred while connecting to Modern Forms device 192.168.0.107.

This error appears for four different devices. I've tried reloading each device without success. I've also tried restarting HA without success.

What version of Home Assistant Core has the issue?

core-2024.8.1

What was the last working version of Home Assistant Core?

core-2024.8.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Modern Forms

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-08-13 09:22:23.853 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 09:25:32.686 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 09:46:38.127 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 09:55:01.872 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 09:56:16.085 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 10:14:35.422 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 10:15:12.906 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 10:16:18.525 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 10:21:25.572 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 10:35:10.236 ERROR (MainThread) [homeassistant.components.modern_forms.coordinator] Error fetching modern_forms data: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.107 2024-08-13 10:39:35.188 DEBUG (MainThread) [homeassistant.components.modern_forms.coordinator] Finished fetching modern_forms data in 7.019 seconds (success: True) 2024-08-13 10:39:42.033 DEBUG (MainThread) [homeassistant.components.modern_forms.coordinator] Finished fetching modern_forms data in 1.864 seconds (success: True) 2024-08-13 10:39:47.053 DEBUG (MainThread) [homeassistant.components.modern_forms.coordinator] Finished fetching modern_forms data in 0.884 seconds (success: True)

Additional information

The integration has worked since I started using HA last week, just stopped working yesterday.

home-assistant[bot] commented 4 weeks ago

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

Code owner commands Code owners of `modern_forms` 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 modern_forms` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


modern_forms documentation modern_forms source (message by IssueLinks)

mib1185 commented 4 weeks ago

Did you check if your fans are still connected to the WiFi? Further did you try to power cycle the fans?

jstewar9 commented 4 weeks ago

Thanks for taking a look into this. Yes, the fans are connected to WiFi - I can view and operate them within the Modern Forms app.

No, I haven’t power cycled the fans yet.

Cheers, Jonathon

On Wed, Aug 14, 2024 at 1:59 AM Michael @.***> wrote:

Did you check if your fans are still connected to the WiFi? Further did you try to power cycle the fans?

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

mib1185 commented 4 weeks ago

No, I haven’t power cycled the fans yet.

than please give it a try :slightly_smiling_face:

jstewar9 commented 4 weeks ago

I power cycled the fans and it did eventually work - some fans required multiple power cycles.

I’m new to HA and don’t currently have automations for these devices, however, I plan to link each fan to presence sensor soon. If this happens again, will I need to recreate those automations each time?

On Wed, Aug 14, 2024 at 9:11 AM Michael @.***> wrote:

No, I haven’t power cycled the fans yet.

than please give it a try 🙂

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

mib1185 commented 4 weeks ago

It has no influence on the existence of automation, just because a device has a problem and needs to be power cycled.

jstewar9 commented 4 weeks ago

Thanks for confirming!

With SmartThings and Alexa, I have had situations where I needed to re-add devices and my automations/routines stopped working because they detected a new version of the device.

On Wed, Aug 14, 2024 at 10:18 AM Michael @.***> wrote:

It has no influence on the existence of automation, just because a device has a problem and needs to be power cycled.

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

mib1185 commented 4 weeks ago

but re-adding a device (or integration) ist different to just power cycle a device :wink:

Anyway, your issue seems to be solved :+1: For any further support question, our Community Forum or our Discord chat server is the best place to ask such questions :wink: We use GitHub for tracking issues with Home Assistant Core itself, not for providing support.

Thanks! 👍

jstewar9 commented 1 week ago

Unfortunately I’ve been spinning my wheels on this. I’ve power cycled, reconnected WiFi, and reset each fan in the app. The fans work in HA for a short period of time, then stop working.

Currently I have one fan set up in HA. I connected to HA yesterday and it was working fine until today. Now I’m getting the following error: Failed setup, will retry: Invalid response from API: Timeout occurred while connecting to Modern Forms device at 192.168.0.45

The above fan works fine in the Modern Forms app.

On Wed, Aug 14, 2024 at 11:04 AM Michael @.***> wrote:

but re-adding a device (or integration) ist different to just power cycle a device 😉

Anyway, your issue seems to be solved 👍 For any further support question, our Community Forum https://community.home-assistant.io or our Discord chat server https://www.home-assistant.io/join-chat is the best place to ask such questions 😉 We use GitHub for tracking issues with Home Assistant Core itself, not for providing support.

Thanks! 👍

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

mib1185 commented 1 week ago

Does reloading the integration in HA (not rebooting HA itself) fix the issue?

jstewar9 commented 1 week ago

Unfortunately, no. If I power cycle or reset a fan, I need to delete the existing device in HA and re-add the device. This works for a day or two, then the error pops up again.

On Fri, Aug 30, 2024 at 12:45 AM Michael @.***> wrote:

Does reloading the integration in HA (not rebooting HA itself) fix the issue?

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

mib1185 commented 1 week ago

ok, just to be sure - when the fan becomes unavailable in HA, just rebooting the fan and reloading (not re-adding!) the integration HA is not enough? You really have to re-add the integration?

jstewar9 commented 1 week ago

Yes, once I start getting the error, I can’t reconnect that device in HA. I have to delete the non-working device and re-enter the IP to connect as a new device.

On Sun, Sep 1, 2024 at 2:20 AM Michael @.***> wrote:

ok, just to be sure - when the fan becomes unavailable in HA, just rebooting the fan and reloading (not re-adding!) the integration HA is not enough? You really have to re-add the integration?

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

mib1185 commented 1 week ago

Please enable debug logging, restart the integration and download and provide the log file after the issue occur again.

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.

thx 👍