Across Germany and other European countries waiting times at airports security check are increasing due to labor shortage.
I thought it’s time to add the airports waiting time into OpenHAB. Maybe others get inspired to do the same for their local airport, if they publish this information.
Requirements:
Here is my thing:
configuration:
authMode: BASIC
ignoreSSLErrors: false
headers:
- X-Requested-With=XMLHttpRequest
baseURL: https://www.dus.com/api/sitecore/flightapi/WaitingTimes?lang=de
delay: 0
stateMethod: GET
refresh: 600
commandMethod: GET
timeout: 3000
bufferSize: 2048
channels:
- id: WaitingTimeGateA
channelTypeUID: http:number
label: Waiting Time Gate A
description: ""
configuration:
mode: READONLY
stateTransformation: JSONPATH:$.data[?(@.gateTerminal=='A')].waitingTime
unit: min
- id: WaitingTimeGateB
channelTypeUID: http:number
label: Waiting Time Gate B
description: null
configuration:
mode: READONLY
stateTransformation: JSONPATH:$.data[?(@.gateTerminal=='B')].waitingTime
unit: min
- id: WaitingTimeGateC
channelTypeUID: http:number
label: Waiting Time Gate C
description: null
configuration:
mode: READONLY
stateTransformation: JSONPATH:$.data[?(@.gateTerminal=='C')].waitingTime
unit: min