Location IDs
To get data about a specific stop for depatures or other sensors you will need to have a Location ID. Location IDs are NOT interchangeable between SL and ResRobot. Location search is integrated into sensor setup flow, so you don’t need to do anything else. But if you are curious there are ways to get these ids via developer tools.
Resrobot API
The IDs you get here is only for use with the Resrobot sensors.
- Start a browser window and go to the Developer Tools in Home Assistant
- Navigate to the Actions tab
- Select the
rr_find_locationaction, enter your API key for “ResRobot v2.1” and a search string. Click Perform Action. - Look in the response data below and get the
idfor your specific location. Do not uselongId. Currently addresses are NOT supported.
Resrobot alternative
You can also get a list of all of the stop here
SL API
The IDs you get here is only for use with the SL sensors.
- Start a browser window and go to the Developer Tools in Home Assistant
- Navigate to the Actions tab
- Select the
sl_find_locationaction and a search string. Click Perform Action. - Look in the response data below and get the
idfor your specific location.