Skip to content

Commit

Permalink
repo updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Oct 19, 2024
1 parent 804b4e6 commit e1ac68b
Show file tree
Hide file tree
Showing 9 changed files with 1,504 additions and 1,106 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ See ⚠️ for breaking changes

### Fixed

- An issue initialising Wemo light switch devices ([#262](https://github.com/bwp91/homebridge-wemo/issues/262))
- An issue initialising Wemo light switch devices ([#262](https://github.com/homebridge-plugins/homebridge-wemo/issues/262))

## 3.2.0 (2021-07-07)

Expand Down Expand Up @@ -550,7 +550,7 @@ See ⚠️ for breaking changes

### Added

- Expose a Wemo Outlet as a _AirPurifier_ accessory type [[#257](https://github.com/bwp91/homebridge-wemo/issues/257)]
- Expose a Wemo Outlet as a _AirPurifier_ accessory type [[#257](https://github.com/homebridge-plugins/homebridge-wemo/issues/257)]

### Changed

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://github.com/bwp91/homebridge-wemo"><img alt="Homebridge Verified" src="https://user-images.githubusercontent.com/43026681/126868557-d0983348-d124-4247-bea9-7dcc62849cdf.png" width="600px"></a>
<a href="https://github.com/homebridge-plugins/homebridge-wemo"><img alt="Homebridge Verified" src="https://user-images.githubusercontent.com/43026681/126868557-d0983348-d124-4247-bea9-7dcc62849cdf.png" width="600px"></a>
</p>
<span align="center">

Expand All @@ -8,7 +8,7 @@
Homebridge plugin to integrate Wemo devices into HomeKit

[![npm](https://img.shields.io/npm/v/homebridge-wemo/latest?label=latest)](https://www.npmjs.com/package/homebridge-wemo)
[![npm](https://img.shields.io/npm/v/homebridge-wemo/beta?label=beta)](https://github.com/bwp91/homebridge-wemo/wiki/Beta-Version)
[![npm](https://img.shields.io/npm/v/homebridge-wemo/beta?label=beta)](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Beta-Version)

[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
[![hoobs-certified](https://badgen.net/badge/HOOBS/certified/yellow?label=hoobs)](https://plugins.hoobs.org/plugin/homebridge-wemo)
Expand All @@ -34,20 +34,20 @@ Homebridge plugin to integrate Wemo devices into HomeKit

### Setup

- [Installation](https://github.com/bwp91/homebridge-wemo/wiki/Installation)
- [Configuration](https://github.com/bwp91/homebridge-wemo/wiki/Configuration)
- [Installation](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Installation)
- [Configuration](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Configuration)
- [Beta Version](https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions)
- [Node Version](https://github.com/bwp91/homebridge-wemo/wiki/Node-Version)
- [Node Version](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Node-Version)

### Features

- [Supported Devices](https://github.com/bwp91/homebridge-wemo/wiki/Supported-Devices)
- [Supported Devices](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Supported-Devices)

### Help/About

- [Common Errors](https://github.com/bwp91/homebridge-wemo/wiki/Common-Errors)
- [Support Request](https://github.com/bwp91/homebridge-wemo/issues/new/choose)
- [Changelog](https://github.com/bwp91/homebridge-wemo/blob/latest/CHANGELOG.md)
- [Common Errors](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Common-Errors)
- [Support Request](https://github.com/homebridge-plugins/homebridge-wemo/issues/new/choose)
- [Changelog](https://github.com/homebridge-plugins/homebridge-wemo/blob/latest/CHANGELOG.md)
- [About Me](https://github.com/sponsors/bwp91)

### Credits
Expand Down
2 changes: 1 addition & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"pluginType": "platform",
"customUi": true,
"customUiPath": "./lib/homebridge-ui",
"headerDisplay": "<p align=\"center\"><img width=\"60%\" src=\"https://user-images.githubusercontent.com/43026681/126868557-d0983348-d124-4247-bea9-7dcc62849cdf.png\"></p><p align=\"center\">For help and support please visit our <a href=\"https://github.com/bwp91/homebridge-wemo/wiki\">GitHub Wiki</a>. We hope you find this plugin useful!</p>",
"headerDisplay": "<p align=\"center\"><img width=\"60%\" src=\"https://user-images.githubusercontent.com/43026681/126868557-d0983348-d124-4247-bea9-7dcc62849cdf.png\"></p><p align=\"center\">For help and support please visit our <a href=\"https://github.com/homebridge-plugins/homebridge-wemo/wiki\">GitHub Wiki</a>. We hope you find this plugin useful!</p>",
"singular": true,
"schema": {
"type": "object",
Expand Down
4 changes: 2 additions & 2 deletions lib/device/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import deviceMakerSwitch from './maker-switch.js'
import deviceMotion from './motion.js'
import deviceOutlet from './outlet.js'
import devicePurifier from './purifier.js'
import deviceSimPurifierInsight from './simulation/purifier-insight.js'
import deviceSimPurifier from './simulation/purifier.js'
import deviceSimSwitchInsight from './simulation/switch-insight.js'
import deviceSimPurifierInsight from './simulation/purifier-insight.js'
import deviceSimSwitch from './simulation/switch.js'
import deviceSimSwitchInsight from './simulation/switch-insight.js'

export default {
deviceCoffee,
Expand Down
2 changes: 1 addition & 1 deletion lib/fakegato/fakegato-history.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { format as Format } from 'node:util'
import { Buffer } from 'node:buffer'
import { format as Format } from 'node:util'
import FakeGatoStorage from './fakegato-storage.js'
import FakeGatoTimer from './fakegato-timer.js'
import { toLongFormUUID, toShortFormUUID } from './uuid.js'
Expand Down
14 changes: 7 additions & 7 deletions lib/homebridge-ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
<h4>Setup</h4>
<ul>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/wiki/Installation" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/wiki/Installation" target="_blank"
>Installation</a
>
</li>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/wiki/Configuration" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/wiki/Configuration" target="_blank"
>Configuration</a
>
</li>
Expand All @@ -96,33 +96,33 @@ <h4>Setup</h4>
>
</li>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/wiki/Node-Version" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/wiki/Node-Version" target="_blank"
>Node Version</a
>
</li>
</ul>
<h4>Features</h4>
<ul>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/wiki/Supported-Devices" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/wiki/Supported-Devices" target="_blank"
>Supported Devices</a
>
</li>
</ul>
<h4>Help/About</h4>
<ul>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/wiki/Common-Errors" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/wiki/Common-Errors" target="_blank"
>Common Errors</a
>
</li>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/issues/new/choose" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/issues/new/choose" target="_blank"
>Support Request</a
>
</li>
<li>
<a href="https://github.com/bwp91/homebridge-wemo/blob/latest/CHANGELOG.md" target="_blank"
<a href="https://github.com/homebridge-plugins/homebridge-wemo/blob/latest/CHANGELOG.md" target="_blank"
>Changelog</a
>
</li>
Expand Down
6 changes: 3 additions & 3 deletions lib/platform.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { createServer } from 'node:http'
import { createRequire } from 'node:module'
import { networkInterfaces } from 'node:os'
import { URL as url } from 'node:url'
import process from 'node:process'
import { URL as url } from 'node:url'
import axios from 'axios'
import ip from 'ip'
import nodeSSDP from 'node-ssdp'
Expand Down Expand Up @@ -373,7 +373,7 @@ export default class {
this.ignoredDevices.includes(accessory.context.serialNumber.toUpperCase())
|| this.config.removeByName === accessory.displayName
|| (this.config.mode === 'semi'
&& !cacheSerialsToConnect.includes(accessory.context.serialNumber))
&& !cacheSerialsToConnect.includes(accessory.context.serialNumber))
) {
this.removeAccessory(accessory)
return
Expand Down Expand Up @@ -545,7 +545,7 @@ export default class {
if (
this.config.mode === 'auto'
|| (this.config.mode === 'semi'
&& (cacheSerialsToConnect.length > 0 || existSerialsToConnect.length > 0))
&& (cacheSerialsToConnect.length > 0 || existSerialsToConnect.length > 0))
) {
// Remove all previous listeners as we don't want duplications on each interval
ssdpClient.removeAllListeners('response')
Expand Down
Loading

0 comments on commit e1ac68b

Please sign in to comment.