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

Commands are failed to send #85

Open
BastianZim opened this issue Jan 3, 2024 · 4 comments
Open

Commands are failed to send #85

BastianZim opened this issue Jan 3, 2024 · 4 comments
Assignees
Labels
Bug Something isn't working

Comments

@BastianZim
Copy link

Describe The Bug

The logs indicate that some commands cannot be sent

Expected behavior

No errors

Logs

[02/01/2024, 16:10:01] [Levoit Air Purifiers] Failed to send command setLevel to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[02/01/2024, 16:10:01] [Levoit Air Purifiers] Failed to send command setSwitch to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[02/01/2024, 19:00:02] [Levoit Air Purifiers] Failed to send command setSwitch to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle

Plugin Config

    {
        "name": "Levoit Air Purifiers",
        "email": "",
        "password": "",
        "experimentalFeatures": [
            "Humidifiers"
        ],
        "_bridge": {
            "username": "",
            "port":
        },
        "platform": "LevoitAirPurifiers"
    },

Plugin Version

v2.0.0

Homebridge Version

v1.7.0

Node.js Version

v20.10.0

NPM Version

NA

Operating System

Debian GNU/Linux Bullseye (11)

@BastianZim BastianZim added the Bug Something isn't working label Jan 3, 2024
@RaresAil
Copy link
Owner

What unit do you have?

@BastianZim
Copy link
Author

It's a Core200S

@kylekrajnyak
Copy link

kylekrajnyak commented Nov 16, 2024

Getting these errors as well.

@BastianZim — I see it's been nearly a year since you created this issue; are you still receiving these?

[11/16/2024, 1:36:31 AM] [Levoit Air Purifiers] Failed to send command setSwitch to Core 200S Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[11/16/2024, 6:22:43 AM] [Levoit Air Purifiers] Failed to send command setChildLock to Core 200S Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle

@BastianZim
Copy link
Author

BastianZim commented Nov 18, 2024

Yes, I'm still getting them. And these:

This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

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

3 participants