Display MoreDisplay MoreThere are only a handful of differences between the autotimer on bmx and jedi.
in plugin.py
BMX current code
CodeDisplay Moredef update(self, atLeast=0): self.timer.stop() wake = self.getWakeTime() now_t = time.time() now = int(now_t) if wake > 0: if wake < now + atLeast: wake += 24 * 3600 # add 24 hours to next wake time next = wake - now self.timer.startLongTimer(next) else: wake = -1 wdt = datetime.fromtimestamp(wake) ndt = datetime.fromtimestamp(now) print("[BouquetMakerXtream] WakeUpTime now set to", wdt, "(now=%s)" % ndt) return wake
Making the code the same as jediCodeDisplay Moredef update(self, atLeast=0): self.timer.stop() wake = self.getWakeTime() now_t = time.time() now = int(now_t) if wake > 0: if wake < now + atLeast: wake += 24 * 3600 # add 24 hours to next wake time next = wake - now if next > 3600: next = 3600 if next <= 0: next = 60 self.timer.startLongTimer(next) else: wake = -1 wdt = datetime.fromtimestamp(wake) ndt = datetime.fromtimestamp(now) print("[BouquetMakerXtream] WakeUpTime now set to", wdt, "(now=%s)" % ndt) return wake
and BMX current code
Codedef autostart(reason, session=None, **kwargs): ... ... if reason == 0 and _session is None: if session is not None: _session = session if autoStartTimer is None: autoStartTimer = AutoStartTimer(session)
and making it the same as JEDIZgemma H7 openATV 7.3 & openATV 7.4
nothing has changed, my box does not start from standby
no matter what settings i have made or not, the result is the same.
the box does not wek up from standby