Page 2 sur 4
Re: Domotiser PAC Daikin
Publié : 26 mars 2018, 13:28
par spiderjn
bonjour,
C'est sur le forum anglais, les boitier sont des modules WIFI à connecter directement sur la carte contrôleur de la console intérieure (BRP069AXX). je les ai acheté sur cette boutique :
https://www.planete-air.eu/237-interface-wifi-daikin
J'en ai maintenant 4 qui fonctionnent depuis début janvier, depuis ma petite contribution dans le code sur Domoticz (en béta), il est possible de les contrôler.
Bon courage.
Re: Domotiser PAC Daikin
Publié : 26 avr. 2018, 19:47
par pipiche
Bonsoir,
J'ai commencé à faire des recherches et c'est pour l'instant un peu confus
Peux-tu préciser si tu utilises le plugin
https://github.com/leejoow/domoticz_daikin_BRP069A42 ou ce qui est en natif dans Domoticz sous le nom de "Daikin Airconditioning with LAN (HTTP) interface.
Et quid de ce Wiki
https://www.domoticz.com/wiki/Daikin_wifi
Tout eclairage serait le bienvenue
Re: Domotiser PAC Daikin
Publié : 26 avr. 2018, 20:29
par spiderjn
salut
j'ai fait comme toi des recherches et les scripts ne me plaisent pas, car au début j'avais mon serveur sous Windows donc pas possible de les convertir simplement en Powershell ou autre chose.
j'ai donc insisté pour faire marcher mes clims avec le composant intégré en "standard" dans domoticz.
Donc ca fonctionne avec le contrôleur hardware

