Skip to content

Update ble-shelly-dw.js #147

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Grappa2020
Copy link

original script won't control output 0, this fix it. suggesting to check other similar script

original script won't control output 0, this fix it.
suggesting to check other similar script
Copy link
Collaborator

@taulfsime taulfsime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the condition for the actions will be hardcoded, if the script doesn't work the config parser should be checked, but not hardcoded the actions

@@ -224,6 +224,13 @@ function scanCB(ev, res) {
)
return;
let BTHparsed = ShellyBLUParser.getData(res);
// it will not work without this!!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actions are defined in the config located at the top of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants