This adapter requires at least nodejs 4.x!
Fetches all information available in Loxone Miniserver (and Loxone Miniserver Go) and provides changes in realtime.
Install this adapter via ioBroker Admin:
- Open instance config dialog
- Enter the IP address or host name and HTTP port (80 by default) of your Loxone Miniserver
- Create a new user in the Loxone Miniserver (using the Loxone Config application) to which you only give read and write rights to all required variables.
- Enter this user's name and its password in the config dialog
- Save the configuration
- Start the adapter
This is the IP address or host name of your Loxone Miniserver or Miniserver Go.
This is the HTTP port of your Loxone Miniserver.
By default the Miniserver is configured to listen on port 80, but you might have changed it.
Provide a valid username to access the Loxone Miniserver.
It is strongly suggested to use a user different from "admin" for security reasons.
The user only needs read access to the variables you want to use from ioBroker.
Provide the password for the given username (see above).
Please be aware that this password is stored unsecured inside ioBroker - therefore don't use the "admin" user!
This will update names in ioBroker whenever they change in the Loxone configuration. If this is disabled, names will only be synchronized the first time a control is detected.
This will populate the enum.rooms enumeration with all rooms provided by the Loxone Miniserver and will link all controls.
This will populate the enum.functions enumeration with all categories provided by the Loxone Miniserver and will link all controls.
The adapter automatically connects to the configured Loxone Miniserver and creates states for each control state it finds.
The IDs of the states are formatted like this: loxone.<instance>.<control>.<state>
<instance>
is the ioBroker adapter instance index (usually "0")<control>
is the UUID of the control<state>
is the state within the control (see Supported Control Types for more information).
The name provided when configuring a control in Loxone Config will only be used as its display name in ioBroker. This is because a user may choose the same name for multiple controls.
For more information about controls and their states, please also have a look at the Loxone API (especially the Structure File): https://www.loxone.com/enen/kb/api/
By default Loxone Miniserver hides many controls (and thus their states) from the Web interface.
That means, they are also hidden from this ioBroker adapter.
To ensure, all your states are properly reported to ioBroker, please verify that they have "Use in Visualization" checked:
The following global states are currently provided by this adapter:
operatingMode
: the current operating mode number of the Loxone MiniserveroperatingMode-text
: the current operating mode of the Loxone Miniserver as textsunrise
: the number of minutes after midnight when the sun rises todaysunset
: the number of minutes after midnight when the sun goes down todaynotifications
: the number of notificationsmodifications
: the number of modifications- all other global states are simply reported as texts
The following control types are currently supported by this adapter.
Behind the name of the state, you can see the type of the state:
(rw)
: readable and writable: this state can be changed from ioBroker(ro)
: read-only: this state can't be changed from ioBroker(wo)
: write-only: this state's value isn't reported by this adapter, but it can be changed, triggering some action on the Loxone Miniserver
Provided by burgler alarm control.
armed
(rw) boolean state (true / false) of the alarm; writingtrue
to this value will immediately turn the alarm on (without the predefined delay)nextLevel
(ro) the ID of the next alarm level- 1 = Silent
- 2 = Acustic
- 3 = Optical
- 4 = Internal
- 5 = External
- 6 = Remote
nextLevelDelay
(ro) the delay of the next level in secondsnextLevelDelayTotal
(ro) the total delay of the next level in secondslevel
(ro) the ID of the current alarm level- 1 = Silent
- 2 = Acustic
- 3 = Optical
- 4 = Internal
- 5 = External
- 6 = Remote
startTime
(ro) the timestamp when alarm startedarmedDelay
(ro) the delay of the alarm control being armedarmedDelayTotal
(ro) the total delay of the alarm control being armedsensors
(ro) the list of sensorsdisabledMove
(rw) the movement is disabled (true) or not (false)delayedOn
(wo) writing any value to this state arms the alarm with the configured delayquit
(wo) writing any value to this state acknowledges the alarm
Provided by central burgler alarm control.
armed
(rw) boolean state (true / false) of the alarm; writingtrue
to this value will immediately turn the alarm on (without the predefined delay)delayedOn
(wo) writing any value to this state arms the alarm with the configured delayquit
(wo) writing any value to this state acknowledges the alarm
Provided by alarm clock control.
isEnabled
(rw) boolean state (true / false) of the alarm clockisAlarmActive
(ro) boolean (true / false) whether the alarm is currently ringingconfirmationNeeded
(ro) boolean (true / false) whether the user needs to confirm the alarmringingTime
(ro) countdown in seconds how long the alarm clock will be ringing until it’s going to snooze againringDuration
(rw) duration in seconds the alarm clock is ringingprepareDuration
(rw) preparation time in secondssnoozeTime
(ro) seconds until snoozing endssnoozeDuration
(rw) duration in seconds of snoozingsnooze
(wo) writing any value to this state snoozes the current alarmdismiss
(wo) writing any value to this state dismisses the current alarm
Provided by Music Server Zone.
serverState
(ro) state of the music server:- -3 = unknown/invalid zone
- -2 = not reachable
- -1 = unknown
- 0 = offline
- 1 = initializing (booting, trying to reach it)
- 2 = online
playState
(rw) the playback state:- -1 = unknown (this value can't be set)
- 0 = stopped (setting this value will pause playback)
- 1 = paused (setting this value will pause playback)
- 2 = playing (setting this value will start/resume playback)
clientState
(ro) state of the client:- 0 = offline
- 1 = initializing (booting, trying to reach it)
- 2 = online
power
(rw) whether or not the client power is activevolume
(rw) current volumemaxVolume
(ro) zones can be assigned a maximum volumeshuffle
(rw) whether or not playlist shuffle is enabledsourceList
(ro) list containing all zone-favoritesrepeat
(rw) repeat mode:- -1 = unknown
- 0 = off
- 1 = repeat all
- 2 = -not used-
- 3 = repeat current item
songName
(ro) song nameduration
(ro) how long the whole track is, -1 if not known (stream)progress
(rw) current position in the trackalbum
(ro) album nameartist
(ro) artist namestation
(ro) station namegenre
(ro) genre namecover
(ro) song/album cover image URLsource
(rw) current selected source identifier (seesourceList
above)prev
(wo) writing any value to this state moves to the previous tracknext
(wo) writing any value to this state moves to the next track
Provided by central Music Server.
control
(wo) sets the play state of all players (true
= play,false
= pause)
This device only appears inside a LightController.
red
(rw) red value of the color pickergreen
(rw) green value of the color pickerblue
(rw) blue value of the color picker
Setting one or more of the above states from ioBroker will only send a command to the Miniserver after about 100 ms. This is to prevent the color from changing multiple times for a single user input.
This device only appears inside a Light Controller V2 in Loxone software version 9 and above.
red
(rw) red value of the color pickergreen
(rw) green value of the color pickerblue
(rw) blue value of the color picker
Setting one or more of the above states from ioBroker will only send a command to the Miniserver after about 100 ms. This is to prevent the color from changing multiple times for a single user input.
Provided by dimmers.
position
(rw) current position for the dimmermin
(ro) current minimum valuemax
(ro) current maximum valuestep
(ro) current step valueon
(wo) writing any value to this state sets the dimmer to the last known positionoff
(wo) writing any value to this state disables the dimmer, sets position to 0 but remembers the last position
Provided by gate controls.
position
(ro) the position from 1 = up to 0 = downactive
(rw) current direction of the gate movement- -1 = close
- 0 = not moving
- 1 = open
preventOpen
(ro) whether preventing opening of doorpreventClose
(ro) whether preventing closing of door
Provided by central gate control.
open
(wo) opens all gatesclose
(wo) closes all gatesstop
(wo) stops all gate motors
Provided by virtual states as well as the Loxone Touch switch.
active
(ro) boolean state (true / false) of the controlactive-text
(ro) if configured, the text equivalent of the stateactive-image
(ro) if configured, the image equivalent of the stateactive-color
(ro) if configured, the color equivalent of the state
Provided by virtual states as well as the Loxone Touch switch.
value
(ro) the state value (number) of the controlvalue-formatted
(ro) if configured, the formatted value of the state (using the "Unit" format from Loxone Config)
Provided by door controllers.
bell
(ro) whether the bell is ringinglastBellEvents
(ro) array containing the timestamps for each bell-activity that wasn�t answeredversion
(ro) Loxone Intercoms only - text containing the currently installed firmware versionsanswer
(wo) writing any value to this state will deactivate the bell
This type of channel might contain other devices. See the respective chapter for more information.
Provided by different kinds of blinds (automatic and manual).
up
(rw) whether Jalousie is moving updown
(rw) whether Jalousie is moving downposition
(ro) position of the Jalousie, a number from 0 to 1- Jalousie upper position = 0
- Jalousie lower position = 1
shadePosition
(ro) shade position of the Jalousie (blinds), a number from 0 to 1- Blinds are not shaded = 0
- Blinds are shaded = 1
safetyActive
(ro) only used by ones with Autopilot, this represents the safety shutdownautoAllowed
(ro) only used by ones with AutopilotautoActive
(rw) only used by ones with Autopilotlocked
(ro) only by ones with Autopilot, this represents the output QI in Loxone ConfiginfoText
(ro) informs e.g. on what caused the locked state, or what did cause the safety to become active.fullUp
(wo) writing any value to this state triggers a full up motionfullDown
(wo) writing any value to this state triggers a full down motionshade
(wo) writing any value to this state shades the Jalousie to the perfect position
Provided by the central blinds control.
autoActive
(rw) only used by ones with AutopilotfullUp
(wo) writing any value to this state triggers a full up motionfullDown
(wo) writing any value to this state triggers a full down motionshade
(wo) writing any value to this state shades of all blinds to the perfect position
Provided by (hotel) lighting controllers. Scenes can only be modified in the Loxone applications, but can be selected in ioBroker.
activeScene
(rw) current active scene number- 0: all off
- 1..8: user defined scene (definition/learning of scenes has to be done with the Loxone tools)
- 9: all on
sceneList
(ro) list of all scenesplus
(wo) changes to the next sceneminus
(wo) changes to the previous scene
This type of channel might contain other devices. See the respective chapter for more information.
Provided by (hotel) lighting controllers in Loxone software version 9 and above. Moods can only be modified in the Loxone applications, but can be selected and combined in ioBroker.
moodList
(ro) list of all configured mood namesactiveMoods
(rw) currently active list of mood namesfavoriteMoods
(ro) list of the favorite mood namesadditionalMoods
(ro) list of the non-favorite mood namesplus
(wo) changes to the next moodminus
(wo) changes to the previous mood
This type of channel might contain other devices. See the respective chapter for more information.
Provided by central lighting controller.
control
(wo) turns all lights on or off
Provided by utility meters.
actual
(ro) the actual value (number)actual-formatted
(ro) if configured, the formatted actual value of the state (using the "Unit" format from Loxone Config)total
(ro) the total value (number)total-formatted
(ro) if configured, the formatted total value of the state (using the "Unit" format from Loxone Config)reset
(wo) writing any value to this state resets the total value
Provided by virtual push-button inputs.
active
(rw) the current state of the pushbuttonpulse
(wo) writing any value to this state will simulate the button being pushed only for a very short time
Provided by analog virtual inputs.
value
(rw) the current value of the slidervalue-formatted
(ro) if configured, the formatted value of the state (using the "Unit" format from Loxone Config)error
(ro) indicates an invalid value of the slider
Provided by utility meters.
nextLevel
(ro) the ID of the next alarm level- 1 = Silent
- 2 = Acustic
- 3 = Optical
- 4 = Internal
- 5 = External
- 6 = Remote
nextLevelDelay
(ro) delay of the next level in secondsnextLevelDelayTotal
(ro) total delay of the next level in secondslevel
(ro) the ID of the current alarm level- 1 = Silent
- 2 = Acustic
- 3 = Optical
- 4 = Internal
- 5 = External
- 6 = Remote
sensors
(ro) the list of sensorsacousticAlarm
(ro) state of the acoustic alarm false for not active and true for activetestAlarm
(ro) whether testalarm is activealarmCause
(ro) the cause of the alarm:- 1 = smoke detector only
- 2 = water only
- 3 = smoke and water
- 4 = temperature only
- 5 = fire and temperature
- 6 = temperature and water
- 7 = fire, temperature and water
startTime
(ro) timestamp when alarm startedtimeServiceMode
(rw) delay until service mode is disabledmute
(wo) writing any value to this state mutes the sirenequit
(wo) writing any value to this state acknowledges the smoke alarm
Provided by virtual input switches.
active
(rw) the current state of the switch
Provided by stairwell and multifunction switches.
deactivationDelayTotal
(ro) seconds, how long the output will be active if the timer is useddeactivationDelay
(ro) countdown until the output is deactivated- 0 = the output is turned off
- -1 = the output is permanently on
- otherwise it will count down from deactivationDelayTotal
active
(wo) enables or disables the switch (without deactivation delay)pulse
(wo) pulses the switch:- deactivationDelay = 0
- Will start the countdown, from deactivationDelayTotal to 0
- if this is a stairwell switch:
- deactivationDelay = -1
- No effect, will remain permanently on.
- deactivationDelay > 0
- Restarts the countdown
- deactivationDelay = -1
- if this is a multifunction switch
- turns it off (from countdown or permanent on state)
- deactivationDelay = 0
Provided by stairwell and multifunction switches.
entries
(ro) list of entries returned from the miniserver
Provided by utility meters.
numOpen
(ro) number of open windows & doorsnumClosed
(ro) number of closed windows & doorsnumTilted
(ro) number of tilted windows & doorsnumOffline
(ro) number of windows & doors that are not availablenumLocked
(ro) number of locked windows & doorsnumUnlocked
(ro) number of unlocked windows & doors
The sum of the values from all these states is equal to the number of windows & doors monitored.? The windows/doors with two states will always be counted to the "worst" state.
For each monitored window / door there will be a device with an index as its ID and the given name. They have the following states:
closed
(ro) the window / door is closedtilted
(ro) the window / door is tiltedopen
(ro) the window / door is openlocked
(ro) the window / door is lockedunlocked
(ro) the window / door is unlocked
The weather server information is provided as a device with multiple channels.
The device is called WeatherServer
.
It contains:
- the channel
Actual
with the current weather values - one channel for each forecast hour called
HourXX
whereXX
is the number of hours from now
Every channel contains the following states:
barometricPressure
: numeric barometric pressure valuebarometricPressure-formatted
: formatted barometric pressure value with unitdewPoint
: numeric dew point valuedewPoint-formatted
: formatted dew point value with unitperceivedTemperature
: numeric perceived temperature valueperceivedTemperature-formatted
: formatted perceived temperature value with unitprecipitation
: numeric precipitation valueprecipitation-formatted
: formatted precipitation value with unitrelativeHumidity
: numeric relative humidity valuerelativeHumidity-formatted
: formatted relative humidity value with unitsolarRadiation
: solar radiation valuetemperature
: numeric temperature valuetemperature-formatted
: formatted temperature value with unittimestamp
: timestamp of the data asvalue.time
(JavaScript time)weatherType
: numeric weather type enumeration valueweatherType-text
: text representation of the weather typewindDirection
: wind direction valuewindSpeed
: wind speed valuewindSpeed-formatted
: formatted wind speed value with unit
Compatibility has been tested with Loxone Miniserver Go 9.0.9.26 using Loxone Config 9.0.9.26.
Please use the GitHub repository to report any bugs or request new features.
If you require a missing control type, please provide the name as it is reported in the error log of ioBroker as well as the entire raw contents of the device in the ioBroker object tree:
Log file example for "LightController":
Native value from ioBroker > Objects
- (UncleSamSwiss) Fixed issue that was resetting the custom settings and cloud smartName
- (alladdin) Fixed connection issues with Loxone Miniserver 10
- (UncleSamSwiss) Changed all write-only "switch"es to "button"s
- (UncleSamSwiss) Added support for AlarmClock control
- (Apollon77) Updated CI Testing
- (UncleSamSwiss) Improved support for Loxone Config 9
- (UncleSamSwiss) Changed all color choosers (i.e. color lights) to use RGB (previously HSV/HSL was completely wrong)
- (UncleSamSwiss) Control names only synchronized on the first time by default (configurable); users can change control names the way they want
- (UncleSamSwiss) Added support for Slider control
- (UncleSamSwiss) Added proper support for Alexa for the following controls: Alarm, AudioZone, Gate, Jalousie and LightController
- (UncleSamSwiss) Added support for synchronizing rooms and functions (categories) from Loxone Miniserver
- (UncleSamSwiss) Added support for many more controls including commands from ioBroker to Loxone Miniserver
- (Bluefox) Formatting, refactoring and Russian translations
- (UncleSamSwiss) Added creation of an empty device for all unsupported controls (helps figure out its configuration)
- (UncleSamSwiss) Initial version
This project is not affiliated directly or indirectly with the company Loxone Electronics GmbH.
Loxone and Miniserver are registered trademarks of Loxone Electronics GmbH.