I know this has been discussed, but I cannot find the thread(s) in the forum.
Anyway, my problem is that I have a projector that I am pulling lots of useful stuff from, by polling. Now, when the projector is off, there’s no use to poll anything but maybe the power item, the rest are generating errors anyways.
So, is there a way to disable polling, or changing polling time to a low/useful level from a rule (when projector is on)?
And similar question, can I issue a poll from a rule?
I’m using a 1.9 binding, the epsonprojector binding. The polling is done, afaict, by the .item rows, such as ; Switch Projector_Power "Proj on/off" (Projector) {epsonprojector="ep1:Power:60000"}
i.e. I’m not doing anything “on my own”, just letting the binding poll.
I don’t know the binding, but OH2 does provide a way to force a refresh using the RefreshType.REFRESH command - but only if the binding supports this command.