Giter Site home page Giter Site logo

DALI Logger on RPi about python-dali HOT 1 CLOSED

sde1000 avatar sde1000 commented on August 21, 2024
DALI Logger on RPi

from python-dali.

Comments (1)

sde1000 avatar sde1000 commented on August 21, 2024

Hi,

Yes, the examples/async-buswatch.py script should do pretty much exactly what you want. If you're monitoring multiple DALI-USBs then I could add a command-line parser to it so you can start up multiple instances monitoring each device to a different file. (Or do you want them all combined?)

Have you managed to get the current example running on a Pi with one DALI-USB? The procedure should be something along the lines of:

  • clone the current python-dali repository (git clone https://github.com/sde1000/python-dali.git)

  • install it with setup.py, or just point PYTHONPATH at it (export PYTHONPATH=~/python-dali in your .bashrc, for example, then log in again)

  • as root, copy examples/50-dali-hid.rules to /etc/udev/rules.d/ then reboot the Pi or unplug/replug the USB device

  • run examples/async-buswatch.py

I'm away today, but I'll look at adding command-line parsing to that script soon. (Or you could adapt the code from examples/async-commissioning.py)

from python-dali.

Related Issues (20)

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.