Hi all
It's been a hard slog but I've completed the pattern generator for LED Manager. It was a little more difficult than I thought because I've had to write a new module, outside of Indigo, just so you can develop your patterns and save them. In the end I think it worked
I'm releasing a new version 0.3.35 today and it's working well on my system for four days so I feel confident enough to release it as a new Beta version.
DISCLAIMER: Given the fact that I have no Zipato devices at all most of the coding and functionality is less tested than I would like and I'm relying on users to test it for me and highlight the errors. However, I don't expect any changes in that area to impact other users
You can download the latest stable version (0.3.35) from this link: https://www.dropbox.com/s/dayo30alpcx8lki/Fibaro%20RGB%20Lights.zip?dl=1
BTW - if you've saved any colours since the last update then you'll loose them when you upgrade. If you want to keep them please view the custom states for each device and make a note of the red, green,blue and white settings. You can then create the colour again
What's new in version 0.3.35?
Stablisation - I've completed a series of tests to remove some of the more irritating and minor bugs and improve performance.
F10 - It would be really cool if I could define a pattern, say an alarm, and then automatically run it when I want. So to do this I've created some new features. The first can be found on the Menu (Plugins/LED Manager/) called Add, Edit or Delete Patterns). When you select this option you'll be taken to our new pattern generator. It looks like this...
From here you can Add a new pattern, Edit an old one or Delete the pattern completely. I've added a default one called Alarm by clicking on the drop down in the top left and this is how it's displayed...
If you change the settings (colours or durations) then don't forget to click Save Edits or they will be lost,.
If you click Add Pattern you can create your own. I've created one here called New Pattern
First entry a cycle type from the dropdown next to the name you've just entered.... You've a choice of Once, Many or Forever which I think are self explanatory. I don't recommend you use Forever as it will keep on going until you stop the plugin. If you select Many then you can enter the number of times it should run in the next box.
Use the dropdowns to select colours and enter durations for how long they should be displayed (in milliseconds) in the box on the right of each colour. You can stop at any point leaving the None in the colour box. BTW if you look carefully you'll also see that your saved colours have been included in the list (see last update)
Finally save the pattern...
Now you'll see that your pattern is in the list...
Notice the '-'s in the name. These have been added as indigo doesn't like spaces in dictionary key names so these replaced any spaces you've put in and still keeps the names readable.
Once you completed your edits, adds and deletions then click Save. If you click Cancel then all of the changes that you've made in that session will be lost.
Now you've created some patterns you can apply them to devices. You can either use the menu option or create an action.
or action
One last thing. You'll notice that you're given the opportunity to apply the pattern to all linked devices in a group. If you select this option ALL of the devices in a single group will change colour
That's about it for today. Please have a go and see how it goes. Let me know of any bugs or issues as usual...
Many thanks
Mike