Closed rrov1 closed 1 year ago
I found a workaround. When I wait for 5 seconds at line 68, reminder values are available:
rm = spaman.facade.reminders_manager
print(f"anzahl reminders: {len(rm.reminders)}")
# fixe Wartezeit, ansonsten sind keine Werte verfügbar
await asyncio.sleep(5)
print(f"anzahl reminders: {len(rm.reminders)}")
I don't know why, but it works with this.
Hello!
I need help with a script to read the reminders. I always get 0 reminders (for both spa controllers I have in my network) :-(. The script I use is very simple and straightforward, based on the asynchronous example. I append it here. It takes only one parameter, the guid, looks for all spa controllers on the network, connects to them and then retrieves the reminders. I currently use geckolib 0.4.8, with 0.4.7 I have the problem. Everything else works fine.
Am I doing something wrong?
rrov1