eufy-security-client 3.7.2-dev.3 → 3.7.2-dev.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.
- package/README.md +6 -0
- package/build/eufysecurity.js +10 -0
- package/build/eufysecurity.js.map +1 -1
- package/build/http/device.d.ts +1 -0
- package/build/http/device.js +5 -0
- package/build/http/device.js.map +1 -1
- package/build/http/station.js +3 -3
- package/build/http/station.js.map +1 -1
- package/coverage/clover.xml +1860 -1858
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +17 -17
- package/coverage/lcov.info +4894 -4886
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,12 @@ The development of this shared library was inspired by the work of the following
|
|
|
23
23
|
|
|
24
24
|
Credits go to them as well.
|
|
25
25
|
|
|
26
|
+
## Unknown device?
|
|
27
|
+
|
|
28
|
+
If you see a `New unknown device detected` warning in your logs, your device is not yet supported. You can help us add support for it by [reporting it](https://github.com/bropat/eufy-security-client/issues/new?template=unknown_device.yml). See the [guide](docs/reporting_unknown_devices.md) for details on how to extract the log.
|
|
29
|
+
|
|
30
|
+
## Support
|
|
31
|
+
|
|
26
32
|
If you appreciate my work and progress and want to support me, you can do it here:
|
|
27
33
|
|
|
28
34
|
[](https://ko-fi.com/E1E332Q6Z)
|
package/build/eufysecurity.js
CHANGED
|
@@ -702,6 +702,16 @@ class EufySecurity extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
702
702
|
new_device = device_1.LockKeypad.getInstance(this.api, device, deviceConfig);
|
|
703
703
|
}
|
|
704
704
|
else {
|
|
705
|
+
logging_1.rootMainLogger.warn(`New unknown device detected`, {
|
|
706
|
+
device_type: device.device_type,
|
|
707
|
+
device_sn: device.device_sn,
|
|
708
|
+
device_name: device.device_name,
|
|
709
|
+
device_model: device.device_model,
|
|
710
|
+
station_sn: device.station_sn,
|
|
711
|
+
main_sw_version: device.main_sw_version,
|
|
712
|
+
main_hw_version: device.main_hw_version,
|
|
713
|
+
params: device.params,
|
|
714
|
+
});
|
|
705
715
|
new_device = device_1.UnknownDevice.getInstance(this.api, device, deviceConfig);
|
|
706
716
|
}
|
|
707
717
|
promises.push(new_device.then((device) => {
|