Autor Thema: Lidl Zigbee Lampe  (Gelesen 311 mal)

Offline Caleus

  • Full Member
  • ***
  • Beiträge: 165
Lidl Zigbee Lampe
« am: 13 Dezember 2021, 20:23:01 »
Hallo Leute

Ich habe mir heute (13.12.2021) beim Lidl eine Lampe (E27, Zigbee) gekauft nun mein Problem: wenn ich über Putty zigbee2mqtt schaue wird mir beim Pair das gezeigt

-- Logs begin at Sat 2021-11-27 23:02:07 CET. --
Dez 13 20:06:24 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:24: Starting interview of '0x588e81fffeb43cda'
Dez 13 20:06:24 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:24: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x588e81fffeb43cda"},"type":"device_connected"}'
Dez 13 20:06:24 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:24: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x588e81fffeb43cda"},"type":"pairing"}'
Dez 13 20:06:24 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:24: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"0x588e81fffeb43cda"},"type":"device_announced"}'
Dez 13 20:06:26 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:26: MQTT publish: topic 'zigbee2mqtt/0x086bd7fffec84118', payload '{"away_mode":"OFF","battery":65,"child_lock":"UNLOCKED","current_heating_setpoint":"0.0","linkquality":47,"local_temperature":"19.3","preset":"manual","system_mode":"manual","valve_detection":"ON","window_detection":"ON"}'
Dez 13 20:06:26 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:26: MQTT publish: topic 'zigbee2mqtt/0x086bd7fffec84118', payload '{"away_mode":"OFF","battery":65,"child_lock":"UNLOCKED","current_heating_setpoint":"0.0","linkquality":47,"local_temperature":"19.3","preset":"manual","system_mode":"manual","valve_detection":"ON","window_detection":"ON"}'
Dez 13 20:06:26 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:26: MQTT publish: topic 'zigbee2mqtt/0x086bd7fffec84118', payload '{"away_mode":"OFF","battery":65,"child_lock":"UNLOCKED","current_heating_setpoint":"0.0","linkquality":42,"local_temperature":"19.3","preset":"manual","system_mode":"manual","valve_detection":"ON","window_detection":"ON"}'
Dez 13 20:06:27 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:27: Successfully interviewed '0x588e81fffeb43cda', device has successfully been paired
Dez 13 20:06:27 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:27: Device '0x588e81fffeb43cda' is supported, identified as: TuYa Light controller (TS0502A)
Dez 13 20:06:27 raspberrypi-4 npm[506]: Zigbee2MQTT:info  2021-12-13 20:06:27: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Light controller","friendly_name":"0x588e81fffeb43cda","model":"TS0502A","supported":true,"vendor":"TuYa"},"type":"pairing"}'

Schaue ich im FHEM wird mir folgendes angezeigt

2021-12-13 20:06:22 MQTT2_DEVICE MQTT2_zigbee_bridge meta_friendly_name: 0x588e81fffeb43cda
2021-12-13 20:06:22 MQTT2_DEVICE MQTT2_zigbee_bridge type: device_removed
2021-12-13 20:06:22 MQTT2_DEVICE MQTT2_zigbee_bridge message: left_network
2021-12-13 20:06:22 MQTT2_DEVICE MQTT2_zigbee_bridge message: left_network
2021-12-13 20:06:22 MQTT2_DEVICE MQTT2_zigbee_bridge type: device_removed
2021-12-13 20:06:22 MQTT2_DEVICE MQTT2_zigbee_bridge meta_friendly_name: 0x588e81fffeb43cda
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge type: device_connected
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge message_friendly_name: 0x588e81fffeb43cda
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge type: pairing
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge message: interview_started
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge meta_friendly_name: 0x588e81fffeb43cda
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge message: announce
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge type: device_announced
2021-12-13 20:06:24 MQTT2_DEVICE MQTT2_zigbee_bridge meta_friendly_name: 0x588e81fffeb43cda
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge meta_model: TS0502A
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge type: pairing
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge meta_supported: true
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge meta_friendly_name: 0x588e81fffeb43cda
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge meta_vendor: TuYa
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge meta_description: Light controller
2021-12-13 20:06:27 MQTT2_DEVICE MQTT2_zigbee_bridge message: interview_successful

Wenn ich nun versuche

define Kueche_licht MQTT2_DEVICE zigbee_0x588e81fffeb43cda

oder

define Kueche_licht MQTT2_DEVICE 0x588e81fffeb43cda

wird es angelegt, aber ich kann unter attrTemplate keine Lampe auswählen auch manuelles eintragen der daten bringt nichts, beim MQTT2_SERVER ist autocreate auf complex (habe auch simple versucht)

Ich denke das ich mal wieder den Wald vor lauter Bäume nicht sehe.
Caleus

Offline Beta-User

  • Developer
  • Hero Member
  • ****
  • Beiträge: 18341
Antw:Lidl Zigbee Lampe
« Antwort #1 am: 14 Dezember 2021, 10:03:54 »
Fragen:
a) Was hat das mit ZigBee zu tun? (In FHEM ist es ein MQTT2_DEVICE => MQTT-Bereich)
b) Welcher konkrete Zusammenhang besteht mit einem bestimmten Hersteller? Es ist m.E. einfach "irgendein" ZigBee-Leuchtmittel.

Die Lösung dürfte daher auch im Wiki zu finden sein:
Zitat
Geräte, die nicht automatisch etwas senden, kann man mit Hilfe des MQTT2_SERVER-Geräts einmalig schalten, damit diese ihren Status bzw. das erfolgreiche Schalten zurückmelden, Beispiel[3]: set MQTT2_FHEM_Server publish zigbee2mqtt/0x90fd9ffffe0bcd51/set {"state":"ON","brightness":60}
(https://wiki.fhem.de/wiki/Zigbee2mqtt#Vereinzeln_der_eigentlichen_Ger.C3.A4te)

Dann hat das Ding eine readingList, mit der es dann auch für mqtt2.template konfigurierbar wird...
Server: HP-T620@Debian 11, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files