Legrand/Bticino MyHome

I’m sorry this didn’t work out for your touch screen…
If you ever get a real gateway, feel free to come join us back! :slight_smile:

I have a question: is it possible to have cumulative energy consumption, i.e. that it is added now for now, for every power unit? For example: kitchen power in this moment and the total from midnight to this moment. Thanks

Yes and no.

Home assistant does not have any platform that can handle energy (as in KWh) and not just power (as in KW); except for a switch for reasons I can’t explain.
Furthermore, Home Assistant offers no way to “insert values” into its history, so it is impossible to simply take the hourly or daily values from MyHome and put them into Home Assistant.

But you can reach some sort of passable solution by duct taping together the Integration Sensor and the Utility Meter.
I don’t use it personally as I think as of today Home Assistant is not adequately equipped to handle energy consumption in any meaningful way.

1 Like

Hi @anotherjulien thanks a lot for your work!

I tried setting it up for reading the temperature values of one of my thermostats (it’s a HA4691). Unfortunately the values are not read or I cannot change the state of the thermostatcontroller. Nothing is reported

So I tried configuring a light just to test it - once again no luck and there is this error being logged:

Logger: custom_components.myhome
Source: /usr/local/lib/python3.8/site-packages/OWNd/connection.py:499
Integration: MyHome
First occurred: 2:49:59 PM (9 occurrences)
Last logged: 2:50:27 PM

Could not send message 11*012##.

my gateways (both a F454 and Mh200) were automatically discovered and configured (default password) - is there a way to manually reconfigure them?

Thanks

Hi Stefano, …waiting for a reply from Julien …

The component does not allow manual configuration.
You can only configure one gateway, so you should exclude one of the two (Maybe, it’s better to exclude mh200) from the integrations, and try again.

Thanks @caiosweet !!! How can I esclude it? Should I just remove it from the configs?

I think the problem is the default password and therefore it does not allow you to configure the component (and consequently the possibility of ignoring it), but it is automatically configured.

You could do this:

Eliminate the MH200 integration.
Change the default password so it doesn’t configure itself at startup.
Restart home assistant, go to integrations and click ignore.

see Look at the photo here (in my post above), the button on the right Ignore

edit
Or maybe, just simply remove it, maybe, try removing it first and restarting, if it self-configures again, then proceed with the above instructions :O)

thank you @caiosweet !! you were definitively right - removing the MH200 solved the issue! the problem is that any time I restart HA it come back and nothing works anymore.

I’d rather avoid change the default password as it’s used in many other tool which I would need to reconfigure as well. Hope @anotherjulien will be able to advise I way to permanent exclude it.

Thanks!!

/nevermid I figure out I can disable the MH200 from the HA config!!! THANKS!!!

Ciao, thanks for this very useful integration!
I just installed few days ago, using with it F454 and successfully integrated lights and cover.
I’m also trying to integrate the climate part (I have 4695 central, 4 zone), with local zone (ground floor) and zone 2 (first floor, with 4692 for local temperature offset).
MyHome configuration has the following (in myhomescreen):

  • central: address 2
  • ground floor: address 2
  • first floor: address 3
    So I tried to declare in configuration.yaml the following:
climate:
   - platform: myhome
     devices:
     central_unit:
        zone: '#0'
        name: Central unit
        heat: True
        cool: True
        standalone: False
      zone_2:
        zone: '2'
        name: Ground floor
        heat: True
        cool: True
        standalone: False
      zone_3:
        zone: '3'
        name: First Floor
        heat: True
        cool: True
        standalone: True

The result is that First floor works (zone 3), but I’m not ble to control both the central and the Ground floor (zone 2).
I tried to check from debug the openwebnet commands for zone 2:

Message #4#2*#1401951## was successfully sent when changing temperature of Ground floor.
But there is no answer.

I also checked that with developer manually sending the following message it works (temperature set on all the zones):

message: '*#4*#0#2*#14*0205*1##'

Do you have any idea about what I’m doing wrong and how to solve it ?

Thanks so much in advance!

Hi!
So yeah, as @caiosweet said, the normal way is to click “Ignore” on the device you want to exclude.
I will probably remove the “auto configuration” when the password is the default in a future version, because I see now it can lead to undesired outcomes…
Anyway, I’m glad it’s working for you now :slight_smile:

Hi!

I’m not super familiar with the “4 zones” central unit…
I’ve read it has an “integrated” zone, I suppose you can configure that “integrated” zone number and you have it set to ‘2’, correct?
Your “First floor” zone is also controlled by the central unit? If so it does not need to be set to standalone: True, that is only for zone which are autonomous and not controlled by a central unit.
In this situation I’m surprised zone 3 is the one working, I would have expected the opposite!

