Giter VIP home page Giter VIP logo

domoticz-genie-plugin's Introduction

Rituals Genie plugin for Domoticz

Domoticz is free and open-source Home Automation system.

Rituals is a dutch company which has many fragrances and perfumes.

Plugin enables to control Rituals Genie from Domoticz via network.

Currently, the following functions are implemented:

  • Supports multiple devices, for those who have more than one Genie
  • On / Off
  • Set Perfume amount
  • Set Room Size
  • Show Perfume name
  • Show Fill percentage

Supported Domoticz versions:

  • Domoticz 2021.x
  • Domoticz 2022.2

Supported Genie versions:

  • Genie 1.0 (not tested)
  • Genie 2.0

Installation

  • Connect to Domoticz via ssh
  • Go to Domoticz plugin folder: cd domoticz/plugins
  • Download plugin: git clone https://github.com/smitec11/Domoticz-Genie-Plugin
  • Restart Domoticz

Configuration

From Domoticz web UI, go to Setup -> Hardware and select Rituals Genie plugin from drop-down menu.

Configure plugin:

  • Name - name of Genie hardware device in Domoticz (i.e. Genie)
  • Cloud account Email - email address for the Rituals account
  • Cloud account password - password for the Rituals account
  • click Add button

image

Plugin will create 5 devices per genie and shows them in related device tabs (Switches, Utilities):

  • On/Off (Switch device)
  • Amount (Selector Switch device)
  • Room Size (Selector Switch device)
  • Perfume (Text device)
  • Fill (Text device)

image

Thanks to

this plugin is based on code by

  • Milan Meulemans
  • Rolf Koenders

domoticz-genie-plugin's People

Contributors

smitec11 avatar

Stargazers

 avatar

Watchers

 avatar

domoticz-genie-plugin's Issues

Pluging crashes and so does the Domoticz soon after...

Hi,

I have been using this plugin with success for some time.
But recently it started crashing after some time - sometimes a few minutes, sometimes a few hours after starting Domoticz.
It doesn't matter if I send commands to Genie devices, it still crashes after some time.
I checked it on a fresh install (clean Domoticz + this plugin alone on a different RPI) - and I got the same result (crash).

I also checked direct access via URL + HASH and I got meaningful response (JSON) without any problem.

Tried to debug the problem, but even when I enable full debugging, this is what I get:

2024-05-12 08:00:06.022  [6d3ff1c0] Rituals Genie: Pushing 'onHeartbeatCallback' on to queue
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: Processing 'onHeartbeatCallback' message
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: Acquiring GIL for 'onHeartbeatCallback'
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: Calling message handler 'onHeartbeat' on 'module' type object.
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: onHeartbeat called
2024-05-12 08:00:22.414  [6d3ff1c0] Rituals Genie: Acquiring GIL for 'onHeartbeatCallback'
2024-05-12 08:00:36.041  [6d3ff1c0] Rituals Genie: Pushing 'onHeartbeatCallback' on to queue
2024-05-12 08:00:36.091  [6d3ff1c0] Rituals Genie: Processing 'onHeartbeatCallback' message
2024-05-12 08:00:36.091  [6d3ff1c0] Rituals Genie: Acquiring GIL for 'onHeartbeatCallback'
2024-05-12 08:00:36.092  [6d3ff1c0] Rituals Genie: Calling message handler 'onHeartbeat' on 'module' type object.
2024-05-12 08:00:36.092  [6d3ff1c0] Rituals Genie: onHeartbeat called
2024-05-12 08:01:40.210  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:01:54.214  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:02:08.217  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:02:22.220  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:02:36.224  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly

After the plugin crashes + when I try to do any action on the hardware tab in the Domoticz (even pressing the UPDATE button without changing anything) the Domoticz stops responding.

Any help on this would be appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.