Code Monkey home page Code Monkey logo

Comments (2)

peterkappelt avatar peterkappelt commented on September 21, 2024

Hi,

simple answer: You can't, at least not directly. We've already discussed that in the FHEM forum, but I suppose only in german.

Both the switch and the dimmer act transparently and just write their new states (like on/ off, brightness, ...) to a group.
However, if you want to use an IKEA dimmer as an event source in FHEM to trigger some actions, but you don't want to control Tradfri-devices with that dimmer, you can do as follows:
Just create a new group and only put the dimmer in it, no other devices. You can now define a TradfriGroup in FHEM, that should react to the actions of the dimmer.

If you use the mainstream version of this module, there will be some limitations. Due to the used software this module uses polling, i.e. reads the data once every x seconds from the gateway. You can set this period with the attribute "autoUpdateInterval". That means, that there might be some sort of latency between the dimmer action and the update in FHEM.
If this is no problem for you - just try it.
If this bothers you: be a bit patient. There is some functionality in development, it'll update the values almost instantly.

I hope I've unterstood your question the right way and my answer was helpful. Fell free to respnd if there are still open points.

Greetings,
Peter

from tradfri-fhem.

cbergmann avatar cbergmann commented on September 21, 2024

Hallo,

Wir können auch gerne auf deutsch weiter machen :) ich hab den thread noch nicht ganz gelesen. Er ist ja mittlerweile etwas länger.

Ich werde mich reinlesen und schauen ob ich was beitragen kann.

Danke erstmal.

from tradfri-fhem.

Related Issues (14)

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.