fhempy: tuya (lokal)

Begonnen von dominik, 26 April 2022, 19:12:25

Vorheriges Thema - Nächstes Thema

dominik

Testet bitte noch folgendes
sudo -u fhem bash
pip3 install -U tinytuya
python3 -m tinytuya scan


Danach sollte die Liste an Devices kommen in euren Netzwerk inkl. der Info welche Version 3.3 oder 3.4. Postet bitte die Ausgabe.

Solte so aussehen

TinyTuya (Tuya device scanner) [1.7.0]

Scanning on UDP ports 6666 and 6667 for devices (15 retries)...

Unknown v3.3 Device   Product ID = keymxkctp9ukgcvg  [Valid payload]:
    Address = 192.168.86.27,  Device ID = bf551825b5a36f5eexxxxx, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.86.27: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keyjup78v54myhan  [Valid payload]:
    Address = 192.168.86.28,  Device ID = bfb025e57319a673dxxxxx, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.86.28: DEVICE KEY required to poll for status
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

ZitatTestet bitte noch folgendes
Scanning on UDP ports 6666 and 6667 for devices (15 retries)...

Unknown v3.3 Device   Product ID = key7axydcvmea3x9  [Valid payload]:
    Address = 192.168.178.107,  Device ID = bfc5d2965589f02b5cxla9, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.107: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keyjup78v54myhan  [Valid payload]:
    Address = 192.168.178.99,  Device ID = bf7a36070c5531b25aubiy, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.99: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = key7axydcvmea3x9  [Valid payload]:
    Address = 192.168.178.104,  Device ID = bffcd6853d5c78d890twox, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.104: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keym9qkuywghyrvs  [Valid payload]:
    Address = 192.168.178.69,  Device ID = bfc0100ce21d5d7715kbjp, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.69: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = 35twetlejkkllta0  [Valid payload]:
    Address = 192.168.178.98,  Device ID = bf905cb6a14a43dbf9hhfu, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.98: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = key7axydcvmea3x9  [Valid payload]:
    Address = 192.168.178.108,  Device ID = bf3a16beb61c832bb19ycr, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.108: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = key7axydcvmea3x9  [Valid payload]:
    Address = 192.168.178.102,  Device ID = bf38db850cdcf1d3ackms3, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.102: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = key5ckdnys3pqgec  [Valid payload]:
    Address = 192.168.178.100,  Device ID = bf2f62ca78c544ff14bnmx, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.100: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = ozcdjaqrxauonq1f  [Valid payload]:
    Address = 192.168.178.91,  Device ID = bfa7a3c4073dbf8ff9ozuk, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.91: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keyjup78v54myhan  [Valid payload]:
    Address = 192.168.178.97,  Device ID = bf8ddd4db6e46b95cb3lad, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.97: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = t6ief6k56sapz1ey  [Valid payload]:
    Address = 192.168.178.90,  Device ID = 83652817dc4f22618a08, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.90: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = smignajbaljjp2wa  [Valid payload]:
    Address = 192.168.178.89,  Device ID = bf623c4459370bd192tywm, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.89: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keym9qkuywghyrvs  [Valid payload]:
    Address = 192.168.178.76,  Device ID = bf99d29dcdc176fbecfx9m, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.178.76: DEVICE KEY required to poll for status
                   
Scan Complete!  Found 13 devices.

>> Saving device snapshot data to snapshot.json

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/fhem/.local/lib/python3.10/site-packages/tinytuya/__main__.py", line 57, in <module>
    scanner.scan(color=color, forcescan=force)
  File "/opt/fhem/.local/lib/python3.10/site-packages/tinytuya/scanner.py", line 81, in scan
    devices(verbose=True, maxretry=maxretry, color=color, poll=True, forcescan=forcescan)
  File "/opt/fhem/.local/lib/python3.10/site-packages/tinytuya/scanner.py", line 431, in devices
    with open(SNAPSHOTFILE, "w") as outfile:
PermissionError: [Errno 13] Permission denied: 'snapshot.json'


Eigenartig: In der Aufstellung fehlen Devices.
Laut meinem Fhem scan "found 32 devices, start local scan..."
Nach dieser Anzeige zeigt Fhem "13 devices found localy" an

dominik

Funktionieren diese 13 Devices mit fhempy?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ChrisA4

Bei mir kommt folgendes:


TinyTuya (Tuya device scanner) [1.7.0]

Scanning on UDP ports 6666 and 6667 for devices (15 retries)...

Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.148,  Device ID = bf2c81700c9d962d96bxsj, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.148: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = z09KPPo1BEvJTua4  [Valid payload]:
    Address = 192.168.1.28,  Device ID = 21320014a4cf12eb2408, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.28: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = fvjbqt0r31vaxaf4  [Valid payload]:
    Address = 192.168.1.43,  Device ID = bf60f994ba65089eea3k2g, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.43: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.169,  Device ID = bf2deed618aaf0834bplav, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.169: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.89,  Device ID = bf4a23f4f8a190e7cb8ytf, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.89: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.199,  Device ID = bfd6f8368a299a33c66ziz, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.199: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.118,  Device ID = bf5249863250b4bdd3jpx8, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.118: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.174,  Device ID = bf4ff99fe700de582025jo, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.174: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.90,  Device ID = bfe8664488739843aaiudq, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.90: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.136,  Device ID = bf8a37bcac0c0dfb68e0zd, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.136: DEVICE KEY required to poll for status
Unknown v3.4 Device   Product ID = keyjup78v54myhan  [Valid payload]:
    Address = 192.168.1.20,  Device ID = bfe228e744139622177nrz, Local Key = ,  Version = 3.4, MAC =
    No Stats for 192.168.1.20: DEVICE KEY required to poll for status
Unknown v3.4 Device   Product ID = keyjup78v54myhan  [Valid payload]:
    Address = 192.168.1.19,  Device ID = bffd0c7e5b7aea4199jaaz, Local Key = ,  Version = 3.4, MAC =
    No Stats for 192.168.1.19: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.121,  Device ID = bfaace0990fdcdadebpxnf, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.121: DEVICE KEY required to poll for status
Unknown v3.4 Device   Product ID = keyjup78v54myhan  [Valid payload]:
    Address = 192.168.1.21,  Device ID = bf5f5e83e3cba769c9oia2, Local Key = ,  Version = 3.4, MAC =
    No Stats for 192.168.1.21: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.122,  Device ID = bf4264b6f6b3c5fa8fztz6, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.122: DEVICE KEY required to poll for status
Unknown v3.3 Device   Product ID = keya4gvchmtapm8n  [Valid payload]:
    Address = 192.168.1.72,  Device ID = bfeb362a7007656081x09j, Local Key = ,  Version = 3.3, MAC =
    No Stats for 192.168.1.72: DEVICE KEY required to poll for status

Scan Complete!  Found 16 devices.

>> Saving device snapshot data to snapshot.json

Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/fhem/.local/lib/python3.9/site-packages/tinytuya/__main__.py", line 57, in <module>
    scanner.scan(color=color, forcescan=force)
  File "/opt/fhem/.local/lib/python3.9/site-packages/tinytuya/scanner.py", line 81, in scan
    devices(verbose=True, maxretry=maxretry, color=color, poll=True, forcescan=forcescan)
  File "/opt/fhem/.local/lib/python3.9/site-packages/tinytuya/scanner.py", line 431, in devices
    with open(SNAPSHOTFILE, "w") as outfile:
PermissionError: [Errno 13] Permission denied: 'snapshot.json'
fhem@fhem:/home/pi$


mit der der ip 28 ist die klima die nicht mehr steuern geht

mit der ip 19,20,21 sind die nous a1 die auch nicht gehn bzw auf Initializing stehn

