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.
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.
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.