Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F422 BUS-BUS Interface #87

Open
stefanorossiitaly opened this issue Jun 4, 2023 · 20 comments
Open

F422 BUS-BUS Interface #87

stefanorossiitaly opened this issue Jun 4, 2023 · 20 comments

Comments

@stefanorossiitaly
Copy link

stefanorossiitaly commented Jun 4, 2023

When I use the 'Interface' #4# commands it doesn't show me the correct status of the lights.
While the button works, it does not change the status of the icon
The problem is more serious when you have 2 lights with the same 'where' code "A=01, PL=10" but one light is connected to #4# 01 for example and the other is connected below the F422 BUS-BUS module in the condominium backbone.
<configuration_identifier>:

for example
1 light:
who:
where: <0110>
interface: <01>
name:
manufacturer:
model:
2 light:
who:
where: <0110>
name:
manufacturer:
model:

in this case when you activate light 1 it turns on correctly but the icon remains off and light 2 does not turn on (correctly) but the icon turns on

@stefanorossiitaly
Copy link
Author

Senza titolo

@stefanorossiitaly
Copy link
Author

As can be seen in the image of the light, the icon is represented by a lightning bolt and does not change state when the button is pressed

@anotherjulien
Copy link
Owner

Can you show me the exact configuration you have for those lights? (in a code block, so the formatting is not lost)

@stefanorossiitaly
Copy link
Author

stefanorossiitaly commented Jun 7, 2023

what I am attaching is a small summary. where you see the interface set are separate zones. where I have not set the interface are shared zones under the F422 module

@anotherjulien
Copy link
Owner

Hmmm, the configuration looks perfectly fine.
Would you be able to collect and post debug logs of what happens when you turn on the light?

@trissinozarantonello73
Copy link

Goodmorning, same issue me too.

@stefanorossiitaly
Copy link
Author

stefanorossiitaly commented Jun 10, 2023 via email

@stefanorossiitaly
Copy link
Author

I attach the debug log. The problem is with light 6.6 interface 01 and light 6.6 shared with no interface. When I turn on or off the light with interface 01, the status of the icon does not change. if, on the other hand, I turn on or off the light without an interface, the status icon works. In my opinion, the problem exists in the configuration file loading phase because it displays a lightning bolt instead of light.

@stefanorossiitaly
Copy link
Author

@anotherjulien
Copy link
Owner

This is really strange, it looks like the interface was not extracted from the message.
Can you check that you are using the correct version of OWNd? (you can run pip show ownd from inside your home-assistant container to check)
It should be version 0.7.47

@stefanorossiitaly
Copy link
Author

I have never done this analysis. can you tell me what i have to do? I don't have access to all folders

@stefanorossiitaly
Copy link
Author

Senza titolo

@anotherjulien
Copy link
Owner

It depends on your install method.
Are you using HassOS?

@trissinozarantonello73
Copy link

Hello, i also have the same problem, i use HassOS. All the light/switch in secondary bus( interface 02 for me) show lightning icon.
Thankyou

@Bavop
Copy link

Bavop commented Dec 20, 2023

Same problem here, when defining the interface, the status is not retrieved from the light

@stefanorossiitaly
Copy link
Author

I believe there is an error when the flying #4#adress is evaluated.
From Bticino it receives #4#1 but the interface has an error and receives #4#01

@carferrer
Copy link

Hi and thanks for this great integration.

I have the same problem. Devices conected to interface "01" send the command but que icon on HA don't show if light is on or off. There is a solution?

@carferrer
Copy link

Hello. I've found a solution/workaround for not working with interface. I have done 2 changes in my system:

I'm going to make a pull request for both

@Bavop
Copy link

Bavop commented Mar 14, 2024

Hello. I've found a solution/workaround for not working with interface. I have done 2 changes in my system:

I'm going to make a pull request for both

Would love to see the code and update it in my installations

@carferrer
Copy link

Hello those are the changes:

Myhome
validate.py Line 164:
From: if type(v) == str and v.isdigit() and len(v) == 2:
To: if type(v) == str and v.isdigit() and len(v) == 1:
So you only use 1 digit for myhome.yaml.
#119

OWNd:
message.py Line 210:
From: if self._who in ["1", "2", "15"]
To: if self._who in [1,2,15]
Now the message return return the correct interface and entity.
anotherjulien/OWNd#6

Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants