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

homekit device_id cannot be set #1103

Closed
mnakada opened this issue May 10, 2024 · 2 comments
Closed

homekit device_id cannot be set #1103

mnakada opened this issue May 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mnakada
Copy link

mnakada commented May 10, 2024

Even if the device_id of the homekit item in the config file is set, it is not reflected.
When trying to use multiple sets with different device_id, the device_id is set to the same value and the second or later set cannot be registered to the iPhone.

Could this be due to the fact that the struct tag in internal/homekit/homekit.go:25-30 is json?
I think that keys with underscores or capital letters are not recognised correctly.

go2rtc_linux_mipsel version: v1.9.1

Below is the go2rtc.yaml.

log:
  level: info
  api: warn
  exec: debug
  ngrok: info
  rtsp: warn
  streams: error
  webrtc: fatal
streams:
  video0:
  - rtsp://localhost:8554/video0_unicast

rtsp:
  listen: ""
 
homekit:
  video0:
    pin: 12345678
    name: "camera1"
    device_id: "AA:BB:CC:DD:EE:FF"
@AlexxIT AlexxIT added the bug Something isn't working label May 10, 2024
@AlexxIT AlexxIT self-assigned this May 10, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 10, 2024

Unfortunately, you're absolutely right. After the fix, anyone who changed these settings will need to re-add the cameras again.

@AlexxIT AlexxIT added this to the v1.9.2 milestone May 13, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 18, 2024

@AlexxIT AlexxIT closed this as completed May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants