Here is simple script that allows you to reset IKEA Tradfri bulbs to factory settings (not working for my 1000lm bulbs but not relevant…) What does it do
it shuts down bulb waits 4 seconds and in loop turn on and off bulb until 6 cycles are performed for factory reset of it. Works perfectly on new bulbs - except on white 1000lm bulbs already mentioned by many users…
settings you can/should tweak are wait time for on off states milliseconds: 300
that means wait 0.3 seconds, milliseconds: 1200
that means 1.2 seconds and so on.
reset_ikea:
alias: reset_ikea
sequence:
- service: switch.turn_off
target:
device_id: 844178841ce7abb94d3a714f9092980e
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- repeat:
count: '5'
sequence:
- service: switch.turn_on
target:
device_id: 844178841ce7abb94d3a714f9092980e
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 400
- service: switch.turn_off
target:
device_id: 844178841ce7abb94d3a714f9092980e
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 500
- service: switch.turn_on
target:
device_id: 844178841ce7abb94d3a714f9092980e
mode: single