You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set up a device to track between 2 stations (on a Trip basis) and max_trips set to 7, the sensors periodically become unavailable.
Config
Newtonville to South Station
arrive: Newtonville
depart: South Station
max trips: 7
South Station to Newtonville
arrive: South Station
depart: Newtonville
max trips: 7
I am currently have these sensors active:
from
to
train
alerts
departure time
departure delay
arrival time
arrival delay
status
alerts
Issue
The sensors start the day receiving data but then eventually, the number of indicies in the Next attribute for various sensors goes down towards 0, or the sensors themselves become unavailable. Eventually, either the main sensor comes on the next day, or late in the evening, and sometimes more of the Next entries also come back.
My hunch is that this is due to the polling rate which would be:
I'm being very rough with this, assuming one request per sensor per train
When I set up a device to track between 2 stations (on a Trip basis) and
max_tripsset to7, the sensors periodically become unavailable.Config
I am currently have these sensors active:
Issue
The sensors start the day receiving data but then eventually, the number of indicies in the
Nextattribute for various sensors goes down towards 0, or the sensors themselves become unavailable. Eventually, either the main sensor comes on the next day, or late in the evening, and sometimes more of theNextentries also come back.My hunch is that this is due to the polling rate which would be:
2 devices * 10 sensors / device * 8 requests / sensor * 3 requests / minute = 480 requests / minuteHowever, this is well under the 1000/min X-API rate limit so I may be off about this.
Demo
Screen.Recording.2025-06-26.at.4.36.28.PM.mov