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

integration: homekit_controller #121459

Closed
Gamlind opened this issue Jul 7, 2024 · 6 comments
Closed

integration: homekit_controller #121459

Gamlind opened this issue Jul 7, 2024 · 6 comments

Comments

@Gamlind
Copy link

Gamlind commented Jul 7, 2024

The problem

Evehome Eve Room Air quality sensor (VOC) shows constant value, Hardware works with apple Tv and Apple home without problems and showing plausible changing values for Air quality and VOC.

After deleting connection with apple Home and pairing with Home assistant value of VOC is frozen at 65535

What version of Home Assistant Core has the issue?

2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Homekit Device

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Jul 7, 2024

Hey there @Jc2k, @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit_controller) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of homekit_controller can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign homekit_controller Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homekit_controller documentation
homekit_controller source
(message by IssueLinks)

@Jc2k
Copy link
Member

Jc2k commented Jul 7, 2024

Can you turn on the signal strength sensor and post a screenshot of its graph after a few hours?

Any errors in your log? If not, can you enable debug logs for the integration, run it for an hour and then post them.

@Gamlind
Copy link
Author

Gamlind commented Jul 8, 2024

Many thanks for your very fast response !

I have not found a signal strength at the eve home device which i can activate. (not in eve app, or apple home, not in the home assistant integration).

I have a lot of entity in my apple Homekit bridge (maybe these is disturbing the communication ?)

I have following messages in the logfile after activating logging at the homekit device integration

seatconnect (should be a other issue)

This error originated from a custom integration.

Logger: seatconnect.connection
Source: custom_components/seatconnect/init.py:796
integration: Seat Connect (documentation, issues)
First occurred: 08:07:50 (103 occurrences)
Last logged: 10:25:34

Login failed, the terms and conditions might have been updated and need to be accepted. Login to https://my.seat/portal/ and accept the new terms before trying again

cam (other issue / should be reolink)

Logger: homeassistant.helpers.state
Source: helpers/state.py:58
First occurred: 09:51:32 (2 occurrences)
Last logged: 09:51:32

Integration camera does not support reproduce state
Integration siren does not support reproduce state

unknows

Logger: aiohomekit.controller.coap.pdu
Source: components/homekit_controller/connection.py:961
First occurred: 09:36:16 (2 occurrences)
Last logged: 09:50:18

Transaction 0 failed with error 6 (Invalid request

unknown

Logger: aiohomekit.controller.coap.connection
Source: components/homekit_controller/connection.py:961
First occurred: 09:35:14 (4 occurrences)
Last logged: 09:49:16

Decryption failed, desynchronized? Counter=124/125
Failed flailing attempts to resynchronize, self-destructing in 3, 2, 1...
Decryption failed, desynchronized? Counter=25/26

curl integration for shelly plug

Logger: homeassistant.components.shell_command
Source: /usr/src/homeassistant/homeassistant/components/shell_command/init.py:122
integration: Shell Command (documentation, issues)
First occurred: 08:46:09 (1 occurrences)
Last logged: 08:46:09

Error running command: curl -X POST -d '{"id":1,"method":"PLUGS_UI.SetConfig","params":{"config":{"leds":{"mode":"switch","colors":{"switch:0":{"on":{"rgb":[{{ states("sensor.calc_c_r_bright") }},{{ states("sensor.calc_c_g_bright") }},{{ states("sensor.calc_c_b_bright") }}],"brightness":[{{ states("input_number.set_colorplug_h") }}]},"off":{"rgb":[{{ states("sensor.calc_c_r_bright") }},{{ states("sensor.calc_c_g_bright") }},{{ states("sensor.calc_c_b_bright") }}],"brightness":100}},"power":{"brightness":100}},"night_mode":{"enable":false,"brightness":100,"active_between":["00:01","23:59"]}},"controls":{"switch:0":{"in_mode":"momentary"}}}}}' http://192.168.178.111/rpc, return code: 7
NoneType: None

the full log is quit long I have to deactivat some features (not well defined templates... ) to make it readable.

I will come back with a cleaner configuration.

Regards Thomas

@Jc2k
Copy link
Member

Jc2k commented Jul 8, 2024

Homekit bridge is a different integration and not related. It wouldn't impact us unless your network connection was reallly really bad, and lots of other things would be broken.

A homekit eve device cannot be in the apple apps and in home assistant. So if you have it in HA now, you won't find it in the Apple apps. (You can export it from HA back to homekit, but that's not the same thing and the eve app won't be able to fully control it or diagnose it or update firmware etc). The signal strength sensor is something that's in HA only, and it's only applicable to Bluetooth.

It looks like you have a homekit over thread device. It's not clear from the logs if it's the one we are talking about. But I can tell you that error indicates your mesh is unstable or the device has a weak connection to it.

I'll need the full logs to tell any more.

@Gamlind
Copy link
Author

Gamlind commented Jul 8, 2024

Hello

Thanks again

I have a

HOMEKIT DEVICE VIA APPLE THREAD BORDER ROUTER usage

  • yes, device is controllable eiher via eve app/ apple or after disconnect with that and pairing with ha over ha.
    (I reset the device and did the pairing process again to search for signal strenght options in the eve app).

I will come back with full log as soon as i have cleaned up my configuration.

Thanks Thomas

@Gamlind
Copy link
Author

Gamlind commented Jul 12, 2024

Hello

after cleaning up some configuration topics the problen disapeared, therefore sorry for bothering you with false alarms and not well prepared configuration.

I found out also a very fast data rate from the eve system for the voc value which seems much fast than previous maybe a firmware change on eve side (which have to be in the time i connected directly with eve and or apple home apps) have triggered the behaviour in combination with a not good configured HA System.

image

But finally it is not a ha problem therefore again sorry and topic can be closed / deleted.

Regards Gam

@Jc2k Jc2k closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants