Hello, I`m searching a way to trigger some actions by the unifi Access (
UA Hub Door & UA G3 Pro W.) There is an API but I don’t know to use it in openhab.
Has anybody an idea or solution?
Thing http:url:unifiaccess “UniFi Access API” [
baseURL=“https:///proxy/access/api/events”,
refresh=5,
headers=“Authorization=Bearer ”,
ignoreSSLErrors=true
] {
Channels:
Type string : lastEvent “Letztes Ereignis” [ stateTransformation=“JSONPATH:$.events[0].type” ]
}