jcligny a écrit : 01 janv. 2019, 14:06
Obone a écrit : 27 déc. 2018, 22:26
Bonjour,
Avec ce script, j'arrive à modifier le point de consigne depuis domoticz et il est bien pris en compte par mon radiateur (ce qui est déjà très bien :p)
Par contre, si j'utilise le switch virtuel pour passer du mode "confort" à "eco", ce n'est n'est pas pris en compte par mon radiateur (du coup je ne peux pas planifier directement mon chauffage via ce switch). Est-ce que cette fonctionnalité est censée fonctionner dans la V2 du script? Ou bien est ce juste une remontée d'info depuis l'API Cozytouch?
C'est juste une remontée d'info depuis l'API Cozytouch.
Pour l'instant sur la V3 j'ai corrigé les erreurs dues aux caractères spéciaux, c'est prévu qu'à terme on puisse gérer plus facilement les modes de chauffes ainsi que les températures appliquées suivant les modes en cours.
D'ailleurs je suis preneur des demandes suivant vos différentes utilisations.
Bonnes fêtes !
Bonjour à tous et bonne fêtes de fin d'année.
Obone de mon côté j'ai installé votre script V2 qui malheureusement ne détectait aucun de mes appareils car je suis en pompe à chaleur.
J'ai donc adapté le script en y ajoutant au dictionnaire mes équipements soit :
Température de la sonde extérieure de la PAC
Température intérieure du thermostat d'ambiance
Consommation éléctrique totale de la PAC (chauffage + ECS)
Consommation éléctrique ECS
Consommation éléctrique chauffage
Je m'attaquerai ensuite à l'ajout du réglage des températures de consigne
En tous cas merci beaucoup pour le partage de ce script pour domoticz et n'hésitez pas à me contacter si vous voulez que je vous le donne afin d'en faire partager la communauté avec la V3.
A bientôt.
Jérôme.
Happy new year to you all!

Sorry for typing in English, I'm Dutch (from Hollande) and my French is really bad.
I have an Atlantic Explorer 3 heatpump boiler and a Cozytouch to control it from a remote location.
How can I print or see the data my Cozytouch transmits using script V2?
I also get no data and my script (in French) shows this:
Code : Tout sélectionner
pi@Pi2Jessie:~ $ /usr/bin/python2.7 /home/pi/domoticz/scripts/python/cozytouch_V2_fr.py
¤¤¤¤ DEMARRAGE SCRIPT ¤¤¤¤
**** Fonction test ****
repertoire actuel : /home/pi/domoticz/scripts/python/cozytouch_save
idx materiel dans cozytouch_save -> n°31
idx cozytouch trouve dans domoticz -> n°31
**** 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 ****
Logging in to my Cozytouch account works well and Domoticz has new hardware with idx 31.
It seems that the V2 script collects the data, but it doesn't show it.
Can I simply add a print command at some place in the script?
Thanks for all what is done allready here!
My Explorer 3 can show these items in the app:
Number of showers (1-5)
Manual or automatic setting for # of showers
Boost command (starts heating until 62 degrees)
Eco on or off (allows to use the 1800W element or not)
Energy use in € but no kWh option unless I enter the cost of 1kWh = €1,-.
Cost of kWh field
The former app had both € and kWh but the new one calculates € only.
There is an 'away' timer where I can input when I leave (date and time) and when I return (date and time).
I hope Google translate can help you out, this is how I managed to find and use the script.
With warm regards,
André