Nevermind, just found the how to. 
Very good implementation, thank you for it.
One question not sure if possible at all or iam lookign from wrong direction.
Loxone LightControllerV2 one output RGB
Home assistant Zigbee RGB bulb
I will hit touch tree and it will send to LCV2 infou about RGB to some output, iam i receive it somehow in HA and send it to Zigbee RGB bulb.
Pls ignore way HA to bulb, thats working, but how get info from Lox to HA about color.
Thank you for tips.
Do you see the anything from your touch in ha? I mean is there an entity for the touch. If not you can listen to the event which is send. On ha you can listen to different event. Check the documentation. Maybe you can post the output.
Every event which is sent from the loxone is captured somehow in ha. I pass thru everything which comes from loxone. But I only create some entity classes for example buttons, shutters etc.
Important is that you have the uuid from your touch and maybe read the structure file description from loxone. You find hints on the GitHub pyloxone site.
Here is a topic with a similar problem:
Hello,
I am quite new to Home Assistant, and I like loxone integration, because I use loxone / knx as main central for my smart home.
Home Assistant should only be a better visualisation.
Now my new Hot Tub has WLAN (I check before, how I can integrate it - and its possible with Home Assistant) and I was successfull to use it with home assistant. I have now several switches (power on/off, pump on/off, heater on/off, temperature). I used this: Lay-Z-Spa Hot Tub wi-fi pump automation - but I dont want to do the automatic with HO)
Is it somehow possible to āsendā these switches to loxone and vice versa? I want to āsynchonizeā the status of these switches from HO, and want to use them in loxone (to create some logic for that ) and in Home Assistant.
If I switch on power from Loxone, the power button for my Hot Tub in HO should be switched on, and vice versa. So I can do a lot and easy autmation in Loxone (for example, switch on pump for 1 hr / day)
Can you give me some hints?
You could use virtual inputs and outputs for this in Loxone Config. As KNX support in Loxone has degraded a lot over time, I decided to convert my miniserver to a dumb IO module that passes its inputs through to HA and HA sets the outputs. All logic is in HA. Loxone was a nice solution when I first started with home automation 10 years ago, but I wouldnāt use it if I were to start over.
Dear All,
please help a complete newcomer to the Loxone world. I want to control a fan via 0-10V (based on outside air quality sensor data already in HA) with home assistant, and since a friend had a gen1 loxone miniserver lying in his drawer for years now, he gave it to me to play with, as it is more than ācapableā of managing 0-10V output

