Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

OSRAM PAR16 RGBW Z3 - Comportement étrange #136

Open
Bredin76 opened this issue Aug 29, 2020 · 3 comments
Open

OSRAM PAR16 RGBW Z3 - Comportement étrange #136

Bredin76 opened this issue Aug 29, 2020 · 3 comments

Comments

@Bredin76
Copy link

Bonjour,

Je ne sais pas si le souci vient de la zigate ou de HA donc je pose la question ici pour commencer:

Description du problème :
Cas 1 : L'ampoule s'allume Blanc => Mise en Bleu via Widget => elle bascule en bleu => Extinction de la lumière => elle s’éteint => allumage de la lumière - elle est bleu - ouverture du widget=> il indique rouge
Cas 2 : Réglage de la lumière pour la mettre en bleu - enregistrement d'une scène ( Scene HA et non ZIGATE) - elle bascule en rouge et la scène reproduit toujours du rouge.

JSON de l'ampoule

        {
            "addr": "b5e1",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "OSRAM",
                                    "name": "manufacturer",
                                    "value": "OSRAM"
                                },
                                {
                                    "attribute": 5,
                                    "data": "Plug 01",
                                    "name": "type",
                                    "type": "str",
                                    "value": "Plug 01"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
                                {
                                    "attribute": 6,
                                    "name": "datecode",
                                    "value": null
                                },
                                {
                                    "attribute": 7,
                                    "name": "power_source",
                                    "value": null
                                },
                                {
                                    "attribute": 18
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": false,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                }
                            ],
                            "cluster": 6
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1291
                                }
                            ],
                            "cluster": 2820
                        }
                    ],
                    "device": 16,
                    "endpoint": 3,
                    "in_clusters": [
                        4096,
                        0,
                        3,
                        4,
                        5,
                        6,
                        2820,
                        64527
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                }
            ],
            "generictype": "",
            "info": {
                "addr": "b5e1",
                "id": 42,
                "ieee": "7cb03eaa0a084841",
                "last_seen": "2020-08-29 09:59:28",
                "lqi": 93,
                "mac_capability": "10001110",
                "power_type": 1
            },
            "name": "Lumi\u00e8re du salon"
        },

Code de la scène

- id: '1598689871024'
  name: test bleu
  entities:
    light.zigate_f0d1b800001286a0_1:
      addr: d10f
      brightness: 255
      color_temp: 368
      endpoint: '0x01'
      friendly_name: Ampoule étage 2 1
      hs_color:
      - 0
      - 100
      ieee: f0d1b800001286a0
      max_mireds: 500
      min_mireds: 153
      rgb_color:
      - 255
      - 0
      - 0
      state: 'on'
      supported_features: 115
      xy_color:
      - 0.701
      - 0.299

Clairement - la scène a stocké du rouge

Tentatives de modifs:

  • Modification manuelle du RGB - aucun effet - allumage rouge

LOG ZIGATE changement couleur manuel

2020-08-29 11:08:26 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10\x02\x1etS\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x10\x02\x10 \x02\x10\x02\x11\x02\x10W\x03\x01\x81\x02\x12\x02\x10\x02\x1e\x8bS\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x11\x02\x10 \x02\x10\x02\x11\xfeW\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xb3S\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x13\x02\x10!\x02\x10\x02\x12\xb3tW\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xb4S\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x14\x02\x10!\x02\x10\x02\x12L\x8bW\x03\x01\x81\x02\x12\x02\x10\x02\x1f\x02\x11S\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x17\x02\x10!\x02\x10\x02\x12\x02\x11pW\x03\x01\x80\x11\x02\x10\x02\x17J\x02\x10\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x03'
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f01030000000020000100'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:0, status:0, data_type:32, size:1, data:0, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 0, 'data': 0, 'name': 'current_hue', 'type': <class 'int'>, 'value': 0}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (SyncWorker_57) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 0, 'data': 0, 'name': 'current_hue', 'type': 'int', 'value': 0, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f010300000100200001fe'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:1, status:0, data_type:32, size:1, data:254, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 1, 'data': 254, 'name': 'current_saturation', 'type': <class 'int'>, 'value': 100}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f010300000300210002b374'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:3, status:0, data_type:33, size:2, data:45940, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 3, 'data': 45940, 'name': 'current_x', 'type': <class 'int'>, 'value': 0.70098876953125}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f0103000004002100024c8b'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:4, status:0, data_type:33, size:2, data:19595, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 4, 'data': 19595, 'name': 'current_y', 'type': <class 'int'>, 'value': 0.2989959716796875}
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f0103000007002100020170'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:7, status:0, data_type:33, size:2, data:368, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 7, 'data': 368, 'name': 'colour_temperature', 'type': <class 'int'>, 'value': 368}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8011: b'00d10f010300'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8011 - APS_DATA_ACK : status:0, addr:d10f, endpoint:1, cluster:768, lqi:0
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (SyncWorker_56) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 1, 'data': 254, 'name': 'current_saturation', 'type': 'int', 'value': 100, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (SyncWorker_56) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 3, 'data': 45940, 'name': 'current_x', 'type': 'int', 'value': 0.70098876953125, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (SyncWorker_27) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 4, 'data': 19595, 'name': 'current_y', 'type': 'int', 'value': 0.2989959716796875, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (SyncWorker_26) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 7, 'data': 368, 'name': 'colour_temperature', 'type': 'int', 'value': 368, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}

