Thank you caiosweet ! I tried without 5 but it return always 0.
I was using 571 because for f520 and f521 the address with 5 is returning the correct value.
Example:
water_heater_power:
where: ‘5125’
name: “Centrale Termica”
class: power
manufacturer: BTicino
model: F520
@federicoimg, changing the requirement to 0.7.20 forces your Home Assistant instance to download and install that version of the OWNd library that is used to communicate with the gateway. In that version I fixed a bug related to message handling and the way the zone number is manipulated.
Could you let me know if the actuators 2 and 3 for heat and cold is something you can configure or is it always 2 and 3 for everybody? (If this is something you know, of course!)
@Betman, I see in the WHO 18 documentation that F522 actuators have an address as “7[1-255]” instead of “5[1-255]” for F520 (F523 seem to have both??)
Can you try by just putting the where like this:
EDIT: Nevermind, I see in the code that I ignore the message if the where does not start with “5”, give me some time to edit this, and I will publish a new version of OWNd!
I’ll let you know when you can try!
@anotherjulien I change the confing but unfortunately always 0. Could you link me the documentation so i can check? @caiosweet I can collect data from other sensor without the service, only f522 are giving me problem
Actually, the change in the code was not that bad… So I already published the new version of OWNd.
All you need to do to try it is edit the manifest.json file and set the requirement as OWNd==0.7.21 and set your configuration as follows:
With the sensors as 71, 72 and 73 (That’s why it already started with a 7, I should have known )
Once done, restart HA and it should work like this!
When you confirm it works properly, I’ll publish this new requirement in the integration’s master branch.
(The OpenWebNet documentation for WHO 18 is here, but as all documentation for OpenWebNet: it is old and incomplete.)
I changed according your suggestion and restarted home assistant. Unfortunately data is another time 0.
I configured the same object in myhome app as energy meter with the same address…and also there the value is 0!
So I think your integration is correct, is myhome up system that doesn’t permit reading this data.
I also enabled bedug log and cannot see message concerning object with ID 71-72-73, only with ID 5xx.
Is anyone using the same module ( f522 ) and collecting data?
Ciao Julien,
about the actuators I’m not sure, I checked installator manual of 4695 central unit (4 zone) and it is possible to configure actuators in the range 1-9. In my system number 2 and 3 are configured but I think this is something that can be changed for different systems.
@Betman, I suppose you also tried to call the appropriate service to get the sensor to send its instant power consumption, right?
It might be those do not send instant power since they seem to be designed for load control, but that would still be strange.
@federicoimg, thanks for the information This is a level of complexity that I won’t tackle right now, but I’ll keep it in mind for a future development!
Hi, yes, that would probably be your problem…
You’ll need to go to all gateways configured on the integration page and delete all of them to leave only one (does not matter which one).
Then restart and you should be good to go!
I still need to remove the mechanism that tries the default password automatically, it’s more trouble than it is worth in the end.
The #0 part should not be part of what is put in the configuration file.
The library splits this when receiving events, and the unique identifier for the device will always ignore what’s the # and whatever comes after.
Hi Julien,
I’m using your fantastic MyHome component for a month and it works fine.
But concerning the cover items it seems that you don’t support the optimistic attribute that allows to track automatically the cover state, depending on the command you send it.
Is it correct ?
Do you have any plan to support it?
Thanks in advance for your help
Unfortunately there is no real documentation about that attribute.
A short and not very clear description is here:
In my opinion, maybe it means that the cover entity could assume the state is close or open as soon as it receive the close or open command respectly, regardles if the cover is really in that state (an optimistic assumption).
I found a similar behavoiur in Homebridge that has the possbility to declare in an attribute the timing the shutter requires for closing. Based on that timing you can define a percentage of closure of the shutter, because the entity records automatically the timing of the command duration.
Do you think something like one of these features can be implemented?
From what I can see, that attribute is only present in the Template cover, not in the actual cover entity.
If Home Assistant plans to add a function supporting this in the cover entity, I’ll be glad to implement it.
I’m not planning, however, to add these functionalities if they are not supported in the wider Home Assistant system.