Loxone feed
The Loxone integration is a plain-text feed that the Miniserver polls with a Virtual HTTP Input. You don't need this page to use Loxone, since the template sets everything up. It's handy for checking what the Miniserver sees, or for other systems that read numbers from a URL.
Request
GET https://app.getciconia.com/loxone/feed/<token>
- The token (
cil_…) is part of the URL because Loxone's Virtual HTTP Input can't send anAuthorizationheader. It's built into the template, and Copy Virtual Input link on the Loxone card copies the whole URL. - Treat the URL like a password. Disconnect on the Loxone card turns it off.
- An unknown token gets
401.
Response
text/plain, one key=value per line, numbers only, with a Content-Length header:
t1_zone=1
t1_z1_in=1
t1_z1_distance=35
t1_z2_in=0
t1_z2_distance=12840
t1_moving=0
t1_speed=0
t1_battery=87
t1_battery_low=0
t1_lat=52.229676
t1_lon=21.012229
t1_fix_age=37
t1_gps_signal=5
t1_satellites=11
t1_altitude=112
t1_gsm_signal=4
t1_gsm_operator=26003
t1_temperature=23.5
Keys
N is the tracker's number, M the area's number. Both stay the same when you rename things.
| Key | Value |
|---|---|
tN_zone | Number of the smallest area it's in, 0 for none |
tN_zM_in | 1 inside area M, else 0 |
tN_zM_distance | Metres from area M's centre |
tN_moving | 1 while moving |
tN_speed | km/h, rounded |
tN_battery | Battery %, only when the tracker reports a value from 0 to 100 |
tN_battery_low | 1 below 20 % |
tN_lat, tN_lon | Degrees, 6 decimals |
tN_fix_age | Seconds since the position was measured. Keeps growing while the tracker sends nothing new. |
tN_gps_signal | Position quality, 0 (poor) to 5 (ideal) |
tN_satellites | GPS satellites the tracker can see |
tN_altitude | Metres above sea level, rounded |
tN_gsm_signal | Mobile signal bars, 0 (none) to 5 (best) |
tN_gsm_operator | Country and operator code (MCC + MNC), e.g. 26003 = Orange Poland |
tN_temperature | °C inside the tracker, 1 decimal |
Missing values
- A value that isn't known is left out, not sent as 0, so the Miniserver keeps the last good value.
- A tracker whose data can't be reached gives no keys at all.
- Location keys (
zone,in,distance,lat,lon,moving,speed…) appear only once the tracker has a position.
Limits
- 30 requests a minute per token.
- Every request reads all the account's trackers live, so keep polling at 10 seconds or slower.