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

[BUG] Single сhannel control is not working #2

Open
sou1t opened this issue Jun 18, 2020 · 8 comments
Open

[BUG] Single сhannel control is not working #2

sou1t opened this issue Jun 18, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@sou1t
Copy link

sou1t commented Jun 18, 2020

Single сhannel control is not working. The problem was found in ../functions/functionList.js. The listing skipped the line singleChannelControl: require (" ./ singleChannelControl.js ")
I tried to open a PR, but I do not have permissions...
Could you fix this bug? @haydendonald

@haydendonald
Copy link
Owner

Hi Thank you for reporting this issue, I’ll fix it asap when i get home!

I haven’t tested this feature so when i fix the issue can you just let me know how it works :)

Thanks

@haydendonald haydendonald added the bug Something isn't working label Jun 18, 2020
@sou1t
Copy link
Author

sou1t commented Jun 18, 2020

Ok, thanks, I will wait!

@haydendonald
Copy link
Owner

Hi sorry for the wait!
I have pushed version 1.6.1 which should add the functionality.
Please tell me if there are any issues as i cannot test this right now...

Thanks

@sou1t
Copy link
Author

sou1t commented Jun 19, 2020

Hello! Thank you for fixes!
I've tried and get another error:

here is a payload for hdl bus --
image

and in output I get an error:
"Error: invalid subnetId. An subnetId is expected to be a number between 0 and 254"

@haydendonald
Copy link
Owner

Hi
I cannot get this to give me the same error. Are you sending this to a bus node or device node? I ask as 1.6.1 and below do not support setting the subnetId and deviceId though the message, this has been added in 1.6.2.

I've tested offline with the following:

var msg = { 
    "payload": {
    "operate": "singleChannelControl",
    "mode": "set",
    "direction": "request",
    "subnetId": 1,
    "deviceId": 123,
    "data": {
        "channelNumber": 6,
        "channelLevel": 100,
        "runningTime": 0
    }
}};
return msg;

and have had it send successfully (since i'm offline no idea if it worked but it didn't error)

Let me know if that helps!

@Lexsus2020
Copy link

Lexsus2020 commented Sep 20, 2020

Hello
can you help me configure the HDL network forward
in the homekit device
how much will your work cost?

@Lexsus2020
Copy link

сам не могу разобраться

@haydendonald
Copy link
Owner

Hello
can you help me configure the HDL network forward
in the homekit device
how much will your work cost?

Hello @Lexsus2020
Are you asking for help using a single channel control with homekit?

This is possible i have a working solution for this on our server, however i cannot access it at the moment.

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