Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRV BAB-1413Pro-E #65

Open
Snake40 opened this issue May 16, 2024 · 6 comments
Open

TRV BAB-1413Pro-E #65

Snake40 opened this issue May 16, 2024 · 6 comments

Comments

@Snake40
Copy link

Snake40 commented May 16, 2024

URL achat du TRV :

https://fr.aliexpress.com/item/1005006092397271.html?spm=a2g0o.detail.pcDetailBottomMoreOtherSeller.2.2c524662eCqvPh&gps-id=pcDetailBottomMoreOtherSeller&scm=1007.40050.354490.0&scm_id=1007.40050.354490.0&scm-url=1007.40050.354490.0&pvid=c543e937-9c5f-4c54-8b51-2c90ae18918b&_t=gps-id:pcDetailBottomMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:c543e937-9c5f-4c54-8b51-2c90ae18918b,tpp_buckets:668%232846%238115%232000&pdp_npi=4%40dis%21EUR%2115.77%2115.77%21%21%21118.84%21118.84%21%40211b813b17148442512164784e5dfd%2112000035699767142%21rec%21FR%21834690355%21&utparam-url=scene%3ApcDetailBottomMoreOtherSeller%7Cquery_from%3A

Dans zigbeefordomoticz l'objet est déclaré "non optimisé" après une tentative d'appairage :

