kabbi / zigbee2mqtt-adapter

zigbee2mqtt adapter for WebThings gateway
Mozilla Public License 2.0
21 stars 13 forks source link

Tradfri remote events #44

Open TobiBu opened 2 years ago

TobiBu commented 2 years ago

Hi,

I have a tradfri remote paired to the gateway and realised that it seems there are not separate events triggered when a button is pressed twice. e.g. when pressing the toggle button in the middle the action variable is only changed if another button was pressed before. This complicates or completely makes rules not working because there only an action state not an event is recognized. Is there anyway to also make events available for this device?

flatsiedatsie commented 2 years ago

Good question. It should be possible. How good are your programming skills ;-)

I'll see about buying one of these devices next time I'm in IKEA.

TobiBu commented 2 years ago

I am ok with python and C, C++ (usually doing MPI parallelized high-performance codes for theoretical astrophysics ;-) )

flatsiedatsie commented 2 years ago

haha :-) (also: awesome)

Just my luck: I work on about 15 addons, and this is the only one not using Python...