Legrand/Bticino MyHome

Hi anotherjulien,
I have also a bt f454 that i would like to connect to home assistant.
I foud your awesome work so congratulations and BRAVO.
I have a question regarding the anotherjulien/OWNd 305 ownd package.
Where do i have to install it? Custom components?
Thank you

Hi! You don’t need to bother about OWNd, Home-Assistant handles its installation automatically in the background!

Dimension 11 is only read dimension not write
Bye
Sandro

Hi Julien,

i installed the latest version and get the warnings underneath

2021-10-22 12:46:06 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration myhome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-10-22 12:46:06 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-10-22 12:46:06 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration blueiris which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-10-22 12:46:06 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-10-22 12:46:06 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration esxi_stats which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-10-22 12:50:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None
2021-10-22 13:00:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None
2021-10-22 13:02:28 WARNING (MainThread) [custom_components.myhome] Unknown device: WHO=1 WHERE=18
2021-10-22 13:03:57 WARNING (MainThread) [custom_components.myhome] Unknown device: WHO=1 WHERE=18
2021-10-22 13:06:51 WARNING (MainThread) [custom_components.myhome] Unknown device: WHO=1 WHERE=18
2021-10-22 13:10:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None
2021-10-22 13:20:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None
2021-10-22 13:30:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None
2021-10-22 13:40:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None
2021-10-22 13:50:00 WARNING (MainThread) [custom_components.myhome] Data received is not a message: None

@anotherjulien with the new version it seems that the problem for me has been solved!!

Thank you very much!!

Hi. Gateway MHS1 still disconnects after 8-12 hours of operation. ACK doesn’t help :frowning: I need to have home assistant reboot automations several times a day :face_with_raised_eyebrow:
Last log with a valid connection:

2021-10-27 05:31:04 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully sent.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully queued.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully queued.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully queued.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully unqueued by worker 0.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Command session connection reset, retrying...
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Opening command session.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Negotiating command session.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Reply: *#*1##
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Received SHA challenge: *98*2##
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Detected SHA-256 method.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Accepting challenge, initiating handshake.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Received Ra.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Generated Rb.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Sending command session password.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Received HMAC response.
2021-10-27 05:32:02 DEBUG (MainThread) [custom_components.myhome] Server identity confirmed.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## received response *#18*51*51*1237559##.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully sent.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully unqueued by worker 0.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## received response *#18*52*51*0##.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully sent.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully unqueued by worker 0.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## received response *#18*53*51*651134##.
2021-10-27 05:32:03 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully sent.

2021-10-27 05:33:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully queued.
2021-10-27 05:33:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully queued.
2021-10-27 05:33:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully queued.
2021-10-27 05:33:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully unqueued by worker 0.
2021-10-27 05:33:02 DEBUG (MainThread) [custom_components.myhome] Command session connection reset, retrying...
2021-10-27 05:33:02 DEBUG (MainThread) [custom_components.myhome] Opening command session.

2021-10-27 05:33:30 INFO (MainThread) [custom_components.myhome] Found gateway: 192.168.128.204
2021-10-27 05:34:00 INFO (MainThread) [custom_components.myhome] Found gateway: 192.168.128.204

2021-10-27 05:34:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully queued.
2021-10-27 05:34:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully queued.
2021-10-27 05:34:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully queued.

