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 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
  [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E332Q6Z)
@@ -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) => {