Pigotka / ha-cc-jablotron-cloud

HACS custom component for jablotron cloud integration
GNU General Public License v3.0
11 stars 1 forks source link

Devices unavailable #13

Closed rampie closed 9 months ago

rampie commented 9 months ago

Hello,

I’m using this integration in few automations but I frequently receive the status unavailable from several components. Is this a know issue or do I have to adjust polling intervals or something?

Controlling the sections/zones are no problem. Just if I want to check for the current state, it tells me it’s unavailable… kind regards.

Pigotka commented 9 months ago

Hi, thank you for your comment. I experiencing same but I'm still trying to narrow it down whether it is due to Jablotron servers are unavailable for some time or session is expiring.

But for sure their server are on maintanance sometimes during night and it can't be entirely avoided.

rampie commented 9 months ago

It isn’t just by night, it happens over the entire day….

Let me know if you find a way… or a method to use the latest known state in automations when when the current state is unavailable 😉

by the looks of the logs it’s a session expired… Logger: custom_components.jablotron_cloud.switch Source: custom_components/jablotron_cloud/switch.py:125 Integration: Jablotron Cloud (documentation, issues) First occurred: 6 november 2023 om 18:31:40 (15218 occurrences) Last logged: 08:16:53

Invalid gate data. Maybe session expired

In 12h 15000 occurrences?😉

Pigotka commented 9 months ago

@rampie but what you posted just now it's different issue, just ask integration to recofigure or restart it should help you. What I was talking about looks different and will not last for 12h ;)

Pigotka commented 9 months ago

Yours can be connected with recent License changes or API upgrate addresed in recent release.

rampie commented 9 months ago

Installed the latest version last night and I dont have any pop-up to accept the new license when I log in so..

Pigotka commented 9 months ago

The popup is on jablotron cloud. You need to login there in web browser.

rampie commented 9 months ago

I did log in via web browser on Jablotron cloud No pop-up and yes pop-up blocker is disabled

Pigotka commented 9 months ago

It's not a popup it's just a message you need to agree with. But regardless the issue is the same as in #11 and it was resolved unless you will provide more info updating and accepting terms should solve this.