Rituals Perfume Genie 2.0
Content languageEnglish
Description
Home isn't a place, it's a feeling: Create it with the Perfume Genie 2.0 and control it with Loxone. A modern and innovative approach to home fragrance, the Genie provides a unique fragrance experience and allows you to control the schedule and intensity remotely. The eye-catching, stylish design adds a sophisticated touch to your interior, while also welcoming you home with your favourite Rituals fragrance. Perfect for use in any part of your home, especially in larger spaces.
STEP 1: Reigstrer your genie in Ritual genie app (email&password).
STEP 2:Command (cmd): curl -d "email=your-email&password=your-password" https://rituals.sense-company.com/ocapi/login
Replay: {"logged_id":1,"message":"Successfully logged in","email":"email","contactID":"XXXXXXXX","first_name":"","last_name":"","birthday":"","account_hash":"eyJpdiI8IlNrYkd3bjZqUEFWNXDSeTFPU2E1WXc9PSIsInZhbHVlIjoiM0ZUcUR5R2GMbTQzU1JCVWlxY1wvZ3RBZ1NzbzFhVWcxRE9mSmlcL2ZjZjljPSIsIm1hYyI9IjU3Y2NjNGFmYzM1YTliZDI4MGY2NzljYzlkNWViODZlNDMyZjZhNTYyNjEzNGFkNDFmODJmMTJmYTc2ODFhNTUifQ=="}
STEP 3: Copy this HASH key
STEP 4: Open browser and paste: https://rituals.sense-company.com/api/account/hubs/HASH KEY
Command: curl -v https://rituals.sense company.com/api/account/hubs/eyJpdiI8IlNrYkd3bjZqUEFWNXDSeTFPU2E1WXc9PSIsInZhbHVlIjoiM0ZUcUR5R2GMbTQzU1JCVWlxY1wvZ3RBZ1NzbzFhVWcxRE9mSmlcL2ZjZjljPSIsIm1hYyI9IjU3Y2NjNGFmYzM1YTliZDI4MGY2NzljYzlkNWViODZlNDMyZjZhNTYyNjEzNGFkNDFmODJmMTJmYTc2ODFhNTUifQ==
Replay: [{"hub":{"hublot":"LOT123-25-5A123-01817","hash":"417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6","status":1,"title":null,"current_time":"2023-07-29T12:58","ping_update":"25","attributes":{"roomnamec":["Stue"]},"sensors":{"wific":.............................
STEP 5: Copy the HUB hash code from step 4. And replace xxx in template (VI/VO) with Hub Hash 417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6
Example VI: The VI address will then look like this: https://rituals.sense-company.com/api/account/hub/417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6
Example VO fan speed high: Command for on: /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "speedc ":"3"}}
All hash keys and hub hash are modified and will not work, has to be replaced.
Change log v1.0.3
- Added 60min auto off as per Genie app. - Added more catridge ID's
Inputs and outputs · 9
| Name | Type | Command | Unit |
|---|---|---|---|
| Genie On | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "fanc ":"1"}} | |
| Room size 30m2 | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "roomc ":"2"}} | |
| Room size 60m2 | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "roomc ":"3"}} | |
| Room size 100m2 | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "roomc ":"4"}} | |
| Room size 15m2 | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "roomc ":"1"}} | |
| Fan speed low | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "speedc ":"1"}} | |
| Fan speed med | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "speedc ":"2"}} | |
| Fan Speed high | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "speedc ":"3"}} | |
| Genie off | VirtualOut | /api/hub/update/attr?hub=417aa50a63f060136c37c10a36548259bc941a045b1b585e392a28a6dd66a5e6&json={"attr":{ "fanc ":"0"}} |
FAQ
No questions have been answered yet.
Questions and answers
Reading the hash key is not possible
OpenC:\Users\Home>curl -d "email=<@hotmail.de>&password=<0000>" https://rituals.sense-company.com/ocapi/login {"logged_id":0,"error":"Sorry, credentials do not match"}
2 replies
Have you registered with a username and password in the Rituak genie app?
I got the same error {"logged_id":0,"error":"Sorry, credentials do not match"} when having type error in mail or password.
Reading the hash key is not possible
Opensame problem.
First, I registered the device in the new "Rituals" App. Answer from the Rituals Server:
{"logged_id":0,"error":"Sorry, credentials do not match"}
After that I found the "old" Genie - App in the App-Store. I tried to register the device with new credentials in the old app. Same Answer:
{"logged_id":0,"error":"Sorry, credentials do not match"}
1 reply
I have tested and it's still working for me. using same username and password created at the genie app and the following command in cmd: curl -d "[email protected]&password=mypassword" https://rituals.sense-company.com/ocapi/login. I got the same error {"logged_id":0,"error":"Sorry, credentials do not match"} when having error in mail or password.
Beste Maker
OpenIk heb de rituals met succes geïntegreerd in loxone.
Het uitlezen van de rituals ( status ) werkt na behoren. Alleen het aansturen krijg ik niet voor elkaar.
Wat ik gedaan heb.
Bij de http commando heb ik de SLEUTEL ingevoerd ( achter hub ) welke je via cmd moest verkrijgen. Kunt u mij vertellen of op weg helpen waarom de aansturing niet werkt?
Met vriendelijke groet
Roy Weijers Weijers Installatie & Service
No replies
Migration to APIV2
OpenWe noticed that your integration with our Rituals Genie is still relying on API v1. As of now, API v1 has been deprecated and is no longer available, which means any existing connections through it will no longer function.
We’d love to work with you to help migrate your integration to API v2, which is not only fully supported but also brings significant improvements. API v2 is compatible with Genie 1.x, 2.x, and 3.x, so it offers broader support and a more future-proof experience.
If you’re interested, we’re happy to provide documentation, test access, or direct support to help with the migration.
Looking forward to hearing from you!
email: [email protected]
Best regards,
Ad - Sense/Rituals Genie
No replies
API v2
OpenHello all,
has anyone been working on the adjustment of the template to API v2, as mentioned below by Genie team?
Thanks a lot. KR Jan
3 replies
I'm waiting for more information regarding API v2 from Sense team. But it's using google JWT tokens. As Loxone don't have any oauth support, this might need a picoC script to recieve the tokens.
BR eirik
Hello Eirik, might be easier than to do the development on Loxberry if a picoc shall be used for token retrieval, but leave it up to you, but even there (on Loxberry) there are multiple workarounds for bearer authentication. Thanks a lot anyway.
How to integrate with 3rd gen?
API Update for V3
OpenIs there any update available for V3? I tried to sniff the App but due to https I did not get any information.
2 replies
Hi, the new api is using oauth for tokens. Loxone dose not support this yet. So i’m working on a PicoC script to be used.
Could you share how you do that in detail or is there any other entry at a forum which shares this Information?
Status api v.3
OpenHello Eirik,
sorry to be pushy, but could you please share the API documentation that we can help you with integration? if it is just about bearer, everyone should be able to send curl and get token via json. I have recently integrated Fyta in the same way.
Thanks a lot. KR Jan
3 replies
Hi Please contact me on mail.
BR eirik
any updates about integration APi v3??
Hello Krystian,
there is currently no possibility for integration of rituals Genie under API v3 due to missing OAuth token fetching in Lox config. Loxone is fully aware of limitation of current solution for virtual inputs and outputs, but cannot give a clear timeline for development of more robust solution allowing direct integrations. If you use loxberry I can provide a non-public plug in, please feel free to reach out [email protected].
KR Jan
Log in to rate, comment or ask a question. Log in
Ratings and comments
No ratings or comments yet.
Log in to rate, comment or ask a question. Log in