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
73.58k stars 30.75k forks source link

Rituals genie stopped working #125437

Open crryp opened 2 months ago

crryp commented 2 months ago

The problem

The rituals genie 2.0 intergration doenst work anymore. I saw my genie do an update purple light and since then its not responsable.

It doens’t show the cardridge anymore and i cant put it on or off.

Im not sure it can also be the rituals software itself.

What version of Home Assistant Core has the issue?

2024.7.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant docker

Integration causing the issue

Rituals

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

As i pointed out before im not sure if this is at the rituals side but i wouldnt be suprised

home-assistant[bot] commented 2 months ago

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

Code owner commands Code owners of `rituals_perfume_genie` 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 rituals_perfume_genie` 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)


rituals_perfume_genie documentation rituals_perfume_genie source (message by IssueLinks)

crryp commented 2 months ago

I have contacted rituals and they did make changes. They will release an update of there app to make it work again next monday. So it might also need some work on the intergration if i am informed correct by rituals.

Side node it does work again to turn off and on. Only the information does not work what parfumn and what the fillment level is.

To the author of this intergration might be best to wait for monday to see if it needs changes.

niekniek89 commented 2 months ago

Same issues here with the Rituals V1. All sensors don't seem to work anymore... but switching on/off still works.

crryp commented 2 months ago

Its a issue at rituals, i contacted them and there are working on a solution so i guess this case needs to wait for ha and see what the adjustments on there side will be!

niekniek89 commented 1 month ago

Now the entire Rituals integration doesn't work anymore. Hopefully someone can fix this soon, after Rituals answers (if this is necessary).

quinten94b commented 1 month ago

Are there any updates from Rituals?

crryp commented 1 month ago

Nope there communication is rediculus. There own app itself also doenst work. "Monday" they didnt say what year😅

quinten94b commented 1 month ago

Nope there communication is rediculus. There own app itself also doenst work. "Monday" they didnt say what year😅

I think Genie is more like a side project they outsourced to another company, to be honest. I'm grateful the Genie is accessible from HA (whenever it is). But if I see how many times it was broken because of:

It's not my intention for this to turn into a rant. I understand that developing stuff can break stuff. But they really need to step up their game for such an expensive device.

Pirol62 commented 1 month ago

OK, neither the rituals app works reliable nor the integration, which might be caused by changes made by rituals. The app doesn't detect new cartridges nor can switch the genies reliable. I tried to reconnect one of my two devices. Now this device cannot detect the wlan and so the onboarding routine stopped. There is definitely quality control missing when rolling out new software and why do they change a working software anyway? And by the way: if they rolled out an update meanwhile, it doesn't have fixed anything. They seem to gave that project to some apprentices

frenck commented 1 month ago

I have some contacts @ Rituals who worked on the Genie before and some that should be able to forward stuff. They have helped with this integration before. Will make a task to reach out.

InsaneSoftware commented 1 month ago

As a Software Developer at Rituals Genie (and a dedicated fan of Home Assistant):

During my honeymoon, a new version of the app was released, which unfortunately coincided with performance challenges. After a detailed investigation, we identified the root cause: a surge in traffic due to the new app, which introduced additional functionalities and endpoints, compounded by the simultaneous release of a new firmware update. Both factors contributed significantly to the strain on our system.

Managing over 320,000 users across diverse regions, along with the rapid expansion of the app’s user base, made it difficult to fully simulate this scenario within our testing environment prior to the release.

It’s also important to clarify that while our internal software engineers have been working diligently to address these issues as quickly as possible, the app itself is developed by an other department. This department has shown exceptional dedication, working up to 20 hours a day alongside us to resolve the problems. The situation could have been resolved sooner if not for the unfortunate timing of my absence, as I was on a planned honeymoon during the release—though the release dates were fixed due to our global launch schedule.

We’ve also detected some instances where the old API (v1) is still in use, despite the transition to API v2. I’ve already been in contact with @frenck, and I’ll send him the V2 API documentation and any additional information he requires as soon as he’s available.

I’m pleased to report that, as of last Friday, the new app has stabilized and is performing as expected. However, if the current issues are related to residual v1 API usage, we’re more than happy to assist in resolving them or even collaborate on custom code solutions for Home Assistant users.

@crryp

I understand your frustration regarding the slow communication from Rituals, especially with their customer service being overwhelmed. I sincerely apologize on their behalf. The situation is indeed more complex, but unfortunately, due to certain agreements and confidentiality rights, I am unable to provide further details publicly.

@Pirol62 srry for being an apprentice!

@quinten94b I believe some of the information you provided may not be fully accurate. However, we are actively working on finalizing our API v2 documentation to share with communities like Home Assistant. This will help prevent misuse or excessive polling on incorrect endpoints.

I think me being here not as a employee but as a co-user of HA hopefully gives some hope and trust in a working connection again.

crryp commented 1 month ago

@InsaneSoftware thanks for your information and answers. The thing is every email gets answered differently so its just messy.

Anyways the app works smooth but the cardridge is still not reconized in the genie app. Note: started after the latest firmware update maybe that helps the search.

For homeassistant its broken for now but as i understand thats mainly about a api change to v2

Hopefully issues are solved soon on the genie app since its a expensive product.

For homeassistant it should be nice if the integration can work again with the genie since its really a cool intergration! But i understand that takes time from people in there free time :)

InsaneSoftware commented 1 month ago

@InsaneSoftware thanks for your information and answers. The thing is every email gets answered differently so its just messy.

Anyways the app works smooth but the cardridge is still not reconized in the genie app.

For homeassistant its broken for now but as i understand thats mainly about a api change to v2

Hopefully issues are solved soon on the genie app since its a expensive product.

For homeassistant it should be nice if the integration can work again with the genie since its really a cool intergration! But i understand that takes time from people in there free time :)

The app does take a bit too long to refresh (especially when switching between Genies or restarting the app; Scents should work). This will likely be fine-tuned next week. For now, let’s keep the focus on the Home Assistant integration.

P.S.: The latest firmware mainly introduces improvements to lighting controls and some enhanced onboarding features.

Thanks again for your time and willingness to help!

crryp commented 1 month ago

@InsaneSoftware

Since all the updates the cardridge info never have been working. image

Even if i open the app for a half an hour. I only have one genie so i never switch.

Maybe this info helps to pinpoint the issue.

Mm i got now a 5.2 firmware i had 5.4 yesterday so something did change.

ekrol74 commented 1 month ago

Thanks all for who is helping on this issue.

crryp commented 1 month ago

For me the app still doesnt show a cardridge.

homeassistant also broken.

dennisbrouwer91 commented 1 month ago

App is working fine here!

image[/image]

crryp commented 1 month ago

Tried reinstall app, reinstall genie (factory reset) and switching cardridges stays the same no cardridge found. So frustrating..

dennisbrouwer91 commented 1 month ago

This is what my new Perfume Genie app looks like : image

I can also control the Genie without issues from their app.

crryp commented 1 month ago

image

@dennisbrouwer91 i know but this is what i get...

ekrol74 commented 1 month ago

Tried reinstall app, reinstall genie (factory reset) and switching cardridges stays the same no cardridge found. So frustrating..

Probably NFC issue, did you try another cartridge?

crryp commented 1 month ago

Tried reinstall app, reinstall genie (factory reset) and switching cardridges stays the same no cardridge found. So frustrating..

Probably NFC issue, did you try another cartridge?

Yes i tried 2 :)

Its just a mess now i reconnected now the wifi is weak. Its next to the router phone getting 600mbit.

My cardridges are old but it worked before all the updates so not sure if that makes a difference

Pirol62 commented 1 month ago

Before the update I had two working genies. One of them is still online but the new cartridge is not detected and the wlan is reported as weak even the router is right in the near of the device. I still try to reconnect the other one. When it comes to the situation after connecting to the genie, that the app is searching for the wlan, I can see in my mobile, that the wlan of the device is connected to a new wlan called "Perfume genie" so the mobile device looses internet connectivity and the app reports "no wlan detected" after a while and leads to the authorization settings. That happens on my phone as well as on my tablet. Well, unfortunately it still doesn't work

abjwsm commented 1 month ago

Hi My Genie (Rituals) integration also stopped working. Deleted Integration, reinstalled and will not accept my user name and login. These credentials work fine with the genie app and the rituals web site.

abjwsm commented 1 month ago

My App works but seems very flaky. When turning on the Genie, it announces that it will turn off after 60minutes and counts down, however it does not switch off, still running several hours later. The integration in HA still not working.

domasist commented 1 month ago

Few of our users have also problem with Rituals Parfume Genie integration in HA. They reported that phone App now works with all the info as reported above, genie firmware 5.4, but still no connection in HA. We are looking forward to see it working again and thank you for your work guys, @InsaneSoftware and the rest. Genie is another level for our senses at home. It's a great product loved by our wives.

hmmbob commented 1 month ago

@InsaneSoftware As I'm seeing a lot of 429 - Too many requests warnings, I am assuming some throttling has been implemented serverside. Does it make sense to lower the update interval on the HA side, or is it better to just "sit it out" and wait for the Rituals servers to get some air again?

Coldrush commented 1 month ago

I just want to thank @InsaneSoftware and everyone behind the scenes. Yes, as a user, it can be incredibly frustrating when things break for no apparent reason. But personally, I think it’s more important how a company handles communication and resolves issues—if they do that at all. I also want to say I really like the look of the new app, despite having my fair share of problems. It’s been mostly stable for me now.

And @InsaneSoftware, congrats on your marriage! I hope you’re still on that pink cloud, even while troubleshooting these issues!

Denox78 commented 1 month ago

Hi there,

For me the ritual app is working perfectly fine since the last updates (and love the new design BTW!)

I just can't login on the HomeAssistant integration anymore so I'm not able to use my automations :(

Logs are showing the below :

`Enregistreur: homeassistant.components.rituals_perfume_genie.coordinator
Source: helpers/update_coordinator.py:328
intégration: Rituals Perfume Genie (documentation, problèmes)
S'est produit pour la première fois: 15:03:35 (2 occurrences)
Dernier enregistrement: 15:03:39

