Legrand/Bticino MyHome

Hi,

I’m using this plugin for my covers.
I’m looking for to find the position of each covers and so know when they are open or closed. Do you know if we have the capacity to find that trough the plugin ?

Thanks!

Hello, I also have an alarm. did you manage to get a status report?
Does the service request work with openweb?

same problem here. it seems that if I convert an address from 0/1/02, to “12” it will work fine with the very same light. But if it happens to have an address like 0/0/12, I cannot convert it to “12” (it would collide), and if I try to put a 4-digits address, it does not work (ie. 0012).

solved. I’ve installed a previous version of the integration (through hacs), then reinstalled the latest. and it started to work fine. Probably there was something corrupt.

HI Achille, I’ve same problem.
During the day I can’t see status udated (but commands still work).
Only possibility to solve is restart integration.

Have You solved? Which automation have You created? (in “automations.yaml”?)

Tnx.

Fabio

Hi, great job with this integration , but u have a problem, i need to activate a cen+ scenario in automation, then why this not work?

service: myhome.send_message
metadata: {}
data:
  message: "*25*21#8*4##"

If i try this with

  message: "*1*1*91##"

the light turn on normally.

Then how i can start a cen+ scenario from automation?

Maybe that your gateway is an MH200N or MH202

It Is mh202, It Is not supported?

Hi, how can I manage the LN 4691 thermostat? For now I can only see the status but if I try to turn it off or change the heating temperature nothing happens.

@anotherjulien many thanks for your work! I am glad I found this thread.

I’ve managed to install everything (I can help to improve Wiki, as seems not all people understand the workflow), now playing with the configuration, hope the community can help me to figure out how it wroks.

I have MH201 hotel server and 3 thermostats across three rooms (KM4691) with no central unit. I added these thermostats as per wiki:

mh201:
  mac: '00:03:50:**:**:**'
  climate:
      zone_1:
          zone: '1'
          name: Living room
          heat: True
          cool: True
          standalone: True
          manufacturer: BTicino
          model: KM4691
      zone_2:
          zone: '2'
          name: Kitchen
          heat: True
          cool: True
          standalone: True
          manufacturer: BTicino
          model: KM4691
      zone_3:
          zone: '3'
          name: Bedroom
          heat: True
          cool: True
          standalone: True
          manufacturer: BTicino
          model: KM4691

Not sure what I am doing wrong, so would be thankful for any suggestions.
Below are screens with their config in MySuite:

Seems like the unique address that I am able to access belongs to the room that MH201 is configured to and it only gathers data from one KM4691. However when I am sending turn-on/off command all three react on it. Hence, I think I might need MH201 for each KM4691 (as I am not able to add MH201 to other rooms).
Unless, I would try to record data on each KM4691 separatly, so that would save room setting on KM4691.

Didn’t help much. The code pulls only data from the room to which MH201 assigned. I think I would need two more MH201.

The one strange thing though. No matter what room the device is connected to, the code always picks it up for Zone 1.

@anotherjulien
Thank you for your job really useful for me.
I have the MyHome alarm system 3486, I can support you in developing the alarm interface. If you give me some direction I could try also to modify your code.
Please let me know, and, again, thanks for your job.
R

Hello
I have a Bticino alarm system connected to their proprietary app (alarm next).
The alarm’s main board is the 4200C.
Does anyone knows if it is by any chance possible to command the alarm system through home assistant? I’ve tried to google it many times but I have only found stuff that works with the normal 4200, not 4200C.
If anyone of you has any ideas it would be very appreciated.
Thanks :slight_smile:

Hi @anotherjulien, I installed a new instance of Home Assistant on rpi3 and consequently installed your custom integration.

OS Version: Home Assistant OS 14.0
Home Assistant Core: 2024.11.3
MyHome Integration version: 0.9.3

The integration does not automatically find the MyHomeServer1 and I am forced to configure it manually.

I already have the myhome.yaml file ready which I uploaded to the right folder.

Now, however, I get this error: “Configuration failed: Check logs”

Checking the logs I get the following:

Registratore: homeassistant.config_entries
Fonte: config_entries.py:635
Prima occorrenza: 16:26:47 (3 occorrenze)
Ultima registrazione: 17:19:12

Error setting up entry MHS1 Gateway for myhome
Error setting up entry MyHomeServer1 Gateway for myhome
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/myhome/__init__.py", line 62, in async_setup_entry
    _validated_config = config_schema(yaml.safe_load(await yaml_file.read()))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/myhome/validate.py", line 177, in __call__
    data = super().__call__(data)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 205, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 549, in validate_dict
    return base_validate(path, data.items(), out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 382, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['cover']['tenda_posteriore_area_tecnica']

It seems that the OWNd has not been installed

Could you please help me? I can’t figure it out

The 4200C is a Ksenia Lares 4.0 rebranded. Try to find this type of integration