{"PluginInfos":{"HardwareID":7,"HomeFolder":"/opt/domoticz/userdata/plugins/Domoticz-Zigbee/","StartupFolder":"/opt/domoticz/","UserDataFolder":"/opt/domoticz/userdata/","WebRoot":"","Database":"/opt/domoticz/userdata/domoticz.db","Language":"fr","Version":"7.1","Author":"pipiche38","Name":"Zigbee","Address":"0.0.0.0","Port":"9999","SerialPort":"/dev/ttyACM0","Key":"Zigate","Mode1":"ZigpyEZSP","Mode2":"USB","Mode3":"False","Mode4":"9440","Mode6":"2","DomoticzVersion":"2024.4 (build 15960)","DomoticzHash":"0043123f8","DomoticzBuildTime":"2024-04-25 12:58:39","PluginBranch":"stable7","PluginVersion":"7.1.004","CertifiedDbVersion":"4.259","TimeStamp":1715878680,"available":"7.1.012","available-firmMajor":0,"available-firmMinor":0,"FirmwareVersion":"6.10.3.0 build 297","FirmwareUpdate":false,"PluginUpdate":true,"LogLevel":7,"Zigpy":true,"CoordinatorModel":"Unknown Silicon Labs","DisplayFirmwareVersion":"UNK - 6.10.3.0 build 297","CoordinatorIEEE":"e0798dfffe71910c","NetworkSize":"Total: 30 | Routers: 12 | End Devices: 18","NetworkDevices":{"1002":{"_TZE200_b6wax7g0":["TS0601-_TZE200_b6wax7g0"],"_TYZB01_ftdkanlj":["TS0222"],"_TZ3000_dowj6gyi":["TS0201"],"_TZ3210_mja6r5ix":["TS0505B"]},"1141":{"_TZ3000_gjnozsaz":["TS011F-plug"],"_TZ3000_dowj6gyi":["TS0201"],"_TZ3000_tqlv4ug4":["TS0001"],"_TZE204_t1blo2bj":["TS0601-_TZE200_t1blo2bj"],"_TZ3000_decxrtwa":["TS0203"],"_TZ3210_pzqmlfgj":["TS0505B"]}}},"Analytics":1,"Device":{"Version":"3","ZDeviceName":"","Status":"UNKNOW","SQN":"24","Ep":{"01":{"0000":{"0004":"_TZE204_pcdmj88b","0000":3,"0001":73,"0005":"TS0601","0007":3,"fffe":0,"ffe2":56,"ffe4":1},"0004":{},"0005":{},"ef00":{},"0019":{},"000a":{}}},"Heartbeat":"402","RIA":"4","LQI":255,"Battery":{},"Model":"TS0601","ForceAckCommands":[],"MacCapa":"80","IEEE":"a4c13856b3c43d87","Type":{},"ProfileID":"0104","ZDeviceID":"0051","App Version":73,"Attributes List":{},"DeviceType":"RFD","HW Version":"","Last Cmds":[],"LogicalType":"End Device","Manufacturer":"1141","Manufacturer Name":"_TZE204_pcdmj88b","NbEp":"1","PowerSource":"Battery","ReadAttributes":{"Ep":{"01":{"0000":{"TimeStamp":1715876672,"iSQN":{"0004":"00","0000":"00","0001":"00","0005":"00","0007":"00","fffe":"00"},"Attributes":{"0004":"00","0000":"00","0001":"00","0005":"00","0007":"00","fffe":"00","ffe2":"00","ffe4":"00"},"ZigateRequest":{}}}}},"ReceiveOnIdle":"Off","Stack Version":"","Stamp":{"time":1715878680.7828844,"Time":"2024-05-16 18:58:00","MsgType":"8011","LastSeen":1715878680},"ZCL Version":3,"Health":"Live","Capability":["Reduced-Function Device","Standard security","NwkAddr should be allocated"],"ZCLSQN":"3e","ZDPSQN":"04","RollingLQI":[255,255,255,255,255,255,255,255,255,255,255],"WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"Epv2":{"01":{"ProfileID":"0104","ZDeviceID":"0051","ClusterIn":{"0004":{},"0005":{},"ef00":{},"0000":{}},"ClusterOut":{"0019":{},"000a":{}}}},"ReqEpv2":{"01":1715876669.1105824},"PairingInProgress":true,"ZDeviceVersion":"0001","ConfigSource":"8043","ZCL-IN-SQN":{"ef00":"24","0000":"dd","000a":"bf"},"Tuya":{"TUYA_MCU_VERSION_RSP":"40","Valve 0x05":"000000d2","Valve state":"64"},"SQN_000a":"bf","_rawNodeDescriptor":"1141004200422a000080424002","Max Buffer Size":"42","Max Rx":"0042","Max Tx":"0042","macapa":"80","bitfield":"4002","server_mask":"2a00","descriptor_capability":"00"}}

Je me tiens à ta disposition pour tout complément.
Merci.

@pipiche38
Copy link
Collaborator

Can you try the following:

(1) download the file https://github.com/zigbeefordomoticz/z4d-certified-devices/blob/a49dda1a975c2dc385c1c79034c6c10ef4a4dde9/z4d_certified_devices/Certified/Tuya/TS0601-eTRV6.json
(2) put the file under Domoticz-Zigbee/Conf/Local-Devices/
(3) edit the file and add the following [ "TS0601", "_TZE204_pcdmj88b" ] under the Identifier section

You should get something similar to that

"Identifier": [
       [ "TS0601", "_TZE200_bvu2wnxz" ],
       [ "TS0601", "_TZE200_6rdj8dzm" ],
       [ "TS0601", "_TZE200_gd4rvykv" ],
       [ "TS0601", "_TZE200_p3dbf6qs" ], 
       [ "TS0601", "_TZE200_rxntag7i" ],
       [ "TS0601", "_TZE204_pcdmj88b" ]
   ],

Restart the plugin (check if they are error when loading the Config files)

then when the plugin is ready try to pair the device and see what works and what doesn't

Here are some related links on the wiki which can help you

@Snake40
Copy link
Author

Snake40 commented May 17, 2024

Bonjour.
L'appairage a été fait et il est déclaré "correct" dans le plugin.
3 des 4 widgets créés dans Domoticz ont été fonctionnellement identifiés. Je n'ai pas trouvé la fonction associée au widget "heating status". Je comprends qu'il est possible d'obtenir une personnalisation plus grande (ie avoir plus de widgets fonctionnels dans Domoticz) à condition de modifier le fichier de configuration. Je vais lire les contenus des liens que tu m'as communiqués pour essayer de comprendre et d'aller plus loin ...
Merci pour ton aide et ta réactivité.
Bonne journée.

@zigbeefordomoticz
Copy link
Owner

zigbeefordomoticz commented May 17, 2024 via email

@Snake40
Copy link
Author

Snake40 commented May 18, 2024

Pour un équipement zigbee donné et a priori inconnu est-il possible de capturer toutes les données zigbee émises ? Les identifier et les associer à des fonctions étant une autre question ...

@pipiche38
Copy link
Collaborator

you can add debug log like TuyaTS0601 or Tuya and check the plugin log file.

@Snake40
Copy link
Author

Snake40 commented Jun 10, 2024

Bonjour pipiche ...
Je suis toujours et sans succès, sur l'adaptation de mon TRV au plugin Domoticz ...
A la suite des manips que tu m'as dit de faire, j'ai bien récupéré le TRV dans Domoticz mais "a minima" (voir ci-dessus mon message d'il y a 3 semaines.). Je ne tiens pas particulièrement à récupérer, à paramétrer ou à modifier toutes les données zigbee diffusées par le TRV mais mon "minima opérationnel" est le suivant :

  • avoir la température dans la pièce --> je l'ai ;
  • avoir le réglage de la température de consigne --> je l'ai ;
  • pouvoir me mettre en mode "manuel" --> je peux ;
  • avoir le pourcentage d'ouverture de la vanne du radiateur (qui correspond au pourcentage de sortie du doigt de commande du TRV) --> je ne l'ai pas ...
    Cela me gêne énormément car c'est le seul vrai moyen de savoir si et comment le TRV réagit à la température de consigne sans le déposer, ce qui permet de détecter une anomalie ou un dysfonctionnement (sur les 5 TRV MOES que j'ai intégré initialement, 3 s'avèrent en anomalie sur le pourcentage d'ouverture - confirmé lorsque je démonte le TRV - et c'est pourquoi je cherche un autre modèle).
    L'info existe, c'est sûr ... J'ai essayé de comprendre comment était construit le fichier de configuration dans Domoticz, j'ai cherché sur internet des réponses pour tenter une transposition via une situation similaire ... mais j'ai dépassé ma limite de compréhension et je ne m'en sors pas ...
    Peux tu me donner quelques éléments (simples ... très simples ...) qui pourraient me mettre sur la piste de la solution ?...
    Je suis désolé de te relancer de nouveau sur ce thème, je suppose que tu as d'autres chats à fouetter ...
    Cordialement.

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

No branches or pull requests

3 participants