@o-lukas/homebridge-smartthings-tv 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +8 -4
package/README.md CHANGED
@@ -31,8 +31,8 @@ If you don't use the [Homebridge Config UI X](https://github.com/oznu/homebridge
31
31
  "deviceMappings": [
32
32
  {
33
33
  "deviceId": "the SmartThings device ID",
34
- "macAddress": "the mac address of the device (needed for wake-on-lan functionality)",
35
- "ipAddress": "the ip address of the device (needed for ping functionality)"
34
+ "macAddress": "the mac address of the device (optionally needed for wake-on-lan functionality)",
35
+ "ipAddress": "the ip address of the device (optionally needed for ping functionality)"
36
36
  }
37
37
  ],
38
38
  "platform": "smartthings-tv"
@@ -42,6 +42,11 @@ If you don't use the [Homebridge Config UI X](https://github.com/oznu/homebridge
42
42
  }
43
43
  ```
44
44
 
45
+ For some TVs the SmartThings API acts kind of strange for the active state. The device mappings should only be used if your TV shows a strange active state or does not turn on.
46
+
47
+ - If the TV keeps being displayed as active eventhough it has been turned off add a device mapping containing the IP address. Then the plugin will try to ping your TV and display the ping result as active state of the TV.
48
+ - If it does not turn on add a device mapping containing the mac address. Then the plugin will use wake-on-lan to turn your TV on.
49
+
45
50
  ***
46
51
 
47
52
  Since this is my first plugin it may contain some problems. Feel free to create an issue or pull request and I will try to help and fix the problems.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Homebridge SmartThings TV",
3
3
  "name": "@o-lukas/homebridge-smartthings-tv",
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "description": "Plugin to access samsung TVs using the SmartThings API",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -32,17 +32,21 @@
32
32
  "television",
33
33
  "remote"
34
34
  ],
35
+ "funding": {
36
+ "type": "paypal",
37
+ "url": "https://paypal.me/00lukas"
38
+ },
35
39
  "dependencies": {
36
40
  "@smartthings/core-sdk": "^5.3.0",
37
41
  "ping": "^0.4.4",
38
42
  "wol": "^1.0.7"
39
43
  },
40
44
  "devDependencies": {
41
- "@types/node": "^18.15.3",
45
+ "@types/node": "^18.15.5",
42
46
  "@types/ping": "^0.4.1",
43
47
  "@types/wol": "^1.0.1",
44
- "@typescript-eslint/eslint-plugin": "^5.55.0",
45
- "@typescript-eslint/parser": "^5.55.0",
48
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
49
+ "@typescript-eslint/parser": "^5.56.0",
46
50
  "eslint": "^8.36.0",
47
51
  "homebridge": "^1.6.0",
48
52
  "nodemon": "^2.0.21",