Carte 4 relais TS0004-_TZ3000

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
DiliaK
Messages : 257
Inscription : 02 sept. 2022, 19:38
Localisation : Chavanoz, France
Contact :

Carte 4 relais TS0004-_TZ3000

Message par DiliaK »

Bonjour,

J'ai en fonction des cartes comme celle en photo ici :
https://www.amazon.fr/verrouillage-auto ... 5kZWQ&th=1

NB : Le modèle montré ici n'est pas celui là. Le mien est bien avec la puce Zigbee :

https://www.amazon.fr/dp/B0928B2SDB/?co ... J3KL&psc=0

Cette carte est "fully functionnal" mais je n'arrive pas à piloter l'état initial au démarrage en cas de coupure de courant.
Style :

Code : Tout sélectionner

Paramètres : {'Disabled': 0, 'SmartSwitchBackLight': 1, 'SmartSwitchIndicateLight': 1, 'PowerOnAfterOffOn': 2}
J'ai essayé 1, 2, rien à faire.
Je voudrais ramener l'état avant coupure électrique comme les prises Zigbee.
Si ça se trouve, ce n'est pas possible selon le cas.

Cette carte à trois fonctions :
- Impulsionnel,
- On/off séparé,
- On sélectif (quand un est à on, les autres sont à off style 1 ou 2 ou 3 ou 4 ou off).

Avez-vous une piste à offrir ?

Merci !

Json joint. Objet 17.
export.json
(170 Kio) Téléchargé 7 fois
Domoticz 2025.2 @ Debian 12 on AZW Green G2. Processeur : Intel Celeron N5095A Mémoire : 8 Go
HDD WD Red 500Go M.2 SATA
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver Version: Pro XL1
RFXCOM - RFXtrx433 ethernet (inactif)
CONBEE II USB Zigbee4Domoticz
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Carte 4 relais TS0004-_TZ3000

Message par pipiche »

Essayes 255
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
DiliaK
Messages : 257
Inscription : 02 sept. 2022, 19:38
Localisation : Chavanoz, France
Contact :

Re: Carte 4 relais TS0004-_TZ3000

Message par DiliaK »

Bonjour Pipiche,

Merci pour la réponse.
Je ne l'avais pas marqué mais ça ne fonctionne pas non-plus.
Domoticz 2025.2 @ Debian 12 on AZW Green G2. Processeur : Intel Celeron N5095A Mémoire : 8 Go
HDD WD Red 500Go M.2 SATA
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver Version: Pro XL1
RFXCOM - RFXtrx433 ethernet (inactif)
CONBEE II USB Zigbee4Domoticz
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Carte 4 relais TS0004-_TZ3000

Message par pipiche »

Donc ca devrait etre
0 Off
1 On
2 previous state

Par contre effectivement pas certain que ca fonctionne correctement.

Peux-tu activer le debug 'onoffSettings' et essayer et me donner les logs

Ensuite, tu peux essayer de passer la commande en directe via le Webui > Tools > Command

IL faut faire cette commande pour chaque ligne du relay, donc les Ep: 01, 02, 03, 04

GroupAddress: False
AckMode: True
ProfileId: 0104
ClusterID: 0006
SourceEp: 01
TargetEp: 01 puis 02 puis 03 puis 04 (chaque ligne)
SQN: 55
Payload: 10550203403002

Explication du payload

Code : Tout sélectionner

FCF: 0x10
SQN: 55
Command: 02 (Write Attribute)
Attribute: 0x4003 ( a convertir en 0340 )
Data Type: 30
Value: 02 Previous state
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
DiliaK
Messages : 257
Inscription : 02 sept. 2022, 19:38
Localisation : Chavanoz, France
Contact :

Re: Carte 4 relais TS0004-_TZ3000

Message par DiliaK »

Ah oui, intéressant. Je teste dès que possible.
1 et 2 ne donnent rien non-plus.

EDIT :

Extrait suite aux commandes :

Code : Tout sélectionner

2026-06-21 18:26:33,356 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 1, 'SrcEp': 1, 'Sqn': 85, 'payload': '10550203403002', 'timestamp': 1782059193.3561296} for target 434f

2026-06-21 18:26:38,188 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 2, 'SrcEp': 1, 'Sqn': 85, 'payload': '10550203403002', 'timestamp': 1782059198.187268} for target 434f

2026-06-21 18:26:41,641 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 3, 'SrcEp': 1, 'Sqn': 85, 'payload': '10550203403002', 'timestamp': 1782059201.6404073} for target 434f

2026-06-21 18:26:47,272 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 4, 'SrcEp': 1, 'Sqn': 85, 'payload': '10550203403002', 'timestamp': 1782059207.2712998} for target 434f

EDIT2 :

Suite à chaque commande, il y a ça ensuite, je n'avais pas vu :

Code : Tout sélectionner

2026-06-21 18:26:47,905 INFO    :Receive NACK from Commutateur caméras (434f) clusterId: 0006 Status: -1
Mais ce n'est pas systématique...
Domoticz 2025.2 @ Debian 12 on AZW Green G2. Processeur : Intel Celeron N5095A Mémoire : 8 Go
HDD WD Red 500Go M.2 SATA
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver Version: Pro XL1
RFXCOM - RFXtrx433 ethernet (inactif)
CONBEE II USB Zigbee4Domoticz
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Carte 4 relais TS0004-_TZ3000

Message par pipiche »

Petit soucis dans le payload que je t'avais donné.

Frame Control : 0x00
TSN : 0x55
Command ID : 0x02

Payload:

Code : Tout sélectionner

00550203403002

00 55 02 03 40 30 02
└FC ┘TSN ┘Cmd ┘AttrID(LE) ┘Type ┘Val
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
DiliaK
Messages : 257
Inscription : 02 sept. 2022, 19:38
Localisation : Chavanoz, France
Contact :

Re: Carte 4 relais TS0004-_TZ3000

Message par DiliaK »

Bonjour Pipiche,
Exactement les mêmes lignes dans le log zigbee.
Je les mets après manger si nécessaire mais je n'ai plus les erreurs aléatoires à la suite.

EDIT :

Code : Tout sélectionner

2026-06-26 20:20:40,173 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 1, 'SrcEp': 1, 'Sqn': 85, 'payload': '00550203403002', 'timestamp': 1782498040.1727178} for target 434f

2026-06-26 20:20:46,895 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 2, 'SrcEp': 1, 'Sqn': 85, 'payload': '00550203403002', 'timestamp': 1782498046.8950715} for target 434f

2026-06-26 20:20:51,841 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 3, 'SrcEp': 1, 'Sqn': 85, 'payload': '00550203403002', 'timestamp': 1782498051.8407462} for target 434f

2026-06-26 20:20:56,705 INFO    :Sending request to coordinator {'AddressMode': 2, 'Function': 'rest_raw_zigbee', 'Profile': 260, 'Cluster': 6, 'TargetNwk': 17231, 'TargetEp': 4, 'SrcEp': 1, 'Sqn': 85, 'payload': '00550203403002', 'timestamp': 1782498056.7042456} for target 434f
Domoticz 2025.2 @ Debian 12 on AZW Green G2. Processeur : Intel Celeron N5095A Mémoire : 8 Go
HDD WD Red 500Go M.2 SATA
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver Version: Pro XL1
RFXCOM - RFXtrx433 ethernet (inactif)
CONBEE II USB Zigbee4Domoticz
Répondre