Gateway Pucks do dns lookup on api.flair.co every few seconds
I'm seeing my gateway pucks do dns lookups on api.flair.co every few seconds. Is this a known issue?
Thanks.
-
Official comment
Hi Greg Friedman,
The Puck uses a polling architecture and checks in regularly in case there are updates from the cloud side.
Flair does have frequent calls, however, these contain considerably small amounts of data and should not be of concern unless you have limited internet data. Comparatively speaking, Netflix and other streaming services use much more data.
Regards,
The Flair Team
Comment actions -
This is great but if your using a free tier dns service, flair will very quickly put you over that amount of free requests, forcing you to pay for unlimited lookups. It would be nice to be able to adjust the polling interval.
When I look at the logs, flair is always #1 on the number of requests from my entire household....by a LOT.
-
Came here to express the same concern; our Puck is making an unreasonable amount of DNS requests in comparison to other devices like Philips Hue, Google Nest, and Sonos on our network. I'm seeing over 650 DNS calls within the last 30 minutes vs 20 for our Nest.
James C. do you mind checking with your developers? Perhaps it's a simple caching issue.
-
When did you open the ticket? I’ve been using Flair for a couple of years and in that time it has not been clear that there is any ongoing engineering happening on the software. N updates to mobile apps, the website, the backend, or pucks that I’ve been aware of. They’ve shipped some new vent sizes, but that is all I know about. I wondered if there’s any active engineering happening at all.
-
My two cents: I agree that every 5 seconds is way too much - ESPECIALLY if there is no failure with the local cached value in the puck. Given the low power nature of the puck, it would seem imprudent to spend so much time/energy repeating a DNS query when there are so many better things to accomplish with the limited battery power.
My DNS data shows that api.flair.co is being requested at 10 times the rate of any other request. It isn't like the entry changes frequently or the puck can't store four bytes of data....(okay - maybe 64)
As for updates to software - Flair can choose to be a software provider or a Hardware provider, but not both. If the protocols to acess the hardware were opened, tons of devices would race off the shelf as independent developers create new solutions and integrations with the platform. If Flair wants to be a software developer, it needs to give away the hardware and sell software to make the devices valuable (e.g. like an inkjet printer). Better off opening the systems and supporting independent developers with open and semicustom solutions.
-
You asked "Any update on this? 1.1M queries in a month for my system. This is nuts!".
This is a known behavior of our Flair Pucks but the size of these packets is VERY small so it should not have a performance impact to your home devices. We have had others notice this and mention it and I will add your thoughts to the thread about this topic that is shared with our engineering department.
Please sign in to leave a comment.
Comments
13 comments