In the message you send, you have the WHERE section as #0#2, can you tell me what the #2 part is for? Because the documentation suggests you should use #0 for the central unit, #N for zone N controlled by the central unit and simply N for a standalone zone when there are no central units.

Hi,
current configuration of myHome heating system is basing on the following picture:

I also checked Openwebnet spec for WHO=4 and seems like you describe, but if I try to use #0 or #2 to get the status and data I receive no answer, I need to use #0#2.
About zone 3 is also controlled by central unit but it just work if set as “standalone”, sending the command directly without “#”.
I tried the same with zone 2 but it is not working, so seems that the overall communication with central unit is not ok, works only using “#0#2” string and I don’t know why…

If I change overall temperature from myHomescreen to 20.0 degree I see the following traces:

2020-12-30 16:04:41 DEBUG (MainThread) [custom_components.myhome] Received: *4*110#0200*#0#2##
2020-12-30 16:04:41 DEBUG (MainThread) [custom_components.myhome] Received: *4*21*#0#2##
2020-12-30 16:04:41 DEBUG (MainThread) [custom_components.myhome] Received: *4*31*#0#2##
2020-12-30 16:04:42 DEBUG (MainThread) [custom_components.myhome] Received: *#4*2*13*00##
2020-12-30 16:04:43 DEBUG (MainThread) [custom_components.myhome] Received: *#4*2*0*0206##
2020-12-30 16:04:43 DEBUG (MainThread) [custom_components.myhome] Received: *#4*2*12*0200*3##
2020-12-30 16:04:43 DEBUG (MainThread) [custom_components.myhome] Received: *4*1*2##
2020-12-30 16:04:44 DEBUG (MainThread) [custom_components.myhome] Received: *#4*3*0*0208##
2020-12-30 16:04:44 DEBUG (MainThread) [custom_components.myhome] Received: *#4*3*12*0200*3##
2020-12-30 16:04:44 DEBUG (MainThread) [custom_components.myhome] Received: *4*1*3##
2020-12-30 16:04:46 DEBUG (MainThread) [custom_components.myhome] Received: *#4*2#2*20*0##

Thanks.

pianoterra address is 2 so your config should be:

climate:

  • platform: myhome
    devices:
    zone_1:
    zone: ‘2’
    name: Piano Terra
    heat: True
    cool: False
    standalone: False
    manufacturer: BTicino
    model: F430/4

if it does not work then the problem is elsewhere. E.g. do you have anything else working like switches or blinds?

Hi,
thanks for suggestion.
I tried but without success.
I think the issue is not about configuration yaml, but about bTicino system configuration.
In fact testing directly with OpenWebNet commands (developer tools) I get no answer if I use #0, #2 or 2. Instead I get command acknowledge using 3 (for zone_2) and using #0#2 for local zone (zone_1), setting the same temperature on all zone.
So seems the issue is I need to use #0#2 instead of (reasonable) #2 only.
I don’t know if there is a way in this myhome addon to change sending #0#2 instead of #2.

Thanks for your feedbacks.

About the others (light, cover, actuators) everything correctly works.

Hello. Waiting for a review by Julien, but have you also tried to use only the two probes without control unit? (i.e., the control panel should still be a thermostat)

climate:
    - platform: myhome
      devices:
       zone_2:
         zones: '2'
         name: Ground floor
         heat: True
         cool: False
         standalone: False
       zone_3:
         zones: '3'
         name: First Floor
         heat: True
         cool: False
         standalone: False

Hi, it’s very strange, I see that your central unit seems to be addressed as #0#2 and zone 2 as 2#2

It might be wrong, but in the configuration screenshot I see that for Centrale 1 you have set address as 2, what other options is there? Is it possible to set nothing there?

My bad, I misinterpreted *#4*2#2*20*0##, here 2#2 is actually actuator 2 from zone 2.
But I’m still curious about the Central 1 “address” and what can be set there!

Bonjour
j ai installé hassio et j ai du myhome à la maison
comment j’intègre mon installation myhome?
j ai F454 et MH202

Hi Julien, I’d like to be a tester of your myHome library, because I have many bTicino components in my house (lights, switch, heating, blinds, etc).
I’m actually using the OpenHab framework for my needs, but now I started to appreciate Home Assistant which seem to be much more complete.
Can you give me the possibility to integrate my bTicino compopnents by means of your library so I can give you my feedbacks?
Thanks in advance