- Image2018042610001.png (7.25 Kio) Consulté 9758 fois
A+
Re: Domotiser PAC Daikin
Publié : 27 avr. 2018, 13:41
par pipiche
Super nouvelle! Je vais voir ca la semaine prochaine car mise en place de 3 splits
Merci pour la réponse
spiderjn a écrit :salut
j'ai fait comme toi des recherches et les scripts ne me plaisent pas, car au début j'avais mon serveur sous Windows donc pas possible de les convertir simplement en Powershell ou autre chose.
j'ai donc insisté pour faire marcher mes clims avec le composant intégré en "standard" dans domoticz.
Donc ca fonctionne avec le contrôleur hardware
Image2018042610001.png
A+
Re: Domotiser PAC Daikin
Publié : 23 mai 2018, 16:09
par pipiche
J'ai mis en place les interfaces Wifi et il sont maintenant connecté au réseau Wifi.
Lorsque je déclare un nouvel HW Daiking HTTP, je me retrouve avec plusieurs devices créés, et j'ai un soucis avec les devices Mode, Winds et Fan qui semblent ne pas etre prise en compte .
Du coup il me faut la télécommande pour passer en clim/chauffage/ventil et la meme chose pour la partie reglage de la force de ventillation ...
Re: Domotiser PAC Daikin
Publié : 27 mai 2018, 20:52
par spiderjn
bonjour,
en effet, j'ai vu la correction pour la lecture de l'état lorsqu'il change à partir de la télécommande, il y a surement qq ajustement à faire car depuis que j'ai complété le module hardware, je ne l'ai pas vraiment utilisé sauf pour des actions assez simple comme changement de consigne ou On/Off.
A+
Re: Domotiser PAC Daikin
Publié : 28 mai 2018, 10:36
par pipiche
J'ai fait une modif du Hardware Daikin, cela est maintenant intégré dans la Beta, et il y a bien la remonté des infos...
J'envisage encore quelques améliorations ...
A suivre
Re: Domotiser PAC Daikin
Publié : 13 août 2018, 12:46
par spiderjn
bonjour,
je viens d'ajouter un nouveau contrôleur et je n'ai plus le même comportement qu'avant, en effet Domoticz ne m'affiche plus les contrôleurs (device) avec les bons types.
c'est étrange, en regardant l'historique des fichiers sources, il y a eu pas mal de contribution.
A suivre
Re: Domotiser PAC Daikin
Publié : 13 août 2018, 13:01
par pipiche
spiderjn a écrit :je viens d'ajouter un nouveau contrôleur et je n'ai plus le même comportement qu'avant, en effet Domoticz ne m'affiche plus les contrôleurs (device) avec les bons types.
Peux-tu etre un peu plus précis ? Peux-tu faire une copie-d'ecran ?
Re: Domotiser PAC Daikin
Publié : 13 août 2018, 13:31
par fab0030
bonjour,
si certains sont intéressés, perso j'utilise deux scripts - un lua pour passer les commandes et un sh qui tourne toutes les 30 min pour récupérer les infos (...et voir si les enfants s'amusent avec la télécommande!)
Code : Tout sélectionner
commandArray = {}
if (devicechanged['Clim salon on/off']) or (devicechanged['Consigne temp salon']) or (devicechanged['Clim salon mode']) or (devicechanged['Clim salon ventilation']) then
--or (devicechanged['Clim salon ventil dir'])
daikin_ip = '192.168.x.xx'
stemp = otherdevices_svalues['Consigne temp salon']
if (otherdevices['Clim salon mode'] == 'Chaud') then
mode = 4
end
if (otherdevices['Clim salon mode'] == 'Froid') then
mode = 3
end
if (otherdevices['Clim salon mode'] == 'Deshumidificateur') then
mode = 2
end
if (otherdevices['Clim salon mode'] == 'Ventilation') then
mode = 6
end
if (otherdevices['Clim salon ventilation'] == 'Auto') then
frate = 'A'
end
if (otherdevices['Clim salon ventilation'] == 'Niveau1') then
frate = 3
end
if (otherdevices['Clim salon ventilation'] == 'Niveau2') then
frate = 4
end
if (otherdevices['Clim salon ventilation'] == 'Niveau3') then
frate = 5
end
if (otherdevices['Clim salon ventilation'] == 'Niveau4') then
frate = 6
end
if (otherdevices['Clim salon ventilation'] == 'Niveau5') then
frate = 7
end
-- if (otherdevices['Clim salon ventil dir'] == 'stop') then
-- fdir = 0
-- end
-- if (otherdevices['Clim salon ventil dir'] == 'verti') then
-- fdir = 1
-- end
-- if (otherdevices['Clim salon ventil dir'] == 'horiz') then
-- fdir = 2
-- end
-- if (otherdevices['Clim salon ventil dir'] == 'toutes') then
-- fdir = 3
-- end
if (otherdevices['Clim salon on/off'] == 'On') then
pow = 1
else
pow = 0
end
--si la clim tolere les mouvements des ailettes : remplacer f_dir=0 par f_dir='..fdir..' ci dessous
cmd = 'curl "http://' .. daikin_ip .. '/aircon/set_control_info?pow='..pow..'&mode='..mode..'&stemp='..stemp..'&shum=0&f_rate='..frate..'&f_dir=0"'
os.execute(cmd)
-- lancement script pour mise à jour données
os.execute('../domoticz/scripts/sh/climsalon.sh')
end
return commandArray
Code : Tout sélectionner
#!/bin/bash
argument="$1"
#
# Domoticz control for Daikin airconditioner/Heatpump systems
# Settings:
# Daikin IP Adress
DIP=192.168.x.xx
# Domoticz port
#DomPort=8080
# On/Off button idx
#OoIdx=xx
# Temp idx
#TempIdx=xx
############################################################
# NO CHANGES AFTER THIS LINE ## NO CHANGES AFTER THIS LINE #
############################################################
control="/aircon/get_control_info"
sensors="/aircon/get_sensor_info"
ControlInfoPath=http://$DIP$control
SensorsInfoPath=http://$DIP$sensors
ControlInfo=$(curl -s $ControlInfoPath)
SensorsInfo=$(curl -s $SensorsInfoPath)
# Get relevant control information from Daikin
ControlInfo=${ControlInfo//,/ [}
ControlInfo='['${ControlInfo//=/]=}
eval declare -A pump=($ControlInfo)
pow=( ${pump[pow]} )
mode=( ${pump[mode]} )
stemp=( ${pump[stemp]} )
shum=( ${pump[shum]} )
f_rate=( ${pump[f_rate]} )
f_dir=( ${pump[f_dir]} )
if [ $pow = "0" ]; then
pow2=Off
fi
if [ $pow = "1" ]; then
pow2=On
fi
if [ $mode = "4" ]; then
mode2=chaud
fi
if [ $mode = "3" ]; then
mode2=froid
fi
if [ $mode = "2" ]; then
mode2=deshumidificateur
fi
if [ $mode = "6" ]; then
mode2=ventilateur
fi
if [ $f_rate = "A" ]; then
f_rate2=Auto
fi
if [ $f_rate = "3" ]; then
f_rate2=Niveau1
fi
if [ $f_rate = "4" ]; then
f_rate2=Niveau2
fi
if [ $f_rate = "5" ]; then
f_rate2=Niveau3
fi
if [ $f_rate = "6" ]; then
f_rate2=Niveau4
fi
if [ $f_rate = "7" ]; then
f_rate2=Niveau5
fi
#if [ $f_dir = "0" ]; then
#f_dir2=stop
# fi
#if [ $f_dir = "1" ]; then
#f_dir2=verti
# fi
#if [ $f_dir = "2" ]; then
#f_dir2=horiz
# fi
#if [ $f_dir = "3" ]; then
#f_dir2=toutes
# fi
# Get Sensor information
SensorsInfo=${SensorsInfo//,/ [}
SensorsInfo='['${SensorsInfo//=/]=}
eval declare -A DaiSens=($SensorsInfo)
htemp=( ${DaiSens[htemp]} )
otemp=( ${DaiSens[otemp]} )
hhum=( ${DaiSens[hhum]} )
curl "http://192.168.x.xx:8080/json.htm?type=command¶m=udevice&idx=108&nvalue=0&svalue=$mode2"
curl "http://192.168.x.xx:8080/json.htm?type=command¶m=udevice&idx=109&nvalue=0&svalue=$f_rate2"
#curl "http://192.168.x.xx:8080/json.htm?type=command¶m=udevice&idx=111&nvalue=0&svalue=$f_dir2"
curl "http://192.168.x.xx:8080/json.htm?type=command¶m=udevice&idx=112&nvalue=0&svalue=$stemp°C"
curl "http://192.168.x.xx:8080/json.htm?type=command¶m=udevice&idx=134&nvalue=0&svalue=$pow2"