Socket
Socket
Sign inDemoInstall

homebridge-lg-airco

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0-beta4 to 0.1.1

2

package.json
{
"name": "homebridge-lg-airco",
"version": "0.1.0-beta4",
"version": "0.1.1",
"description": "Homebridge plugin to control a Smart Thinq enabled LG airco unit. Makes use of WideQ => https://github.com/sampsyo/wideq",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -40,3 +40,3 @@ # Homebridge Smart Thinq LG Airco

The initial state will be fetched shortly after booting your Homebridge instance.
The initial state will be fetched shortly after booting your Homebridge instance.
After that an update of the state is performed every minute.

@@ -49,10 +49,9 @@

## Setup guide
- Open a terminal on the device where you installed this plugin and type: `npm root -g`
- Navigate to the path that the previous command has printed out
- Enter the folder of the plugin to where the wideq files are: `cd homebridge-lg-airco/resources/wideq`
- Execute the command `python3 example.py -c country-code -l language-code -p path-to-homebridge-folder` where you should replace `country-code`, `language-code` and `path-to-homebridge-folder` with the respective values.
For example: `python3 example.py -c BE -l en-UK -p /home/pi/.homebridge`
- Open a terminal on the device where you installed this plugin and type: `cd "$(npm root -g)" && cd homebridge-lg-airco/resources/wideq`
- Your terminal should navigate to the folder, if any error comes up the plugin was not installed correctly!
- Execute the command `python3 example.py -c country-code -l language-code -p path-to-wideq-file-in-homebridge-folder` where you should replace `country-code`, `language-code` and `path-to-homebridge-folder` with the respective values.
For example: `python3 example.py -c BE -l en-UK -p /home/pi/.homebridge/wideq_state.json`
- Make sure the wideq_state.json does not exist yet! If the file is corrupted, delete it before executing the command again!
- Follow the instructions on the screen, and paste the resulting URL back into the terminal.

@@ -63,3 +62,3 @@ The command will now print out a list of all known devices for your account. If wanted select the one you want and paste the value in the `config.json` file at the `deviceId` field of the corresponding accessory definition.

This code makes use of the `WideQ` library, more information [here](https://github.com/sampsyo/wideq).
Some changes have been made to the included version of the WideQ library.
This code makes use of the `WideQ` library, more information [here](https://github.com/sampsyo/wideq).
Some changes have been made to the included version of the WideQ library.

@@ -6,3 +6,3 @@ import {API} from "homebridge";

export = (api: API) => {
api.registerAccessory(ACCESSORY_NAME, LgAirCoolerAccessory);
}
api.registerAccessory('homebridge-lg-airco', ACCESSORY_NAME, LgAirCoolerAccessory);
}
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