
Research
/Security News
11 Malicious Go Packages Distribute Obfuscated Remote Payloads
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
tasmota-commands-http
Advanced tools
[](https://www.npmjs.com/package/tasmota-commands-http)
Control Tasmota devices with the http protocol.
npm install tasmota-commands-http
or yarn add tasmota-commands-http
const commands = new TasmotaCommandsHttp({ address: '127.0.0.1' });
// Power up the device
await commands.sendCommand('Control', 'Power0', 'on');
// Change light color to red
await commands.sendCommand('Light', 'Color', '255,0,0');
// Get current wifi light color
const color = await commands.sendCommand('Light', 'Color');
// Get current device state
const state = await commands.sendCommand('Management', 'State');
// Send any command with "Custom"
await commands.sendCommand('Custom', 'Sleep', 50);
Parameter | Required | Accepted values |
---|---|---|
address | yes | address of Tasmota device, without http:// or https:// |
username | no | string |
password | no | string |
and all tasmota-commands-core
parameters are supported.
Navigate to the project folder and install dependencies with yarn
yarn install
MIT
FAQs
[](https://www.npmjs.com/package/tasmota-commands-http)
The npm package tasmota-commands-http receives a total of 0 weekly downloads. As such, tasmota-commands-http popularity was classified as not popular.
We found that tasmota-commands-http demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).