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

Switches not working in homebridge accessories #19

Open
ravibagri5 opened this issue Jan 21, 2025 · 1 comment
Open

Switches not working in homebridge accessories #19

ravibagri5 opened this issue Jan 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ravibagri5
Copy link

Describe The Bug:
I'm using Homebridge on RPi and I've installed the mentioned libraries amd also have disabled the pnat in Bluetooth configuration.
I can see my dim01 and dim02 device being discovered and added in Homebridge accessories.
However, nothing happens once you click them. I can't see anything failing in plugin logs.
Also, When i hit the bridge URL on port 38954 i get the "status": -70409

To Reproduce:

Expected behavior:
Lights should turn on/off when i click the accessorires. Or the plugin should produce some short of debug/error logs when something isn't working.

Logs:

[21/01/2025, 08:54:05] Homebridge v1.8.5 (HAP v0.12.3) (homebridge-plejd) is running on port 38954.
[21/01/2025, 08:54:05] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

Plugin Config:

{
    "username": "XXXXXX@gmail.com",
    "password": "XXXXXXX",
    "site": "XXXXX",
    "crypto_key": "XXXXXXX",
    "devices": [
        {
            "name": "Entrance Lights",
            "model": "DIM-01",
            "identifier": 16,
            "hidden": false
        },
        {
            "name": "TV Light",
            "model": "DIM-02",
            "identifier": 17,
            "hidden": false
        },
        {
            "name": "Window Light",
            "model": "DIM-02",
            "identifier": 18,
            "hidden": false
        }
    ],
    "_bridge": {
        "username": "0E:8E:EB:7B:9D:B5",
        "port": 38954
    },
    "platform": "Plejd"
}

Screenshots:

Environment:

  • Plugin Version: 1.6.2
  • Homebridge Version: 1.8.5
  • Node.js Version: v22.11.0
  • NPM Version: 10.9.0
  • Operating System: Debian ob Raspberry PI5 / Using hb-service
@ravibagri5 ravibagri5 added the bug Something isn't working label Jan 21, 2025
@Herlix
Copy link
Owner

Herlix commented Jan 24, 2025

Hi!

There are a few debug logs available in the current versions. Are you getting any output from those?

The devices are probably being picked up from the API. Talking to them is another issue. I'll update the logging in the next version to make is more clear what is going on without debug mode.

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