Comments (2)
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.
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)
- Division by zero HOT 1
- controller as device HOT 1
- Gateway version 1.2.42: connection not working anymore HOT 6
- Configurable hostname HOT 3
- NullPointerException if working as a service HOT 7
- Error while trying to fetch devices! HOT 2
- Development status HOT 4
- No more Updates after some Time
- Incomplete (?) Messages are transmitted HOT 1
- Use Log3
- After Restart: Connection isn't checked automatically
- Toggle not working HOT 2
- Can't get Device List "Error while trying to fetch devices!" HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tradfri-fhem.