johnlemonse / homebridge-telldus

36 stars 22 forks source link

Option to repeat on/off send #100

Open dotdeas opened 6 months ago

dotdeas commented 6 months ago

Would it be possible to add a option in the config to repeat the on/off signal X amount of times?

repeate = repeate send X amount of times repeate_delay = time in ms between repeates

{
"local_id": 1,
"type": "device",
"model": "switch",
"manufacturer": "Random",
"repeate": 2,
"repeate_delay": 200
},

I know this will cause issues for users using the Telldus Live api but for us using local api it would be a great improvement 🥳

mifi commented 6 months ago

What’s the purpose of that?

dotdeas commented 6 months ago

Since there are some issues sometimes when sending the on/off signal it would be nice to be able to send it X amount of times to be sure it is on, since 9 out of 10 times it works, but the last time you need to send it 2-3 times for the switch to turn on.

mifi commented 6 months ago

Hmm, I thought the telldus transmitter hardware already does this, sends each command multiple times