homebridge-samsung-local 1.0.2 → 1.0.3
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.
- package/CHANGELOG.md +10 -2
- package/README.ar.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/homekit/acAccessory.js +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,17 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Versions follow [Semantic Versioning](https://semver.org/). Releases are published under the npm tag `latest`; pre-releases under `beta`.
|
|
4
4
|
|
|
5
|
+
## 1.0.3 — 2026-11-22
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- A name you give a tile in the Home app is kept through plugin updates, restarts and later name changes in the settings. Only resetting the accessory brings the settings name back. In 1.0.2, removing the "Local" suffix replaced such a name once, on the first start after the update.
|
|
9
|
+
|
|
10
|
+
### بالعربية
|
|
11
|
+
- الاسم الذي تضعه للجهاز من تطبيق Home يبقى كما هو بعد تحديث الإضافة وإعادة تشغيلها وبعد تغيير الاسم في الإعدادات، ويعود اسم الإعدادات عند إعادة ضبط الملحق فقط. في 1.0.2 كانت إزالة اللاحقة Local تستبدل هذا الاسم مرة واحدة عند أول تشغيل بعد التحديث.
|
|
12
|
+
|
|
5
13
|
## 1.0.2 — 2026-11-22
|
|
6
14
|
|
|
7
15
|
### Changed
|
|
8
|
-
- Accessories are named exactly as typed in the settings. The automatic "Local" suffix is gone. Existing accessories take the new name on the next restart
|
|
16
|
+
- Accessories are named exactly as typed in the settings. The automatic "Local" suffix is gone. Existing accessories take the new name on the next restart.
|
|
9
17
|
|
|
10
18
|
### Added
|
|
11
19
|
- A **Configuration** button on every configured appliance in the settings page. It opens the name and the "Shown in HomeKit" options directly, without running discovery again.
|
|
12
20
|
|
|
13
21
|
### بالعربية
|
|
14
22
|
- زر **الإعدادات** على كل جهاز في قائمة الأجهزة المضافة، يفتح الاسم وخيارات «ما يظهر في HomeKit» مباشرة دون إعادة الاكتشاف.
|
|
15
|
-
- يظهر اسم الجهاز كما تكتبه في الإعدادات تمامًا، وأُلغيت اللاحقة Local التلقائية. الأجهزة الحالية تأخذ الاسم الجديد عند إعادة
|
|
23
|
+
- يظهر اسم الجهاز كما تكتبه في الإعدادات تمامًا، وأُلغيت اللاحقة Local التلقائية. الأجهزة الحالية تأخذ الاسم الجديد عند إعادة التشغيل.
|
|
16
24
|
|
|
17
25
|
## 1.0.1 — 2026-11-22
|
|
18
26
|
|
package/README.ar.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
[English](README.md)
|
|
13
13
|
|
|
14
|
-
> **الحالة: 1.0.
|
|
14
|
+
> **الحالة: 1.0.3.** تعمل على مكيف حقيقي واحد (`ARTIK051_PRAC_20K`، و Homebridge داخل Docker على Raspberry Pi). بقية الموديلات وأنواع الأجهزة لم تتأكد بعد. راجع [ما تم اختباره](#ما-تم-اختباره).
|
|
15
15
|
> مشروع غير رسمي، وليس تابعًا لشركة Samsung أو معتمدًا منها. ليس إضافة Homebridge Verified.
|
|
16
16
|
|
|
17
17
|
## ما الذي يقدمه
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ No SmartThings API subscription, no Home Assistant, no HACS, no MQTT.
|
|
|
9
9
|
|
|
10
10
|
[العربية](README.ar.md)
|
|
11
11
|
|
|
12
|
-
> **Status: 1.0.
|
|
12
|
+
> **Status: 1.0.3.** Running on one real air conditioner (`ARTIK051_PRAC_20K`, Homebridge in Docker on a Raspberry Pi). Other models and appliance types are unconfirmed. See [What has been tested](#what-has-been-tested).
|
|
13
13
|
> Unofficial project. Not affiliated with, endorsed by or supported by Samsung. Not a Homebridge Verified plugin.
|
|
14
14
|
|
|
15
15
|
## What it does
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-samsung-local",
|
|
3
3
|
"displayName": "Samsung Local",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "Local, cloud-free control of Samsung SmartThings-compatible appliances (air conditioners first) over your home network. No SmartThings API subscription, no Home Assistant.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "index.js",
|
|
@@ -300,11 +300,17 @@ export class AcAccessory {
|
|
|
300
300
|
const T = Characteristic.TargetHeatingCoolingState;
|
|
301
301
|
const service = this.#service('thermostat', Service.Thermostat, this.displayName, true);
|
|
302
302
|
service.setPrimaryService(true);
|
|
303
|
-
//
|
|
304
|
-
//
|
|
303
|
+
// A name change made in the plugin settings is followed only while the
|
|
304
|
+
// tile still carries the name this plugin gave it. Once the user renames
|
|
305
|
+
// the tile in the Home app, that name is kept through updates and
|
|
306
|
+
// restarts; only resetting the accessory brings the settings name back.
|
|
305
307
|
if (this.context.appliedName !== this.displayName) {
|
|
306
|
-
service.
|
|
307
|
-
this.context.appliedName
|
|
308
|
+
const current = service.getCharacteristic(Characteristic.ConfiguredName).value;
|
|
309
|
+
const renamedInHome = this.context.appliedName !== undefined && current !== this.context.appliedName;
|
|
310
|
+
if (!renamedInHome) {
|
|
311
|
+
service.setCharacteristic(Characteristic.ConfiguredName, this.displayName);
|
|
312
|
+
this.context.appliedName = this.displayName;
|
|
313
|
+
}
|
|
308
314
|
}
|
|
309
315
|
|
|
310
316
|
const valid = [T.OFF];
|