Refetching data every x minutes
I want to automatically update status & settings every minute, how would I do that?
10 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Because the data changes and I want to make sure the data is up to date
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
There is no web socket though
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The api is hosted locally on iot devices that measure the amount of energy a specific device is using
So unfortunately I will have to do polling
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Alright thank you, I will try that out
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I think I am already doing client side fetching so this shouldnt be an issue I guess
+ Website will only run locally on a raspberry pi so
Thanks for your help @Sr. Full Stack Dev @needmorewood ❤️