Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-syntex-magichome

Package Overview
Dependencies
Maintainers
1
Versions
423
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-syntex-magichome - npm Package Compare versions

Comparing version 1.2.4-b15 to 1.2.4-b16

4

package.json
{
"name": "homebridge-syntex-magichome",
"version": "1.2.4-b15",
"version": "1.2.4-b16",
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes",

@@ -15,3 +15,3 @@ "main": "index.js",

"color-convert": "^1.5.0",
"homebridge-syntex-dynamic-platform": "1.0.8-b27"
"homebridge-syntex-dynamic-platform": "1.0.8-b28"
},

@@ -18,0 +18,0 @@ "keywords": [

@@ -5,3 +5,3 @@ const { ColoredBulbService } = require('homebridge-syntex-dynamic-platform');

module.exports = class LightBulb extends ColoredBulbService
module.exports = class SynTexColoredBulbService extends ColoredBulbService
{

@@ -130,3 +130,3 @@ constructor(homebridgeAccessory, deviceConfig, serviceConfig, manager)

{
this.DeviceManager.getDevice(this, (state) => {
this.DeviceManager.getState(this, (state) => {

@@ -174,3 +174,3 @@ if(state.value != null && !isNaN(state.value))

{
this.DeviceManager.getDevice(this, (state) => {
this.DeviceManager.getState(this, (state) => {

@@ -217,3 +217,3 @@ if(state.hue != null && !isNaN(state.hue))

{
this.DeviceManager.getDevice(this, (state) => {
this.DeviceManager.getState(this, (state) => {

@@ -260,3 +260,3 @@ if(state.saturation != null && !isNaN(state.saturation))

{
this.DeviceManager.getDevice(this, (state) => {
this.DeviceManager.getState(this, (state) => {

@@ -263,0 +263,0 @@ if(state.brightness != null && !isNaN(state.brightness))

@@ -5,3 +5,3 @@ const { SwitchService } = require('homebridge-syntex-dynamic-platform');

module.exports = class PresetSwitch extends SwitchService
module.exports = class SynTexPresetSwitchService extends SwitchService
{

@@ -8,0 +8,0 @@ constructor(homebridgeAccessory, deviceConfig, serviceConfig, manager)

const { SwitchService } = require('homebridge-syntex-dynamic-platform');
module.exports = class SceneSwitch extends SwitchService
module.exports = class SynTexSceneSwitchService extends SwitchService
{

@@ -5,0 +5,0 @@ constructor(homebridgeAccessory, deviceConfig, serviceConfig, manager)

@@ -12,3 +12,3 @@ const cp = require('child_process'), path = require('path'), convert = require('color-convert');

getDevice(service, callback)
getState(service, callback)
{

@@ -49,3 +49,3 @@ this.executeCommand(service.ip, '-i', (offline, output) => {

getDevices(ips, callback)
getStates(ips, callback)
{

@@ -115,3 +115,3 @@ this.executeCommand(ips, '-i', (error, output) => {

this.getDevices(ips.join(' '), (states) => {
this.getStates(ips.join(' '), (states) => {

@@ -118,0 +118,0 @@ for(const ip in states)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc