Giter Club home page Giter Club logo

dali_mon's Introduction

DALI MONITOR

Description

This script converts DALI codes into human readable messages. DALI is the digital addressable lighting interface as described here.

The source for the DALI code aka frames can be one of

  • stdin
  • HID class DALI / USB converter (e.g. Lunatone)

This script is based on the following standards

  • IEC 62386-101:2022 system components
  • IEC 62386-102:2022 control gear
  • IEC 62386-103:2022 control device
  • IEC 62386-105:2020 firmware transfer (not supported by USB converter)
  • IEC 62386-207 LED module DT6
  • IEC 62386-208 switching function DT7
  • IEC 62386-209 colour control DT8
  • IEC 62386-301:2017 input devices - push buttons
  • IEC 62386-302:2017 input devices - absolute input devices
  • IEC 62386-303:2017 input devices - occupancy sensor
  • IEC 62386-304:3017 input devices - light sensor

Further Documents

General usage
Address representation
Installation and HID-USB support
Serial port and input format
Tests

dali_mon's People

Contributors

gumulka avatar svenhaedrich avatar twendtland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dali_mon's Issues

udev rule not supported under archlinux

According to https://wiki.archlinux.org/title/udev#Allowing_regular_users_to_use_devices:

Ubuntu's approach is to create a plugdev group that devices are added to, but this practice is not only discouraged by the systemd developers, [2] but considered a bug when shipped in udev rules on Arch (FS#35602).

Accroding to https://wiki.archlinux.org/title/users_and_groups#User_groups the group should be uucp. Don't know if it is possible to have different groups according to the distro or to have two different rules files.

Not all bus collisions are recognized by DALI mon

While testing device address setup with compare, I noticed that dali_mon seems to miss out on some of the bus status messages. This can be reproduced by continuously sending 'compare'. a different tool (DALI monitor or even a Logic Analyser) will show collisions where dali_mon does not.

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.