This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- buttons to enter in the "Configure Module" settings of the OpenRTL8710b / OpenBeken software | |
| -- Once these are set and it has been rebooted, you can start Home Assistant discovery for MQTT | |
| PA0 - BL0937SEL --for power monitoring switching | |
| PA5 - Btn,1,2 --1 for the normal hardware button press. | |
| --2 could hypothetically perform some action on double-clicking | |
| PA12 - LED_n,1 --for button LED (inverted so off when power off) | |
| PA14 - BL0937CF --for power monitoring | |
| PA15 - BL0937CF1 --for power monitoring | |
| PA23 - Rel --for the relay itself |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| use: { | |
| // Browser options | |
| headless: false, // Default: true | |
| slowMo: 100, // in milliseconds, default: 0 | |
| //timeout: 60000, // Max time in milliseconds for browser to start. Default: 30000; Disable timeout: 0 | |
| //args: --disable-popup-blocking --disable-web-security // see https://peter.sh/experiments/chromium-command-line-switches/ for Chromium args | |
| //channel: 'msedge' // "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", "msedge-beta", "msedge-dev", "msedge-canary" | |
| //devtools: false, // true | false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch all tests 3 browsers", | |
| "request": "launch", | |
| "runtimeArgs": [ | |
| "run-script", | |
| "tests3x" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch all tests", | |
| "request": "launch", | |
| "runtimeArgs": [ | |
| "run-script", | |
| "tests" | |
| ], |