Error requesting rituals_perfume_genie-LOT123-28-470BA-06311 data: 429, message='Too Many Requests', url=URL('https://rituals.sense-company.com/api/account/hub/f4fe1b9390558a9f108e5fde3cf9ab8fcbb94f39dd2e7380c75d8f74303c898e')
Error requesting rituals_perfume_genie-LOT122-27-59BA0-37300 data: 429, message='Too Many Requests', url=URL('[https://rituals.sense-company.com/api/account/hub/8132ac86d886c3106938c2c7f080d4df936c0984922e679f9687213f6639640c')`](https://rituals.sense-company.com/api/account/hub/8132ac86d886c3106938c2c7f080d4df936c0984922e679f9687213f6639640c')%60)
anesioneto commented 1 month ago

@InsaneSoftware and @frenck people sometimes forget to just say thank you. Thank you for this amazing integration! We will be here waiting and when it´s ready we´ll come back to use it!

jorgemarmor commented 1 month ago

I fully agree with @anesioneto . Thank you guys for this great integration.

In the meantime, I would like to share the interim solution I managed to do while this integration is back to life: I'm using Alexa integration from HACS, and genie skill for Alexa, so I can send Alexa commands to genie to turn it on and off. This wasn't working while all the changes happens, but I can confirm it started working few days later.

frenck commented 1 month ago

I've added a little workaround that should help to mitigate the issue for now.

If you, after upgrade to 2024.10.1, are still hitting the rate limits, I would recommend on disabling the integration for a bit, wait an hour and try again.

anesioneto commented 1 month ago

Thanks @frenck!

domasist commented 1 month ago

Thanks a lot @frenck We will try it with 2024.10.1

jorgemarmor commented 1 month ago

Thanks for the work on this. I've updated to 10.1, but still it is not allowing me to login with rituals account to add the device (I deleted it when it started having issues). It says something like "it can't connect".

El vie, 4 oct 2024, 12:26, domasist @.***> escribió:

Thanks a lot @frenck https://github.com/frenck We will try it with 2024.10.1

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

Heelderpeel commented 1 month ago

Thanks for the work on this. I've updated to 10.1, but still it is not allowing me to login with rituals account to add the device (I deleted it when it started having issues). It says something like "it can't connect".

Same for me

deeg61 commented 1 month ago

Sorry to say but i'v got the same problem. Not coming further with the log in, because of the it can't connect

frenck commented 1 month ago

Anything in the logs when you get that message?

abjwsm commented 1 month ago

Hi. I still have this issue. Credentials are correct as they work with the APP and Rituals Website. Thank you.

Tazmanian79 commented 1 month ago

Unfortunatelly updated didn't change anything. I disabled the integration last night and this morning enable it again but from first attempt it shows the error: 429, message:Too Many Requests

domasist commented 1 month ago

Hi @frenck The same situation after upgrade to 2024.10.1. Logs are showing only missing switches from integration not details about integration itself. Debug logging enabled. I disabled integration last night and enabled in the morning.

Screenshot 2024-10-05 at 09 44 01
frenck commented 1 month ago

Thanks for the responses and error message. I see the same on my end now. Back to the drawing board. :(

domasist commented 1 month ago

Thanks for the responses and error message. I see the same on my end now. Back to the drawing board. :(

If you need anything else, just write

heula commented 1 month ago

Not working anymore for me. Too many requests. Sometimes all of a sudden it works again but most of time it is not working.

Installed new Rituals Genie app but did not help.

InsaneSoftware commented 1 month ago

Hello everyone,

I have finally found the time to investigate this issue on our Rituals servers. It appears that several home automation developers are experiencing this problem.

I will provide an update as soon as the issue is resolved on our end.

Please note that the original Genie app is unaffected, as it utilizes the new V2 API. Essentially, I am addressing this legacy API issue to support community projects such as Home Assistant. We are currently transitioning to an even newer V3 API, and I will share the relevant documentation with the developers here once it's complete. Since V3 is just around the corner, it doesn't make sense to migrate to V2 at this point.

In the meantime, I will ensure that V1 remains functional to keep this integration running smoothly.

EDIT: I already released a hotfix... hoping it was this small can multiple people test this? (just me isnt enough ^^)

abjwsm commented 1 month ago

Hi. Thank you for this. I really miss my Rituals integration functionality, my main use is a routine that turns the unit on for 10 and off for 20 minutes, repeat cycle, during home occupation and when not bed time. Looking forward to being able to use this automation again.

Tazmanian79 commented 1 month ago

Hi @InsaneSoftware no change for me. My Rituals integration was disabled for more than 24h. Enable it again but got the Too Many Requests immediately. Also restart of HA didn't solve this error.

bolderbast commented 1 month ago

Hi @InsaneSoftware . Thanks for looking into this and kudo's to you and the Sense company for your commitment to support projects like this! I had the Rituals integration disabled for at least the entire weekend. I just enabled it and restarted Home Assistant. Unfortunately, still getting the 429 error immediately.

InsaneSoftware commented 1 month ago

it seems i found the problem and increased the limit for home-asistant users.

I will update @frenck about this so he knows if he needs changes.

Please let me know if your still having issues

bolderbast commented 1 month ago

Seems to be working here now! :-)