ycahome / MoonPhases

Domoticz plugin that updates a "Custom Sensor" Value with current state of Moon. This value can be used later on in order to update any scripts or to be used just a cosmetic improvement.
2 stars 7 forks source link

Fixes to image zip and icon names #3

Closed fubar2 closed 6 years ago

fubar2 commented 6 years ago

No idea why, but the use of SH as a prefix for the inverted images seems to be distressing Domiticz custom image handling or the python API. No idea why but most of the SH* icons were not being properly processed - the log would show that only one of them was being loaded properly so the plugin failed to update when the image being called for was not that one!

Having renamed all the zips and the icons by hacking fiximage.py the current plugin.py works correctly here and updates as the moon changes.

I've done my best to merge with upstream changes so this should merge ok.