Hi,
Please help me integrate my IKEA zigbee control from my GUI Slider.
Here is my code to make a slider, but I can’t get link it to a volume knob or button. ON / OFF does work.
This code in my CONFIG.yaml creates a working slider the dashboard, and a helper, but it seems to be insufficient to link with a ZHA remote.
# Apply value of a GUI slider to the shell_command
input_number:
av_vol1:
name: Living
initial: 14
min: 1
max: 38
step: 1
av_vol2:
name: Dining
initial: 14
min: 1
max: 38
step: 1
av_vol3:
name: Kitchen
initial: 14
min: 1
max: 38
step: 1
av_vol4:
name: Master Bedroom
initial: 14
min: 1
max: 38
step: 1
av_vol5:
name: En Suite
initial: 14
min: 1
max: 38
step: 1
shell_command:
set_vol_to_slider1: >-
bash -c 'echo -ne "<11VO{{'%02d'% states('input_number.av_vol1')|int }}\r\n" | nc 192.168.2.156 8080'
set_vol_to_slider2: >-
bash -c 'echo -ne "<12VO{{'%02d'% states('input_number.av_vol2')|int }}\r\n" | nc 192.168.2.156 8080'
set_vol_to_slider3: >-
bash -c 'echo -ne "<13VO{{'%02d'% states('input_number.av_vol3')|int }}\r\n" | nc 192.168.2.156 8080'
set_vol_to_slider4: >-
bash -c 'echo -ne "<14VO{{'%02d'% states('input_number.av_vol4')|int }}\r\n" | nc 192.168.2.156 8080'
set_vol_to_slider5: >-
bash -c 'echo -ne "<15VO{{'%02d'% states('input_number.av_vol5')|int }}\r\n" | nc 192.168.2.156 8080'