Iām using HA for quite some year, Iād say I became fairly familiar with popping its hood up and dig into it. Bit I know absolutely nothing about the Loxone miniserver, just started to play with loxconfig. Iām sure my friend will help setting it up, but Iād like to understand about it about how I can manage data connection between the two systems (HA with PyLoxone and the miniserver).
So far what Iāve done:
- setup miniserver with empty project
- setup PyLoxone, and successfully import the miniserver into HA
- test virtual buttons show up HA, but when I click on them in HA, their state does not change in Loxone
- no physical input or output connection done with the miniserver (apart from ethernet obviously), first I try to establish steady logical connection between the two system.
I have a couple of first question:
- is PyLoxone the only (or should I say easiest, as Loxone is quite versatile as far as I understand) way to integrate a miniserver into HA?
- what kind of button should I create in Loxconfig which will show up and controllable in HA ānativelyā? is there any prerequisite in Loxconfig for a button to work (by working I mean when I press it in HA the state changes in Loxone as well)
Many thanks in advance!
Iām using Node Red in Home Assistant, with node-red-contrib-loxone to send comands to and receive data from my miniserver. Another way to receive commands from the miniserver is by using websockets in HA and a Virtual Output in the miniserver. The added benefit of using node-red-contrib-loxone is, youāll see all available controls prefilled in the nodes.
If all you want is to control a fan, maybe you can have a look at ESPHome configuration for PWM to 0..10V output, sensor and control - #21 by leinich but I get it if you want to learn more about Loxone.
Thanks a lot for the very quick answer, and for the great tips where to dig for more information!!!
Hi!
I beleive you will need to control one of the 0-10V outputs on the Miniserver. However as far as I can see there is no specific control implemented in the PyLoxone project for the analogue outputs.
What you could try is to add the chosen analogue output to the loxone config, expose as favourite so it turns up in the device list, then find the GUID as per the description https://github.com/JoDehli/PyLoxone#how-do-you-get-the-uuid and create some kind of control in HA to emit websocket commands to Loxone.
As the control for the analogue output is a number 0ā¦10 you should look for some control that can be adjusted like this, maybe an input_number to test with? And for the final setup you can probably setup automation with some logic to send the right value to Loxone based on the air quality.
This is just a theoretical setup, I did not try or test anything, just an idea.
At least itās something to wrap my mind around! And much more than I could come up with, so much appreciated!! 
I have a strange behaviour:
Example 1:
Studio light is OFF
Time automation to put Studio light to OFF at 07:30PM
Works (it does nothing)
Example 1:
Studio light is OFF
Time automation to put Studio light to ON at 09:30AM
Works (light lights up)
Example 1:
Studio light is ON
Time automation to put Studio light to ON at 10:30AM
Doesnāt work: light will switch to off
It seems that when a light is ON and something should put it to ON, instead to send the ON message (so nothing to do) it will toggle the entity.
My automation is quite simple:
alias: TEST
description: ""
trigger:
- platform: time
at: "10:30:00"
condition: []
action:
- service: light.turn_on
data: {}
target:
entity_id: light.luce_studio
mode: single
Info:
Loxone version: 13.0.7.26 (but it was the same on previouses versions)
PyLoxone: latest version
Home Assistant: 2022.09.1
Any suggestion?
Hi all, can i ask what should be the best way to handle ātext valueā
Loxone āHi welcome homeā to HA
and same way back
Purpose is to use caller service and messages around, i would create set of messages in both system and then triggering by memory flags etc, but if msg are with changing values āToday is 5Cā this will not works.
Thanks you for tip. i use PyLox for 2 years and sometimes cant imagine easy thing and found in this topic how easy this is, but that one i didnt find idea.
Not sure if I am alone but I have long term issue with the integration not handling Miniserver restarts well.
The old websocket implementation (in the stable version) could sometimes reconnect after miniserver restarted but not always and the new beta canāt reconnect at all so I finally came up with the automation that seems to work reliably for me:
alias: Loxone value not updated
description: "Detection of lost connection between Loxone and HA"
trigger:
- platform: template
value_template: >-
{{ as_timestamp(now()) -
as_timestamp(states.sensor.prikon_rack.last_updated) > 180 }}
condition:
- condition: template
value_template: >-
{{ as_timestamp(now()) -
as_timestamp(states.sensor.prikon_rack.last_updated) > 180 }}
enabled: true
action:
- service: homeassistant.reload_config_entry
data:
entry_id: 151b12d522013c3fa770a3cb8b27c3cf
enabled: true
target:
device_id: c780b98880319d5ce91209a18f2e6501
- service: notify.mobile_app_XXXX
data:
message: "Value from Loxone is not updated "
mode: single
The sensor prikon_rack I have chosen is a value that is changing very often so it is a good candidate for this detection even thought not 100% reliable and I would definitely want to come up with something that would not rely on sensor being updated by external events.
Maybe exporting something like current time from Loxone would be better 
Anyway, as @Jojo is now working on that brand new websocket implementation there is a hope this wonāt be needed in the future and the integration will correctly detect Miniserver restarts and will reconnect itself 
Is it possible to use this with the miniserver compact?
Hello , I just installed PyLoxone in Home assistant , on a Raspberry Pi4, with a DietPi distribution. I used the HACS method for installing.
I can not find too much information on the internet about Py Loxone, for example I see in my Home Assistent->integration->pyLoxone only one device and one entity, an the entity is empty.
Sorry if it is a stupid question, but I do not know how to import the loxone entities.
Thanks
No sure what kind of information about the PyLoxone you are looking for. All you need to make it working is in the Readme.
All the entities you have available in the Loxone web/app under the user which you used for the HA integration should be visible in HA.
You can check what is visible also by checking the Loxone json as described here.
Hello.
Pyloxone work me fine for a year. But now some entities dissappear (are unavailable). Its all binary entities (motion sensors, window contacts) and lights in 2 rooms. But for example temperature still works fine.
Do you have any idea what wrong?
When I look in http://192.168.1.xx:xx/data/LoxAPP3.json, UUID for missing entities are there.
For last mont, I make upgrade of HomeAssistan to 2024.08 version and also change (and reboot) loxone program (only small things not about missing entities).
I try new HA installation (with pyLoxone only) but the result was the same.
2024-09-13 10:41:56.514 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up loxone platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/loxone/binary_sensor.py", line 85, in async_setup_entry
entities.append(LoxoneDigitalSensor(**sensor))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/loxone/binary_sensor.py", line 116, in __init__
self._state_uuid = self.states["areAlarmSignalsOff"]
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'areAlarmSignalsOff'
I just upgraded to the latest version of HA, and the PyLoxone integration no longer works. Anyone having this issue?
- Installation methodHome Assistant OS
- Core2025.11.2
- Supervisor2025.11.2
- Operating System16.3
- Frontend20251105.0
Logger: homeassistant.config_entries
Source: config_entries.py:761
First occurred: 10:51:56 AM (3 occurrences)
Last logged: 11:10:43 AM
Error setting up entry PyLoxone for loxone
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/loxone/__init__.py", line 193, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(config_entry, LOXONE_PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2591, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
[Previous line repeated 7 more times]
File "/usr/src/homeassistant/homeassistant/loader.py", line 1164, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1089, in _load_platforms
platform_name: self._load_platform(platform_name)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1263, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1295, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1027, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/loxone/alarm_control_panel.py", line 13, in <module>
from homeassistant.const import (CONF_CODE, CONF_NAME, CONF_PASSWORD,
...<2 lines>...
STATE_ALARM_DISARMED, STATE_ALARM_TRIGGERED)
ImportError: cannot import name 'STATE_ALARM_ARMED_AWAY' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
HACS also seems to fail:
This error originated from a custom integration.
Logger: custom_components.hacs
Source: custom_components/hacs/base.py:406
integration: HACS (documentation, issues)
First occurred: 10:51:58 AM (6 occurrences)
Last logged: 11:18:48 AM
HACS is disabled - restore
Figured out Iām using a old version of PyLoxone Version 0.6.15, trying to upgrade nowā¦
EDIT: seems HACS was somehow stuck. Tried to re-install HACS after an update warning for PyLoxone popped up. Went from 0.6.x to 0.9 and seems to work now.