Code Monkey home page Code Monkey logo

domoticz_ynh's Introduction

Domoticz for YunoHost

Integration level Working status Maintenance status

Install Domoticz with YunoHost

Read this README in other languages.

This package allows you to install Domoticz quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Domoticz is a Home Automation system design to control various devices and receive input from various sensors. For example this system can be used with:

  • Light switches
  • Door sensors
  • Doorbells
  • Security devices
  • Weather sensors like: UV/Rain/Wind Meters
  • Temperature Sensors
  • Pulse Meters
  • Voltage / AD Meters
  • And more...

The MQTT broker Mosquitto is integrated into the package and requires its own domain or subdomain. It's an optional setting. You may also install the Mosquitto package without using the one provided by domoticz_ynh.

Shipped version: 2024.4~ynh1

Screenshots

Screenshot of Domoticz Screenshot of Domoticz

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/domoticz_ynh/tree/testing --debug
or
sudo yunohost app upgrade domoticz -u https://github.com/YunoHost-Apps/domoticz_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

domoticz_ynh's People

Contributors

krakinou avatar yunohost-bot avatar ericgaspar avatar alexaubin avatar yalh76 avatar zehiro avatar tofbouf avatar

Stargazers

Juri Grabowski avatar Tommi avatar  avatar

Watchers

James Cloos avatar Juri Grabowski avatar  avatar  avatar

Forkers

zehiro gia90

domoticz_ynh's Issues

Bluetooth devices not reachable

Current systemd configuration do not allow to reach bluetooth devices, even if BLE devices can be read by domoticz.

I managed to allow this by adding AF_BLUETOOTH on this line:

RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6

I can easily fix the problem on the repo and open a PR. Do you prefer me to change the documentation (so that users make the change themselves) or directly edit the systemd.service file ?

Domoticz authentication system requires auth_header = false

Describe the bug

Domoticz user is always disconnected after successful sign in due to a late version (11.2 or older) of ssowat.

Context

  • YunoHost version: 11.2.3
  • ssowat version: 11.2
  • Domoticz 2023.2 (but I don't know if it could happen with an older version)

Steps to reproduce

  • Start with a perfectly functionnal domoticz install (including user management)
  • Upgrade ssowat to the latest version
  • Restart nginx to load the latest version of ssowat
  • when trying to sign in inside Domoticz (with valid credentials), there is an infinite loop (sign in form always displayed, even if the sign in was successful)
  • Domoticz runs normally in the background (the logs show that the sensor probing works fine), but the user is locked outside the webUI.
  • This will happen on all the new domoticz install on an up to date yunohost

Bug analysis

  • ssowat deletes the Domoticz session cookies (or replaces them with its own) due to auth_header set to true.

Fix

I managed to have everything work by manually setting auth_header to false in /etc/ssowat/conf.json for domoticz.main, however, it is not persistant and it will have to be manually modified again the next time yunohost app ssowatconf is run.

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.