[Plugin] Cozytouch Thermor

Vous avez créé un script LUA dont vous êtes fier, un .sh génial, un programme Python hors du commun, un Tuto, c'est ici que vous pouvez les partager.
Dutchandre
Messages : 13
Inscription : 31 déc. 2018, 19:07

Re: Cozytouch Thermor

Message par Dutchandre »

ImageSorry for English (again), I like to share the progress we had using the Atlantic Explorer 3 with the help of @Obone :)
Unfortunately he stopped this 2 months ago.
Not all things work like they should, there is more to investigate.
The app can set the Away timer and that's not easy in Domoticz because of the sequential menu's which are passed.
We can't show the current water temperature that is on the display and the app can't too.

I've got soms script errors and most of them where because of the Python version, 3.5.x gives problems.
It works fine with Python 2.7.x.
State on/off shows when the heatpump is active, sometimes it acts slow and is 1 to 20 minutes late.
Setting the desired water temperature works fine.
I'm running this script about 2 months and it always can log in, in the cron you can slow it down because getting the data takes some time.
Obone
Messages : 88
Inscription : 12 janv. 2018, 15:12

Re: Cozytouch Thermor

Message par Obone »

Hi Dutchandre, sorry I stopped for a web project and I did not have time with my job.
Dutchandre
Messages : 13
Inscription : 31 déc. 2018, 19:07

Re: Cozytouch Thermor

Message par Dutchandre »

That's ok, I would have liked to know that back then ;)
sg2
Messages : 63
Inscription : 24 déc. 2015, 13:30

Re: Cozytouch Thermor

Message par sg2 »

Hi Obone,

Merci encore pour le script, je continue à l'améliorer et publierai sans doute une v3.

Hi Dutchman,

Can you share the improvements, so that I could merge them into my work which will eventually be published here? (I only have radiators, no water heater)
Dutchandre
Messages : 13
Inscription : 31 déc. 2018, 19:07

Re: Cozytouch Thermor

Message par Dutchandre »

sg2 a écrit : 02 mars 2019, 11:52 Hi Obone,

Merci encore pour le script, je continue à l'améliorer et publierai sans doute une v3.

Hi Dutchman,

Can you share the improvements, so that I could merge them into my work which will eventually be published here? (I only have radiators, no water heater)
I can share the .py if Obone has no problem with that.
We tested it by using my app login, this way Obone could get the command list.
The Explorer heatpump water heater is different from the one without heatpump in this topic, but some commands they have in common.
I'll look into the things that work, some switches are there but they don't send a command when selected (like eco mode) yet.
sg2
Messages : 63
Inscription : 24 déc. 2015, 13:30

Re: Cozytouch Thermor

Message par sg2 »

Pour info / For the record,

Il y a un plugin PHP opensource cozytouch pour jeedom ici :

https://github.com/geogeocutcut/jeedom-cozytouch-plugin

Il contient une définition plutôt exhaustive des structures, constantes, commandes etc.
vr6man
Messages : 627
Inscription : 18 juil. 2017, 12:15

Re: Cozytouch Thermor

Message par vr6man »

SG2 tu sais si je peux améliorer l'affichage du device que j'ai mis en capture écran depuis notre dernière modif

merci
sg2
Messages : 63
Inscription : 24 déc. 2015, 13:30

Re: Cozytouch Thermor

Message par sg2 »

Je verrai ça demain
Ça reste pareil si tu réexécutes le script ?
sg2
Messages : 63
Inscription : 24 déc. 2015, 13:30

Re: Cozytouch Thermor

Message par sg2 »

jojomul1983 a écrit : 01 mars 2019, 13:33 ¤¤¤¤ DEMARRAGE SCRIPT ¤¤¤¤
**** Fonction test ****
repertoire actuel : /volume1/@appstore/domoticz/var/scripts/cozytouch_save
idx materiel dans cozytouch_save -> n°6
idx cozytouch trouve dans domoticz -> n°6
**** Fin fonction test ****
**** Tentative interrogation serveur Cozytouch ****
Requete GET : refreshAllStates
Requete de test reussie : Interrogation serveur...
**** Fonction decouverte devices ****
Requete GET : getSetup
**** Demarrage procedure d'ajout devices Cozytouch ****
**** Demarrage mise a jour devices ****
Fais la modif selon mon post précédent :

https://easydomoticz.com/forum/viewtopi ... 120#p66601

Et colle ici l’exécution du script
jojomul1983
Messages : 74
Inscription : 23 févr. 2019, 18:22

Re: Cozytouch Thermor

Message par jojomul1983 »

python cozytouch_v2.py >cozytouch.out me donne toujours la même chose: bloquer après mise à jour devices

¤¤¤¤ DEMARRAGE SCRIPT ¤¤¤¤
**** Fonction test ****
repertoire actuel : /volume1/@appstore/domoticz/var/scripts/cozytouch_save
idx materiel dans cozytouch_save -> n°6
idx cozytouch trouve dans domoticz -> n°6
**** Fin fonction test ****
**** Tentative interrogation serveur Cozytouch ****
Requete GET : refreshAllStates
Requete de test reussie : Interrogation serveur...
**** Fonction decouverte devices ****
Requete GET : getSetup
**** Demarrage procedure d'ajout devices Cozytouch ****
**** Demarrage mise a jour devices ****

le log domoticz me donne:

2019-03-05 23:20:33.718 Status: Cozytouch : Recherche des devices connectés ...
2019-03-05 23:20:33.722 Status: Cozytouch : Device avec classe internal:PodMiniComponent inconnu
2019-03-05 23:20:33.727 Status: Cozytouch : Device avec classe io:AtlanticPassAPCHeatPumpMainComponent inconnu
2019-03-05 23:20:33.731 Status: Cozytouch : Device avec classe io:AtlanticPassAPCHeatingAndCoolingZoneComponent inconnu
2019-03-05 23:20:33.735 Status: Cozytouch : Device avec classe io:AtlanticPassAPCOutsideTemperatureSensor inconnu
2019-03-05 23:20:33.740 Status: Cozytouch : Device avec classe io:TotalElectricalEnergyConsumptionSensor inconnu
2019-03-05 23:20:33.744 Status: Cozytouch : Device avec classe io:HeatingRelatedElectricalEnergyConsumptionSensor inconnu
2019-03-05 23:20:33.749 Status: Cozytouch : Device avec classe io:CoolingRelatedElectricalEnergyConsumptionSensor inconnu
2019-03-05 23:20:33.756 Status: Cozytouch : Device avec classe io:AtlanticPassAPCHeatingAndCoolingZoneComponent inconnu
2019-03-05 23:20:33.760 Status: Cozytouch : Device avec classe io:AtlanticPassAPCZoneTemperatureSensor inconnu
2019-03-05 23:20:33.764 Status: Cozytouch : Device avec classe io:AtlanticDomesticHotWaterProductionV2_SPLIT_IOComponent inconnu
2019-03-05 23:20:33.768 Status: Cozytouch : Device avec classe io:DHWCumulatedElectricalEnergyConsumptionIOSystemDeviceSensor inconnu
2019-03-05 23:20:33.873 Status: Cozytouch : Version gateway : 2018.7.4
Répondre