2021-10-27 05:35:00 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event automation_triggered[L]: name=MyHome ACK, entity_id=automation.myhome_ack, source=time pattern>
2021-10-27 05:35:00 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.myhome_ack, old_state=<state automation.myhome_ack=on; last_triggered=2021-10-27T05:30:00.006297+02:00, mode=single, current=0, id=1628013119528, friendly_name=MyHome ACK @ 2021-10-26T21:26:47.723669+02:00>, new_state=<state automation.myhome_ack=on; last_triggered=2021-10-27T05:35:00.006956+02:00, mode=single, current=1, id=1628013119528, friendly_name=MyHome ACK @ 2021-10-26T21:26:47.723669+02:00>>
2021-10-27 05:35:00 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=myhome, service=send_message, service_data=message=*#1*59##>
2021-10-27 05:35:00 DEBUG (MainThread) [custom_components.myhome] message to be sent: *#1*59##
2021-10-27 05:35:00 DEBUG (MainThread) [custom_components.myhome] OWN Message: *#1*59##
2021-10-27 05:35:00 DEBUG (MainThread) [custom_components.myhome] message valid
2021-10-27 05:35:00 DEBUG (MainThread) [custom_components.myhome] Message *#1*59## was successfully queued.

and then just messages repeating every minute:

2021-10-27 05:34:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully queued.
2021-10-27 05:34:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully queued.
2021-10-27 05:34:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully queued.

2021-10-27 05:35:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully queued.
2021-10-27 05:35:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*52*51## was successfully queued.
2021-10-27 05:35:02 DEBUG (MainThread) [custom_components.myhome] Message *#18*53*51## was successfully queued.

hmm do you have any idea? Maybe these logs will help you somehow :cold_face:

Hello, I see that my KM4691s are sending also a message about humidity but i don’t find how to manage it on my devices

2021-10-27 18:16:55 DEBUG (MainThread) [custom_components.myhome] Received: *#4*1*60*71##
2021-10-27 18:16:55 INFO (MainThread) [custom_components.myhome] Zone 1's main sensor is reporting a humidity of 71.0%.

@XDUSS that is extremely strange, from your logs, it seems not only the event session is crashed but also the command session, correct?
Usually people having similar issues are only limited to the event session, and they notice it because when they turn on a light in HA, the light turns on but the entity immediately switches back off…

@Murazor, if your KM4691 is configured as a climate entity, then as far as I know, it should already work. The value is stored in the current_humidity variable for the entity but I don’t know how it is presented in HA, maybe an attribute?
You’re not the first to ask this question, but as soon as I explain, people disappear and I never hear from them again, so nobody told if and how it works.

Thanks! I already have a F454 with me :wink:
Time to play!

1 Like

@anotherjulien Exactly: I can “turn on a light in HA, the light turns on but the entity immediately switches back off…”, least that’s how it used to be, now, after updates, it’s probably the same too, but I haven’t checked it anymore.
Maybe it’s MHS1 problem - I have mh202 in stock, I will try to replace mhs1 with mh202 and see if there will be the same problem - i let you know :wink:

Hi @anotherjulien. I try to install the repository from supervisor, but the system give me this issue: “Invalid Add-on repository!”
It’s a brand new installation, but no warries about other repository…

Hi, supervisor repositories are for add-ons/plugins, not components/integrations. They must be installes in HACS :slight_smile:

@anotherjulien Hi there, sorry for delay I was out of home for work.
I’ll look how I can get it as an attribute an dthen report it.

Ha ha :joy:
Thank you man :v: It’s about an year that I don’t use home assistant and that are the aftereffects

CIao @anotherjulien

I have a problem with power consume sensor since a few days ago
I see the consume at 0.

Here’s the config

sensor:
  - platform: myhome
    devices:
      general_power:
        where: '51'
        name: Total power
        class: power
        manufacturer: BTicino

image

there’s something I can do?

Thanks

Hallo @anotherjulien. I have a little problem with covers: is there a way to modify the timing of cover’s signals? That’s because i have to operate with shot signals and long signals…

Thank you…

Cant you change ‘51’ to ‘511’ ?

just tried but appears as unavailable

@powermian, sorry, I don’t understand what you mean by signal timing

@mantovanelli.matteo, did this start after the CEST->CET timezone change? Had you restarted HA completely after that?
(By the way, replacing ‘51’ with ‘511’ only changes the address of the sensor, so if you did not change your sensor ID to number 11, that’s no use)

Sincerely I don’t know when exactly start. Yes I tried to reboot.