log à l'activation de la scene

2020-08-29 11:08:26 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10\x02\x1etS\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x10\x02\x10 \x02\x10\x02\x11\x02\x10W\x03\x01\x81\x02\x12\x02\x10\x02\x1e\x8bS\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x11\x02\x10 \x02\x10\x02\x11\xfeW\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xb3S\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x13\x02\x10!\x02\x10\x02\x12\xb3tW\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xb4S\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x14\x02\x10!\x02\x10\x02\x12L\x8bW\x03\x01\x81\x02\x12\x02\x10\x02\x1f\x02\x11S\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x02\x17\x02\x10!\x02\x10\x02\x12\x02\x11pW\x03\x01\x80\x11\x02\x10\x02\x17J\x02\x10\xd1\x02\x1f\x02\x11\x02\x13\x02\x10\x02\x10\x03'
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f01030000000020000100'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:0, status:0, data_type:32, size:1, data:0, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 0, 'data': 0, 'name': 'current_hue', 'type': <class 'int'>, 'value': 0}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (SyncWorker_57) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 0, 'data': 0, 'name': 'current_hue', 'type': 'int', 'value': 0, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f010300000100200001fe'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:1, status:0, data_type:32, size:1, data:254, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 1, 'data': 254, 'name': 'current_saturation', 'type': <class 'int'>, 'value': 100}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f010300000300210002b374'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:3, status:0, data_type:33, size:2, data:45940, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 3, 'data': 45940, 'name': 'current_x', 'type': <class 'int'>, 'value': 0.70098876953125}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f0103000004002100024c8b'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:4, status:0, data_type:33, size:2, data:19595, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 4, 'data': 19595, 'name': 'current_y', 'type': <class 'int'>, 'value': 0.2989959716796875}
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'53d10f0103000007002100020170'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:83, addr:d10f, endpoint:1, cluster:768, attribute:7, status:0, data_type:33, size:2, data:368, lqi:87
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Ampoule étage 2
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Ampoule étage 2 {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 7, 'data': 368, 'name': 'colour_temperature', 'type': <class 'int'>, 'value': 368}
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8011: b'00d10f010300'
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8011 - APS_DATA_ACK : status:0, addr:d10f, endpoint:1, cluster:768, lqi:0
2020-08-29 11:08:26 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2020-08-29 11:08:26 DEBUG (SyncWorker_56) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 1, 'data': 254, 'name': 'current_saturation', 'type': 'int', 'value': 100, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (SyncWorker_56) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 3, 'data': 45940, 'name': 'current_x', 'type': 'int', 'value': 0.70098876953125, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (SyncWorker_27) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 4, 'data': 19595, 'name': 'current_y', 'type': 'int', 'value': 0.2989959716796875, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}
2020-08-29 11:08:26 DEBUG (SyncWorker_26) [custom_components.zigate.light] Event received: {'endpoint': 1, 'cluster': 768, 'addr': 'd10f', 'attribute': 7, 'data': 368, 'name': 'colour_temperature', 'type': 'int', 'value': 368, 'ieee': 'f0d1b800001286a0', 'device_type': 'PAR16 RGBW Z3', 'entity_id': 'zigate.f0d1b800001286a0'}

par avance merci de votre aide,

@vgelot
Copy link
Contributor

vgelot commented Sep 1, 2020

@Bredin76 Pour ton Cas2, ta scène indique que tu veux du rouge.
Si tu veux du bleu, il faut que tu change modifie ces valeurs:

      rgb_color:
      - 0
      - 0
      - 255
      xy_color:
      - 0.186
      - 0.077

@doudz
Copy link
Owner

doudz commented Sep 1, 2020

Perso j'éviterai de mixer rgb_color, xy_color, hs_color... car c'est à chaque fois une autre façon de dire la même chose, ou pratiquement
j'utilise rgb_color et ça fonctionne très bien

@Bredin76
Copy link
Author

Bredin76 commented Sep 4, 2020

@vgelot et @doudz , merci de votre retour à tous les 2,
J'ai testé les modifications de @vgelot et ca ne marchait pas directement - j'avais du blanc. En fait, c'est le parametre "température" qui prenait le dessus.
J'ai fini par appliquer ET la recommandation de @vgelot sur le RGB et en filigrane la recommandation de @doudz ne pas mettre trop de paramètre => j'ai viré ce qui ne servait à rien dans la scène pour avoir du bleu quand je le souhaite.

Dernière question, a chaque changement de paramètre, les 3 ampoules qui reçoivent l'ordre ( que j'ai groupé au sens HA du terme) font un peu guirlande de noël avant de se stabiliser. Je pense que c'est le temps de passer tous les paramètres.
Sur JEEDOM et avec le plugin Abeille, on pouvait utiliser des commandes virtuelles pour avoir un comportement "plus net".
J'ai essayé de reproduire en créant un groupe "PiZigate" mais je ne vois pas arriver ce groupe dans HA dans les entités. Une astuce ? - Idem - pas moyen d'enregistrer la scene coté PIZIGATE.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants