raschy/ioBroker.solarmanpv

Feature Request: Disable Auto-Refresh while sun is down

Closed this issue · 6 comments

Would be nice to have a funktion to disable the Adapter after sunset and before sunrise to save machine power.

Do you really think that turning off a scheduled adapter will save energy?

I think about computing power and a clean log (Axios error; timeout)

I'll look at the development effort and any negative side effects. In the adapter, sunrise and sunset must still be calculated, which does not have much to do with the readout of the cloud. Therefore probably not.

Just provide us an Object to disable the data fetch, then we could do the rest over a Java/Blockly Script.
The adapter by itself does not have to be disabled.

This object (obj.common.enabled = status; // enable/disable adapter) is built into every adapter by default. Every user is free to turn the adapter off and on again with a script as he or she sees fit.

I did it via Blockly:
image