[Résolu] BRT-100 Vanne thermostatique Température compensation bloquée.

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

[Résolu] BRT-100 Vanne thermostatique Température compensation bloquée.

Message par DiliaK »

Bonjour,

J'ai des vannes citées dans le titre qui fonctionnent bien mais je voudrais retoucher la compensation ; la sonde intégrée étant sur la vanne.

Type dans le plugin :
TS0601-_TZE200_b6wax7g0

Cela dit, impossible de changer le paramètre : Temperature compensation aussi bien sur la vanne que dans le plugin.

Sur la vanne, je vais dans le param A1, je change à -2 par exemple et ça revient à 00 systématiquement.

Dans le plugin, j'ai ça :

Code : Tout sélectionner

{ 'BRT100WindowsDetection': 1, 'BRT100ChildLock': 0, 'BRT100BoostDuration': 300, 'BRT100Calibration': 0, 'BRT100SetpointEco': 18, 'BRT100MaxSetpoint': 30, 'BRT100MinSetpoint': 3}
J'ai essayé de bricoler sur le param "Calibration" sans succès. Les autres fonctionnent et sont pris en compte immédiatement par la tête.

Objet raw pour exemple :

Code : Tout sélectionner

4:
Version: "3"
ZDeviceName: "Vanne bureau"
Status: "inDB"
SQN: "51"
Ep: Object {"01":{"0000":{"0004":"_TZE200_b6wax7g0","0005":"TS0601","0001":64,"ffe2":31,"ffe4":0,"0000":3,"0007":3,"fffe":0,"ffdf":"L,-\u0011"},"0004":{},"0005":{},"ef00":{},"000a":{},"0019":{},"Type":"ThermoMode_4/Temp/ThermoSetpoint/Valve/Door","ClusterType":{"140":"ThermoMode_4","141":"Temp","142":"ThermoSetpoint","143":"Valve","144":"Door"},"0201":{"0012":210},"0402":{"0000":23},"0001":{"0000":88}}}
Heartbeat: "12278"
RIA: "0"
LQI: 255
Battery: 88
Model: "TS0601-_TZE200_b6wax7g0"
ForceAckCommands: Array[0] []
MacCapa: "80"
IEEE: "84fd27fffea65702"
Type: "ThermoMode_4/Temp/ThermoSetpoint/Valve/Door"
ProfileID: "0104"
ZDeviceID: "0051"
App Version: 64
Attributes List: Object {}
DeviceType: "RFD"
HW Version: ""
Last Cmds: Array[0] []
LogicalType: "End Device"
Manufacturer: "1002"
Manufacturer Name: "_TZE200_b6wax7g0"
NbEp: "1"
PowerSource: "Battery"
ReadAttributes: Object {"Ep":{"01":{"0402":{"TimeStamp":"29/07/2023 18:39:24","iSQN":{"0000":"27","0001":"27","0002":"27","0003":"28","fffd":"28","fffe":"28"},"Attributes":{},"ZigateRequest":{}},"0001":{"TimeStamp":"29/07/2023 18:39:24","iSQN":{"0000":"29","0001":"29","0010":"29","0011":"2a","0012":"2a","0013":"2a","0020":"2b","0021":"2b","0030":"2b","0031":"2c","0032":"2c","0033":"2c","0034":"2d","0035":"2d","0036":"2d","0037":"2e","0038":"2e","0039":"2e","003a":"2f","003b":"2f","003c":"2f","003d":"30","003e":"30","fffd":"30","fffe":"31"},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":"29/07/2023 18:39:24","iSQN":{"0000":"32","0001":"32","0002":"32","0003":"33","0004":"33","0005":"33","0006":"34","0007":"34","0008":"34","0009":"35","000a":"35","fffd":"35","fffe":"36"},"Attributes":{},"ZigateRequest":{}},"0201":{"TimeStamp":"29/07/2023 18:39:24","iSQN":{"0000":"37","0008":"37","0010":"37","0011":"38","0012":"38","0014":"38","0015":"39","0016":"39","001b":"39","001c":"3a","001f":"3a","fd00":"3a"},"Attributes":{},"ZigateRequest":{}},"0000":{"TimeStamp":"08/01/2024 14:09:19","iSQN":{"0004":"3b","0000":"3b","0001":"3b","0005":"3c","0007":"3c","fffe":"3c"},"Attributes":{"0001":"00","ffe2":"00","ffe4":"00","ffdf":"00","0004":"00","0005":"00"},"ZigateRequest":{}}}}}
ReceiveOnIdle: ""
Stack Version: ""
Stamp: Object {"time":1704724553.8644423,"Time":"2024-01-08 15:35:53","MsgType":"8011","LastSeen":"08/01/2024 15:35:53"}
ZCL Version: 3
Health: "Live"
Max Rx: "0052"
WriteAttributes: Object {"Ep":{"01":{"0000":{"TimeStamp":"29/07/2023 18:39:24","iSQN":{"ffde":"3d"},"Attributes":{"ffde":"00"},"ZigateRequest":{"ffde":{"Status":"fullfilled","DataType":"20","EPin":"01","EPout":"01","manuf_id":"0000","manuf_spec":"00","data":"13","ackIsDisabled":false}}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0005":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"ef00":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000a":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0201":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0402":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0001":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}}
Max Tx: "0052"
Max Buffer Size: "52"
Capability: Array[3] ["Reduced-Function Device","Standard security","NwkAddr should be allocated"]
Tuya: Object {"TUYA_MCU_VERSION_RSP":"40","BRTMode":"Manual","SetPoint":"00000015","Temperature":"000000e6","RapidHeating":"00","UnknowDp_0x05_Dt_0x02":"00000000","UnknowDp_0x07_Dt_0x04":"01","OpenWindowDetection":"01","OpenWindow":"00","ChildLock":"00","BatteryStatus":"00000058","Schedule":{"Monday Friday":{"Period1":{"Start":"0600","Setpoint":40},"Period2":{"Start":"0b1e","Setpoint":42},"Period3":{"Start":"0d1e","Setpoint":44},"Period4":{"Start":"111e","Setpoint":46}},"Saturday":{"Period1":{"Start":"0600","Setpoint":48},"Period2":{"Start":"0c00","Setpoint":46},"Period3":{"Start":"0e1e","Setpoint":44},"Period4":{"Start":"111e","Setpoint":42}},"Sunday":{"Period1":{"Start":"0600","Setpoint":38},"Period2":{"Start":"0c1e","Setpoint":40},"Period3":{"Start":"0e1e","Setpoint":42},"Period4":{"Start":"121e","Setpoint":40}}},"BoostTime":"0000012c","ValvePosition":"00000000","Calibration":"00000000","TemporaryAway":"00","EcoTemp":"00000012","MaxSetpoint":"0000001e","MinSetpoint":"00000003","TuyaTransactionId":95}
macapa: "80"
bitfield: "4002"
Bind: Object {"01":{"0019":{"Target":"0000","Stamp":"29/07/2023 18:39:29","Phase":"binded","Status":"00","i_sqn":"04"},"ef00":{"Target":"0000","Stamp":"29/07/2023 18:39:29","Phase":"binded","Status":"00","i_sqn":"05"}}}
Epv2: Object {"01":{"ClusterIn":{"0000":{},"0004":{},"0005":{},"ef00":{}},"ClusterOut":{"0019":{},"000a":{}},"ProfileID":"0104","ZDeviceID":"0051"}}
_rawNodeDescriptor: "1002005200522c000080524002"
BindingTable: Object {"SQN":0,"Status":"Success","TimeStamp":"29/07/2023 18:39:30","BindingTableSize":2,"Devices":[{"84fd27fffea65702":{"sourceEp":"01","Cluster":"0019","targetIEEE":"00212effff08522e","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"84fd27fffea65702":{"sourceEp":"01","Cluster":"ef00","targetIEEE":"00212effff08522e","targetNickName":"Zigbee Coordinator","targetEp":"01"}}]}
Param: Object {"Disabled":0,"BRT100WindowsDetection":1,"BRT100ChildLock":0,"BRT100BoostDuration":300,"BRT100Calibration":0,"BRT100SetpointEco":18,"BRT100MaxSetpoint":30,"BRT100MinSetpoint":3}
descriptor_capability: "00"
server_mask: "2c00"
ConfigSource: "DeviceConf"
CertifiedDevice: true
CheckParam: false
ConsistencyCheck: "ok"
ZCLSQN: "11"
ZCL-IN-SQN: Object {"ef00":"51","0000":"48","000a":"49"}
RollingLQI: Array[11] [255,255,255,255,255,255,255,255,255,255,255]
SQN_000a: "49"
NwkID: "32f7"
Si quelqu'un peut m'aider, je suis preneur.
Dernière modification par DiliaK le 19 janv. 2024, 10:22, modifié 1 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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par pipiche »

Il y a 2 Validation à faire

La première sur la boîte de dialogue et ensuite en haut à droite de la page
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par DiliaK »

Vivi, j'ai fait mais ça ne donne rien. Pire. si je mets -2, je remonte des erreurs.

Je refais et je les poste.

Voilà :

Code : Tout sélectionner

0:
0:
Time: "08/01/2024 16:10:24"
PermitToJoin: Object {"Duration":0,"Starttime":1704718504}
PluginHealth: "Busy"
Thread: "ZigpyCom_7"
nwkid: "None"
Module: "TransportZigpy"
message: "ValueError / non-hexadecimal number found in fromhex() arg at position 27: request() Not able to execute the zigpy command: RAW-COMMAND data: {'Function' : tuya_cmd,'Profile' : 0104,'Cluster' : ef00,'TargetNwk' : 32f7,'TargetEp' : 01,'SrcEp' : 01,'Sqn' : 00,'RxOnIdle' : False,'payload' : 111600006369020004100000002,'timestamp' : 1704726624.0640042,'AddressMode' : 02,}"
context:
Exception: "ValueError"
Message code:: "non-hexadecimal number found in fromhex() arg at position 27"
Stack Trace: "Traceback (most recent call last): File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 368, in worker_loop await dispatch_command(self, data) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 418, in dispatch_command await process_raw_command(self, datas, AckIsDisable=data["ACKIsDisable"], Sqn=data["Sqn"]) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 481, in process_raw_command payload = bytes.fromhex(data["payload"]) ValueError: non-hexadecimal number found in fromhex() arg at position 27 "
Command: "RAW-COMMAND"
Data: "{'Function' : tuya_cmd,'Profile' : 0104,'Cluster' : ef00,'TargetNwk' : 32f7,'TargetEp' : 01,'SrcEp' : 01,'Sqn' : 00,'RxOnIdle' : False,'payload' : 111600006369020004100000002,'timestamp' : 1704726624.0640042,'AddressMode' : 02,}"
StackTrace: " File "/usr/lib/python3.9/threading.py", line 912, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 96, in zigpy_thread self.zigpy_loop.run_until_complete(start_zigpy_task(self, channel=0, extended_pan_id=0)) File "/usr/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete self.run_forever() File "/usr/lib/python3.9/asyncio/base_events.py", line 596, in run_forever self._run_once() File "/usr/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once handle._run() File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 207, in radio_start await _radio_startup(self, pluginconf, new_network, radiomodule) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 306, in _radio_startup await worker_loop(self) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 373, in worker_loop log_exception(self, type(e).__name__, e, data["cmd"], data["datas"]) File "/home/diliak/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 609, in log_exception self.log.logging( "
LastLog: 0
StartTime: "08/01/2024 13:54:48"
FirmwareVersion: "0x26720700"
FirmwareMajorVersion: "40"
PluginVersion: "stable7-7.1.007"
LastLog: 0
Peut-être dû au - dans la saisie. J'essaye donc en mettant 2. Plus d'erreur mais pas mieux sur la tête.
J'ai essayé en mettant -02 ou 02. Pareil. Pire, ça vire tout le script dans la fenêtre texte quand on retourne dedans. (il y en a trop) :P
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par pipiche »

peux-tu mettre le fichier de log du oplugin ? PluginZigbee_xx.log
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
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par pipiche »

2 choses:

premièrement
L'offset est à donner en déci-degré. Donc si tu veux -5° (alors il faudra entrer -50)

deuxièmement il y a un soucis dans le code qui ne gère pas correctement les offsets négatif :-(
cela sera fixé sur la stable7-7.1.008 en préparation.

peux-tu attendre ou est-ce urgent ?
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par DiliaK »

Pipiche,
Un grand merci pour ta recherche. Je te rassure, ce n'est absolument pas urgent ;)

NB : J'ai essayé en mettant donc 20 pour dire +2 et à priori ça ne change rien. J'ai loupé un truc ?
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par pipiche »

qu'est-ce que tu cherches a faire ?
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par DiliaK »

Ben si ça mache(ra) en négatif, comment fait-on en positif ? -50 pour -5° donc 50 ou +50 pour un delta de +5° ?
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par pipiche »

que cherches tu a faire ?
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: BRT-100 Vanne thermostatique Température compensation bloquée.

Message par DiliaK »

Ben si l'offset négatif fonctionne pas, peut-être que l'offset positif, oui ?

donc si je veux régler une compensation de -5 degrés, j'ai bien compris qu'il faut mettre -50. Qui ne fonctionne pas encore :
{ 'BRT100WindowsDetection': 1, 'BRT100ChildLock': 0, 'BRT100BoostDuration': 300, 'BRT100Calibration': -50, 'BRT100SetpointEco': 18, 'BRT100MaxSetpoint': 30, 'BRT100MinSetpoint': 3}

Donc si je mets :
- { 'BRT100WindowsDetection': 1, 'BRT100ChildLock': 0, 'BRT100BoostDuration': 300, 'BRT100Calibration': 50, 'BRT100SetpointEco': 18, 'BRT100MaxSetpoint': 30, 'BRT100MinSetpoint': 3}
si je veux une compensation positive.
Quand je mets +50, ça m'enlève le + et ça laisse 50 et au niveau de la tête de vanne, ça reste à 00 donc pas de compensation positive.

On pourra dire que j'ai tout essayé :P
Je joins des logs.
Pièces jointes
Logs.zip
(8.07 Kio) Téléchargé 29 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
Répondre