dominik

Ok, die Klima sollte gehen, die anderen sind V3.4 und gehen daher vorerst nicht.
Prüfe bitte ob die Klima in Fhem noch die richtige IP hat, ob sich die eh nicht geändert hat.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ChrisA4

#230
Zitat von: dominik am 01 Oktober 2022, 09:47:51
Ok, die Klima sollte gehen, die anderen sind V3.4 und gehen daher vorerst nicht.
Prüfe bitte ob die Klima in Fhem noch die richtige IP hat, ob sich die eh nicht geändert hat.

geht leider nicht, ip stimmt
steht nur auf error und initializing

siehe anhang

Sommerfeld

ZitatFunktionieren diese 13 Devices mit fhempy?
Nein, nicht alle, s.:
Stecker-SilverCrest-Hub-Ueberwachung funktioniert
Kamera-TUYA-PC-192-168-178-98 Initializing
Stecker-Homatic-Hub    Initializing Command not available for this device
Gassensor Initializing
Gaestezimmervorhang Initializing Command not available for this device
Emma-Saugroboter Initializing
Motorrad-Ladestation-Carport funktioniert nicht Keine state Aktualisierungf
Fritzphone-Ladestation-Schlafzimmer funktioniert
Wechselschalter-Flur-EG-rechts funktioniert
Wechselschalter-Flur-EG-links funktioniert
Wechselschalter-Flur-OG-links funktioniert
Wechselschalter-Treppenhaus-oben funktioniert
Wechselschalter-Treppenhaus-unten funktioniert

dominik

Zitat von: ChrisA4 am 01 Oktober 2022, 10:53:32
geht leider nicht, ip stimmt
steht nur auf error und initializing

siehe anhang
Poste bitte das fhempy Log mit den Einträgen von der Klima bei einem fhempy Neustart.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: Sommerfeld am 01 Oktober 2022, 14:56:06
Nein, nicht alle, s.:
Stecker-SilverCrest-Hub-Ueberwachung funktioniert
Kamera-TUYA-PC-192-168-178-98 Initializing
Stecker-Homatic-Hub    Initializing Command not available for this device
Gassensor Initializing
Gaestezimmervorhang Initializing Command not available for this device
Emma-Saugroboter Initializing
Motorrad-Ladestation-Carport funktioniert nicht Keine state Aktualisierungf
Fritzphone-Ladestation-Schlafzimmer funktioniert
Wechselschalter-Flur-EG-rechts funktioniert
Wechselschalter-Flur-EG-links funktioniert
Wechselschalter-Flur-OG-links funktioniert
Wechselschalter-Treppenhaus-oben funktioniert
Wechselschalter-Treppenhaus-unten funktioniert

Ok, probieren wir mal eines nach dem anderen. Poste bitte die Fehler im fhempy Log von Kamera-TUYA-PC-192-168-178-98 und ein list von diesem Device.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

ZitatPoste bitte die Fehler im fhempy Log von Kamera-TUYA-PC-192-168-178-98
Es gibt keine Meldungen im fhempy Log.
Das List von der Kamera:
Internals:
   .AttrList  tuya_spec_functions tuya_spec_status IODev:local_pybinding event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading
   .FhemMetaInternals 1
   DEF        tuya 35twetlejkkllta0 bf905cb6a14a43dbf9hhfu 192.168.178.98 f9ea8d1efc541ead 3.3 1234..... 1234....
   DEVICEID   bf905cb6a14a43dbf9hhfu
   FHEMPYTYPE tuya
   FUUID      627cbedf-f33f-3b5c-2b13-1b1d0aca77ec9295
   FVERSION   10_fhempy.pm:0.182830/2019-01-16
   IODev      local_pybinding
   NAME       Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu
   NR         1198
   PYTHONTYPE tuya
   STATE      Initializing...
   TYPE       fhempy
   eventCount 149
   .attraggr:
   .attrminint:
   READINGS:
     2022-05-12 10:01:37   active_time     1644234172
     2022-05-13 03:34:14   basic_flip      off
     2022-05-13 03:34:14   basic_indicator on
     2022-05-13 03:34:14   basic_nightvision 0
     2022-05-13 03:34:14   basic_osd       on
     2022-05-12 10:01:37   biz_type        0
     2022-05-12 10:01:37   category        sp
     2022-05-12 10:01:37   create_time     1644234172
     2022-07-17 16:47:27   decibel_sensitivity 0
     2022-07-17 16:47:27   decibel_switch  off
     2022-05-17 04:00:40   dp_101          1
     2022-05-17 04:00:40   dp_103          0
     2022-05-17 04:00:40   dp_104          1
     2022-05-17 04:00:41   dp_106          1
     2022-05-17 04:00:41   dp_108          0
     2022-05-17 04:00:41   dp_109          0|0|0
     2022-05-17 04:00:41   dp_110          5
     2022-05-17 04:00:41   dp_134          0
     2022-05-17 04:00:42   dp_139          0
     2022-05-17 04:00:42   dp_140          0
     2022-05-17 04:00:42   dp_150          1
     2022-05-17 04:00:42   dp_151          2
     2022-05-17 04:00:42   dp_168          0
     2022-05-17 04:00:42   dp_254          192.168.178.98
     2022-05-17 04:00:42   dp_255          0
     2022-05-12 10:01:37   icon            smart/icon/ay1525342462043yjwZs/e9af8e6817e79859b119a322895ffc0b.png
     2022-05-12 10:01:37   id              bf905cb6a14a43dbf9hhfu
     2022-05-12 10:01:37   ip              93.203.85.174
     2022-05-12 10:01:37   lat             52.8048
     2022-05-12 10:01:37   local_key       f9ea8d1efc541ead
     2022-05-12 10:01:37   lon             13.0448
     2022-05-12 10:01:37   model           Überwachungskamera
     2022-07-17 16:47:27   motion_area_switch off
     2022-05-13 03:34:14   motion_sensitivity 1
     2022-08-12 04:02:59   motion_switch   off
     2022-05-13 03:34:14   movement_detect_pic eyJidWNrZXQiOiJ0eS1ldS1zdG9yYWdlMzAiLCJmaWxlcyI6W1siLzZjOTJkNS0xNTQ4NzQ3Ni10dXlhYjcyNTA0NWJmZTE0OTg2Zi9kZXRlY3QvMTY0NDI1ODQxMC5qcGVnP3BhcmFtPWlvYW5KV3p3T3ovKzF1QzFDMTBYMFZYdjcwdHZXNTlZYXpobmtZSmdMNUE9IiwiIl1dLCJ2IjoiMy4wIn0=
     2022-05-12 10:01:37   name            Wohnzimmerkamera
     2022-10-01 17:24:18   online          0
     2022-05-12 10:01:37   owner_id        15487476
     2022-05-12 10:01:37   product_id      35twetlejkkllta0
     2022-10-01 08:34:49   product_name    ZX-5110
     2022-05-13 03:34:14   ptz_stop        on
     2022-07-17 16:47:27   record_mode     2
     2022-07-17 16:47:27   record_switch   on
     2022-05-13 03:34:14   sd_format       false
     2022-05-13 03:34:14   sd_status       0.5
     2022-05-13 03:34:14   sd_storge       0|0|0
     2022-10-01 08:34:48   state           Initializing...
     2022-05-12 10:01:37   sub             0
     2022-05-12 10:01:37   time_zone       +01:00
     2022-05-12 10:01:37   uid             eu1598817427882BAzmt
     2022-05-12 10:01:37   update_time     1644242210
     2022-05-12 10:01:37   uuid            tuyab725045bfe14986f
   args:
     Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu
     fhempy
     tuya
     35twetlejkkllta0
     bf905cb6a14a43dbf9hhfu
     192.168.178.98
     f9ea8d1efc541ead
     3.3
     fq83awrvav6glwxl28ed
     59327720c0834b8d8d4bc010f9b9a072
   argsh:
   helper:
     bm:
       fhempy_Attr:
         cnt        1
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        01.10. 08:35:27
         max        0.00529909133911133
         tot        0.00529909133911133
         mAr:
           set
           Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu
           alias
           Wohnzimmerkamera
       fhempy_Get:
         cnt        3
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        01.10. 14:34:10
         max        0.00382900238037109
         tot        0.0111401081085205
         mAr:
           HASH(0x55ee65e81598)
           ARRAY(0x55ee6ada2fc0)
           HASH(0x55ee69fc1a90)
       fhempy_Set:
         cnt        420
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        01.10. 14:34:10
         max        0.0880889892578125
         tot        2.80324268341064
         mAr:
           HASH(0x55ee65e81598)
           ARRAY(0x55ee69b23470)
           HASH(0x55ee6924a350)
   hmccu:
Attributes:
   alias      Wohnzimmerkamera
   devStateIcon online:it_wifi@green offline:it_wifi@red
   dp_139     decibel_switch
   dp_140     decibel_sensitivity
   dp_150     record_switch
   dp_151     record_mode
   dp_168     motion_area_switch
   group      tuya
   icon       it_camera@red
   room       02_0_EG->02_4_EG_Wohnzimmer,Tuya
   tuya_spec_functions [{'code': 'basic_indicator', 'dp_id': 101, 'type': 'Boolean', 'values': '{}', 'desc': 'basic indicator'}, {'code': 'basic_flip', 'dp_id': 103, 'type': 'Boolean', 'values': '{}', 'desc': 'basic flip'}, {'code': 'basic_osd', 'dp_id': 104, 'type': 'Boolean', 'values': '{}', 'desc': 'basic osd'}, {'code': 'motion_sensitivity', 'dp_id': 106, 'type': 'Enum', 'values': '{"range":["0","1","2"]}', 'desc': 'motion sensitivity'}, {'code': 'basic_nightvision', 'dp_id': 108, 'type': 'Enum', 'values': '{"range":["0","1","2"]}', 'desc': 'basic nightvision'}, {'code': 'sd_format', 'dp_id': 111, 'type': 'Boolean', 'values': '{}', 'desc': 'sd format'}, {'code': 'ptz_stop', 'dp_id': 116, 'type': 'Boolean', 'values': '{}', 'desc': 'ptz stop'}, {'code': 'ptz_control', 'dp_id': 119, 'type': 'Enum', 'values': '{"range":["1","2","3","4","5","6","7","0"]}', 'desc': 'ptz control'}, {'code': 'motion_switch', 'dp_id': 134, 'type': 'Boolean', 'values': '{}', 'desc': 'motion switch'}, {'code': 'decibel_switch', 'dp_id': 139, 'type': 'Boolean', 'values': '{}', 'desc': 'decibel switch'}, {'code': 'decibel_sensitivity', 'dp_id': 140, 'type': 'Enum', 'values': '{"range":["0","1"]}', 'desc': 'decibel sensitivity'}, {'code': 'record_switch', 'dp_id': 150, 'type': 'Boolean', 'values': '{}', 'desc': 'record switch'}, {'code': 'record_mode', 'dp_id': 151, 'type': 'Enum', 'values': '{"range":["1","2"]}', 'desc': 'record mode'}, {'code': 'motion_tracking', 'dp_id': 161, 'type': 'Boolean', 'values': '{}', 'desc': 'motion tracking'}, {'code': 'motion_area_switch', 'dp_id': 168, 'type': 'Boolean', 'values': '{}', 'desc': 'motion area switch'}, {'code': 'motion_area', 'dp_id': 169, 'type': 'String', 'values': '{"maxlen":255}', 'desc': 'motion area'}]
   tuya_spec_status [{'code': 'basic_indicator', 'dp_id': 101, 'type': 'Boolean', 'values': '{}'}, {'code': 'basic_flip', 'dp_id': 103, 'type': 'Boolean', 'values': '{}'}, {'code': 'basic_osd', 'dp_id': 104, 'type': 'Boolean', 'values': '{}'}, {'code': 'motion_sensitivity', 'dp_id': 106, 'type': 'Enum', 'values': '{"range":["0","1","2"]}'}, {'code': 'basic_nightvision', 'dp_id': 108, 'type': 'Enum', 'values': '{"range":["0","1","2"]}'}, {'code': 'sd_storge', 'dp_id': 109, 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'sd_status', 'dp_id': 110, 'type': 'Integer', 'values': '{"unit":"","min":1,"max":5,"scale":1,"step":1}'}, {'code': 'sd_format', 'dp_id': 111, 'type': 'Boolean', 'values': '{}'}, {'code': 'movement_detect_pic', 'dp_id': 115, 'type': 'Raw', 'values': '{}'}, {'code': 'ptz_stop', 'dp_id': 116, 'type': 'Boolean', 'values': '{}'}, {'code': 'sd_format_state', 'dp_id': 117, 'type': 'Integer', 'values': '{"unit":"","min":-20000,"max":20000,"scale":1,"step":1}'}, {'code': 'ptz_control', 'dp_id': 119, 'type': 'Enum', 'values': '{"range":["1","2","3","4","5","6","7","0"]}'}, {'code': 'motion_switch', 'dp_id': 134, 'type': 'Boolean', 'values': '{}'}, {'code': 'decibel_switch', 'dp_id': 139, 'type': 'Boolean', 'values': '{}'}, {'code': 'decibel_sensitivity', 'dp_id': 140, 'type': 'Enum', 'values': '{"range":["0","1"]}'}, {'code': 'decibel_upload', 'dp_id': 141, 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'record_switch', 'dp_id': 150, 'type': 'Boolean', 'values': '{}'}, {'code': 'record_mode', 'dp_id': 151, 'type': 'Enum', 'values': '{"range":["1","2"]}'}, {'code': 'motion_tracking', 'dp_id': 161, 'type': 'Boolean', 'values': '{}'}, {'code': 'motion_area_switch', 'dp_id': 168, 'type': 'Boolean', 'values': '{}'}, {'code': 'motion_area', 'dp_id': 169, 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'alarm_message', 'dp_id': 185, 'type': 'String', 'values': '{}'}

dominik

Ändern sich die Readings wenn du per SmartLife App etwas änderst?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

Nein, keine Änderung der Readings

Sommerfeld

Habe die Kamera gerade gelöscht und dann neu angelegt.
Jetzt kommer im Log Warnings.
2022-10-01 18:01:10,110 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_101 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,115 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_103 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,121 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_104 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,126 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_106 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,131 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_108 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,136 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_109 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,141 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_110 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,146 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_111 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,151 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_115 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,156 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_116 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,161 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_117 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,166 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_119 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,171 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_134 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,176 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_139 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,182 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_140 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,187 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_141 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,192 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_150 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,197 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_151 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,202 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_161 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,207 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_168 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,212 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_169 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,218 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_185 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,223 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_101 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,228 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_103 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,233 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_104 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,238 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_106 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,243 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_108 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,249 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_111 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,254 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_116 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,260 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_119 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,265 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_134 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,270 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_139 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,275 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_140 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,280 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_150 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,285 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_151 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,290 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_161 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,296 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_168 in spec but not found locally. This should be reported to TuYa
2022-10-01 18:01:10,301 - WARNING  - Wohnzimmerkamera_bf905cb6a14a43dbf9hhfu: dp_169 in spec but not found locally. This should be reported to TuYa

dominik

fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld