Skip to main content

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 an Authorization header. 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.

KeyValue
tN_zoneNumber of the smallest area it's in, 0 for none
tN_zM_in1 inside area M, else 0
tN_zM_distanceMetres from area M's centre
tN_moving1 while moving
tN_speedkm/h, rounded
tN_batteryBattery %, only when the tracker reports a value from 0 to 100
tN_battery_low1 below 20 %
tN_lat, tN_lonDegrees, 6 decimals
tN_fix_ageSeconds since the position was measured. Keeps growing while the tracker sends nothing new.
tN_gps_signalPosition quality, 0 (poor) to 5 (ideal)
tN_satellitesGPS satellites the tracker can see
tN_altitudeMetres above sea level, rounded
tN_gsm_signalMobile signal bars, 0 (none) to 5 (best)
tN_gsm_operatorCountry 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.