Recently the Tradfri E1810/E1524 is now recognised in Domoticz via zigbee2mqtt (https://www.zigbee2mqtt.io/devices/E1524_E1810.html).
I wanted to use the 5 buttons to switch on devices and lights. This is how I did it:
1) First add the Tradfri E1810/E1524 to your devices
Please note: the central ON/Off is an On/Off Switch, the other 4 buttons must be defined as a selector switch.
2) Central On/Off Button
The device you want to switch on/off can simply be added in the On Action and Off Action box with a Json command like:
http://xxx.xxx.xxx.xxx:8080/json.htm?ty ... itchcmd=On
http://xxx.xxx.xxx.xxx:8080/json.htm?ty ... tchcmd=Off
3) Other 4 Buttons (arrow left, arrow right, brightness up, brightness down)
These buttons produce a 10, 20 or 30 level-signal to Domoticz. That is why you have to declare these buttons as a selector switch.
A short press will give the 10 level-signal, a long press the 30 level-signal. So I decided to use '30' for the On command and the '10' for the Off command.
-First create 4 selector levels 0, 10, 20, 30
-At the selector actions add the required Json command, so
level 30 the On Json command
level 10 the Off Json command
In my case this looks like:
Done, happy switching!
Use Tradfri E1810/E1524 as remote control
Moderator: leecollings
- JHO01
- Posts: 24
- Joined: Wednesday 02 November 2016 13:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Use Tradfri E1810/E1524 as remote control
RPI-3, Z-stick Gen5, RFlink, Zigbee2mqtt, 1-wire DS18B20, Fibaro switches, various RF-433 sockets, BMP018, Somfy, Wemos, Tradfri.
Who is online
Users browsing this forum: No registered users and 1 guest