nathanfiscus / inovelli-notification-calc

Web App (PWA) to build LED notification numbers for Inovelli ZWave Switches
https://nathanfiscus.github.io/inovelli-notification-calc/
26 stars 7 forks source link

Number of blinks/fades vs absolute time #3

Open foxsam21 opened 4 years ago

foxsam21 commented 4 years ago

This is a great tool. Thank you. More of a request than an issue. Would it be possible to have an option of setting the number of pulses instead of setting an absolute time. So that the setting would be basically blink 3 times fast and not blink for 5 seconds.

Thanks again. this makes it much much easier for us to calculate the led effects.

nathanfiscus commented 4 years ago

This tool emulates the functionality of the switch's firmware provided by Inovelli. Although the tool can be built to include this functionality, you wouldn't be replicate the output of the tool at the switch without changes to the firmware. If you want to do something more complex like what you are suggesting, you would have to run that logic at the zwave hub level rather than the switch. Let me know if I am mis-understanding your request here.

foxsam21 commented 4 years ago

That is one way of doing it. I didn't think of that because I had a different approach, more complicated, but really simpler. I had in mind say fast blink is 500ms on and 500ms off so then when you choose 5 blinks it will set it behind the scenes as 5 seconds. If it is slow blink which is 1000 on 1000 off so it will set it to 10 sec for 5 blinks. For pulse same idea... Thanks again its really a useful tool already, I'm just trying to squeeze out more than was originally intended (by manufacturer and this SW)

nathanfiscus commented 4 years ago

Oh so you want the tool to be able to count animation cycles? I thought you were looking to create a pattern based of the manufacturer provided patterns. I can look into counting the cycles. I have noticed that the actual timings of the duration value are not 100% accurate on the devices. So the count the tool gives maybe an approximation.