@anotherjulien any suggestion for me?
Hi, did you manage to collect the debug logs?
Hello guys,
did someone managed to get this to work? I’m using a supervised Hassio installation under a Raspberry Pi and I would like to get the energy consumption from my bticino F20T60A energy meter. I’m using the stock bticino gateway, K4510C.
Thanks in advance.
Hi @anotherjulien, hi all,
I’ve got a F441 to control the audio / video flow from the video door entry unit to the 10 "Bticino tablet.
Is this component controllable in Home Assistant? Is it integrable?
A thousand thanks
Hello,
This is my first post here.
Kudos to what you have done so far, this is a great help.
My question to you, how can your myhome integration handle command among different busses on the Bticino myhome system.
I for example have different busses (F422 interfaces) I have a private riser and a local bus (nr. 1)
and many commands are sent to and from bus 1.
the command to turn A3, PL4 off looks like: ’ * 1* 0*#4#1##’
But this does not seem to work or I am doing wrong.
Already a big thanks to you for the hard work you did so far.
I saw a response to a similar question here, so pardon me asking again.
But i tried it and it is not working, could you tell me what i am doing wrong?
this is the config that i entered in configuration.yaml
light:
- platform: myhome
devices:
bureau:
where: 13
bus: 1
name: Spots
dimmable: False
manufacturer: Bticino
model: F411/4
It keeps giving error:
Invalid config for [light.myhome]: [bus] is an invalid option for [light.myhome]. Check: light.myhome->devices->bureau->bus. (See ?, line ?).
@rockymc2 Integration does not support rails and settings “bus:”
All functionalities are nicely described here: GitHub - anotherjulien/MyHOME: MyHOME integration for Home-Assistant
I hope that in the future the author will decide to add such functionality - as well as support for two systems (gates) at the same time
If someone wants to contribute code, I’m happy to consider it.
I would be happy to contribute, but i have no idea how to start. I’m not familiar with home assistant when it comes to development. I do understand the whole openwebnet as i have a scripted out system in
commandfusion, that translated the own code. But i do not know how to start with it within home assistant. If you would have some guidmap or so that states like “this is where the command enters”, than i can try to enrich your efforts. but for the moment i don’t see the start of all of this.
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.total_power_power, old_state=None, new_state=<state sensor.total_power_power=unknown; state_class=measurement, Sensor=(5)1, unit_of_measurement=W, friendly_name=Total power Power, device_class=power @ 2021-12-03T04:00:18.081491+01:00>>
2021-12-03 03:00:18 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.myhome entity: sensor.total_power_power
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event entity_registry_updated[L]: action=create, entity_id=sensor.total_power_power>
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.total_power_power, old_state=None, new_state=<state sensor.total_power_power=unknown; state_class=measurement, Sensor=(5)1, unit_of_measurement=W, friendly_name=Total power Power, device_class=power @ 2021-12-03T04:00:18.081491+01:00>>
2021-12-03 03:00:18 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.myhome entity: sensor.total_power_energy_today
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event entity_registry_updated[L]: action=create, entity_id=sensor.total_power_energy_today>
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Total power Energy (today) because it's disabled
2021-12-03 03:00:18 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.myhome entity: sensor.total_power_energy_current_month
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event entity_registry_updated[L]: action=create, entity_id=sensor.total_power_energy_current_month>
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.components.sensor] Not adding entity Total power Energy (current month) because it's disabled
2021-12-03 03:00:18 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.myhome entity: sensor.total_power_energy
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event entity_registry_updated[L]: action=create, entity_id=sensor.total_power_energy>
2021-12-03 03:00:18 DEBUG (MainThread) [custom_components.myhome] Message *#18*51*51## was successfully queued.
2021-12-03 03:00:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.total_power_energy, old_state=None, new_state=<state sensor.total_power_energy=unknown; state_class=total_increasing, Sensor=(5)1, unit_of_measurement=Wh, friendly_name=Total power Energy, device_class=energy @ 2021-12-03T04:00:18.086261+01:00>>
Is it useful?
Good morning,
I wanted to report a problem that I encounter with the integration.
Every time I open the app for iOs and connect, the first command I send for MyHome fails, from the second on everything works perfectly.
While for other integrations I have everything works right away.
By desktop it works correctly.
I attach the log.
2021-12-03 11:26:13 DEBUG (MainThread) [custom_components.myhome] Message *1*0*27## was successfully queued.
2021-12-03 11:26:13 DEBUG (MainThread) [custom_components.myhome] Message *1*0*27## was successfully unqueued by worker 0.
2021-12-03 11:26:13 DEBUG (MainThread) [custom_components.myhome] Message *1*0*27## received response *#4*2*13*00##.
2021-12-03 11:26:13 INFO (MainThread) [custom_components.myhome] Message *1*0*27## was successfully sent.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*1200#1*255##
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*113*157##
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Message *1*0*27## was successfully queued.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Message *1*0*27## was successfully unqueued by worker 0.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Command session connection reset, retrying...
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Opening command session.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Negotiating command session.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Reply: *#*1##
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Received SHA challenge: *98*2##
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Detected SHA-256 method.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Accepting challenge, initiating handshake.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Received Ra.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Generated Rb.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Sending command session password.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Received HMAC response.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Server identity confirmed.
2021-12-03 11:26:16 INFO (MainThread) [custom_components.myhome] Message *1*0*27## was successfully sent.
2021-12-03 11:26:16 DEBUG (MainThread) [custom_components.myhome] Received: *1*0*27##
2021-12-03 11:26:16 INFO (MainThread) [custom_components.myhome] Light 27 is switched off.
2021-12-03 11:26:17 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*113*153##
2021-12-03 11:26:17 DEBUG (MainThread) [custom_components.myhome] Message *1*1*27## was successfully queued.
2021-12-03 11:26:17 DEBUG (MainThread) [custom_components.myhome] Message *1*1*27## was successfully unqueued by worker 0.
2021-12-03 11:26:17 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*1200#1*255##
2021-12-03 11:26:17 INFO (MainThread) [custom_components.myhome] Message *1*1*27## was successfully sent.
2021-12-03 11:26:17 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*113*153##
2021-12-03 11:26:18 DEBUG (MainThread) [custom_components.myhome] Received: *1*1*27##
2021-12-03 11:26:18 INFO (MainThread) [custom_components.myhome] Light 27 is switched on.
2021-12-03 11:26:18 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*1200#1*255##
2021-12-03 11:26:18 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*113*151##
2021-12-03 11:26:18 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*1200#1*255##
2021-12-03 11:26:18 DEBUG (MainThread) [custom_components.myhome] Received: *#18*51*113*151##
Hey Julien, could I ask you two question about climate?
I’ve configured myhome climate and all is working fine except hvac_action.
In the log I see this type of message:
2021-12-22 09:35:48 INFO (MainThread) [custom_components.myhome] Zone 7's actuator 1 is off.
2021-12-22 09:40:26 INFO (MainThread) [custom_components.myhome] Zone 1's actuator 1 is on.
but they do not reflect in the hvac_action that alway remain in idle.
It’s correct?
Another question is about hvac_mode: auto. I don’t have a central unit but 8 KG4691.
In MyHome_up i’ havent an auto mode, what it stand for?
Thank you for your great job!
Hello @anotherjulien thanks for the amazing work.
I have recently set up a towel warmer, using a BTicino F430/4. Attached you can see myhome_up screenshot, how it looks like in the app. It is just a simple actuator, it is not related to any temperature sensor.
I am trying to switch it on/off through Home Assistant. Adding it as a climate entity does not lead anywhere, the entity fails and is unavailable.
Sniffing the network with OpenWebNet Client shows an event any time the actuator is switched on (*#4*9#1*20*1##
) or off (*#4*9#1*20*0##
).
I have been reading the WHO=4 documentation without finding a generic ON or OFF command which correctly interacts with it.
Do you (or anybody else) have experience with such heating actuator? Is there a command to turn it on/off from home assistant?
Thanks in advance for the support.
Hello Julien,
Can you please help me with the integration of the myhome automation in my HA?
I’m new with HA and from the web interface, the addons or other parts don’t seem to recognize either of your components.
From the command line, wget or other installation commands don’t work either.
I just need some small hints to be able to start.
Thank you.
HI,
The F430/4 is ment to work together with temperature sensors and a central unit like example underneath.
# myhome_climate
- platform: myhome
devices:
central_unit:
zone: "#0"
heat: true
cool: false
standalone: false
manufacturer: BTicino
model: 3550
zone_1:
zone: "1"
name: Garage
heat: true
cool: false
standalone: false
manufacturer: BTicino
model: F430/2
zone_2:
zone: "2"
name: Slaap - 1
heat: true
cool: false
standalone: false
manufacturer: BTicino
model: F430/2
is you just want to tunr it on/off you should use
# Myhome switch
- platform: myhome
devices:
zithoek:
where: "11"
name: kandelaars zithoek
class: outlet
manufacturer: BTicino
model: F411U2
eetkamer:
where: "12"
name: kandelaars eetkamer
class: outlet
manufacturer: BTicino
model: F411U2
verwarmerlinks:
where: "0111"
name: Verwarmer Links
class: outlet
manufacturer: BTicino
model: F411U4
verwarmerrechts:
where: "0110"
name: Verwarmer Rechts
class: outlet
manufacturer: BTicino
model: F411U4
terrasstopcontact:
where: "19"
name: Terras stopcontact
class: outlet
manufacturer: BTicino
model: F411U4
Best regards
Hello, thanks for kind answer and examples.
I have already tried to add it to the configuration as a switch. But the switches are managed as WHO=1 by OWN.
The F430 actuator which I am trying to add is managed by OWN as WHO=4, that is why I tried to add it as a Climate entity.
Honestly, I don’t think I’ll continue developing the heating part of this. It’s way too much problems, no way for me to test, and everyone seems to have a different “special case” that does not work and is non standard.
If someone is willing to contribute actual (tested) code, I’m happy to review their PR and integrate them, but not much else.
I’ve said it multiple times, I’m not a developer, this is a “hobby” for me, or it was supposed to be.
At this point, I need help, not ideas.
This haven’t OWN public available
Isn’t a component problem
Bye
Sandro
Happy New Year to the whole community!
Hi Julien, congratulations for your integration!
AUX (WHO = 9) commands can also be interpreted as switches or lights.
*9*1*5##
is the OWN command to put ON the AUX channel 5 and *9*0*5##
is the one to put OFF the AUX channel 5.
In my anti-theft control panel (Myhome 3486) I created automations to enable (AUX5=1) and disable (AUX5=0) the anti-theft device.
How do I create a switch in HomeAssistant to do this?
Thank you
@anotherjulien Hi there, I’m sorry for delay, I just like to inform you that I finally get to manage humidity from my KG4691.
It is shown as an attribute and I tried a lot of ways to get it and finally I found that the attribute appear only when humidity change, so every time I restart Ha there’s no attribute. Then I look around and find out how to force update with “OpenWebNet Client” and find to manage with Templates. Here is How I coded them:
- platform: template
sensors:
umidita_salotto:
friendly_name: "Umidita' Salotto"
value_template: '{{state_attr("climate.termostato_salotto", "current_humidity")}}'
unit_of_measurement: '%'
Now I have to find out how to manage datas and combine with VMC humidity control.