Socket
Socket
Sign inDemoInstall

homebridge-multiswitcheroo

Package Overview
Dependencies
60
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

10

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
## [1.0.3] - 2023-07-29
### Changed
- Changed default `manufacturer` and `model`
(If you do not like them change them in your config).
- Added ChatGPT note to `README.md` file
### Fixed
- Errors in `README.md`
## [1.0.2] - 2023-07-27

@@ -5,0 +15,0 @@ ### Changed

4

index.js

@@ -21,4 +21,4 @@ const request = require('request');

this.statusPattern = config.statusPattern || /1/;
this.manufacturer = config.manufacturer || 'Default Manufacturer';
this.model = config.model || 'Default Model';
this.manufacturer = config.manufacturer || 'iSteve-O';
this.model = config.model || 'MultiSwitcheroo';
this.serialNumber = config.serialNumber || this.name;

@@ -25,0 +25,0 @@ this.switchService = new Service.Switch(this.name);

{
"name": "homebridge-multiswitcheroo",
"displayName": "MultiSwitcheroo",
"version": "1.0.2",
"version": "1.0.3",
"author": "iSteve-O",
"description": "User defined switches for http requests. Simple on/off or multiswitch on/off. Useful for lights, A/V systems, home automation, and includes live status polling!",
"description": "User defined switches for http GET requests. Simple on/off or multiswitch on/off. Useful for lights, A/V systems, home automation, and includes live status polling!",
"license": "MIT",

@@ -8,0 +8,0 @@ "homepage": "https://github.com/iSteve-O/homebridge-multiswitcheroo",

@@ -29,3 +29,3 @@ <p align="left">

The `manufacturer`, `model`, and `serialNumber` are all optional, but it is best to set them. Controller for HomeKit will throw errors about duplicate serial numbers if you have multiple devices using `DEFAULT-SERIAL`.
The `manufacturer`, `model`, and `serialNumber` are all optional, but it is best to set them. Controller for HomeKit will throw errors about duplicate serial numbers if you have multiple devices using `DEFAULT-SERIAL`. Plus, it's fun to set these with your name!

@@ -82,3 +82,3 @@ Currently only built to support the `GET` http method.

The `statusPattern` is a regular expression string (regexp) sought in the response from the server to get an accurate status for each switch (see the `Mute` switch in the `MultiSwitcheroo` config example below for a really good example of a complex pattern where an unknown number is present in the string).
The `statusPattern` is a regular expression string (regexp) sought in the response from the server to get an accurate status for each switch (see the `Mute` switch in the `MultiSwitcheroo` config example above for a really good example of a complex pattern where an unknown number is present in the string).

@@ -139,1 +139,4 @@ Set the `onUrl` & `offUrl` as appropriate. Must be the full URL, including `http://` & port.

3. Update your config file
### This plugin was generated by ChatGPT.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc