Contrôler sa VMC StorkAir / ComfoAir / zehnder via sa domotique

( dans

» Electricité » Domotique

)
Chercher:    

Contrôler sa VMC StorkAir / ComfoAir / zehnder via sa domotique

- Page 62
Page 62 sur 68 Première page - Résultats 1 à 20 sur 1 350 Page precedente 12526061 62 6364 Page suivante Dernière page - Résultats 1 341 à 1 350 sur 1 350


03/08/2016 Vieux  
 
  56 ans, Liège
 
Citation:
Posté par neonightmare Voir le message
Bonjour

Je suis nouveau ici mais j' ai déja beaucoup lu et maintenant des question.
J' essay d' installer sur en Raspi pour visualiser zehner 350.

- new raspian jessie avec toutes les updates
- fair comme page #53 installer RaspiVMC

maintenant, comme est l' adresse pour accesser la visualisation, avec l'adress IP je vois apache fonctionne... excuser mois, mais j' ai pas encore beaucopt d' experiance acec apache et companie..

merci d' avence..
nei

Bonjour, si tu veux on peut aussi le faire en anglais ...

1) Check is server.py is running, the command ps -ef | grep server
should return a line like this

root 14582 1 93 jui13 ? 19-20:00:06 /usr/bin/python /home/pi/bin/VMCserver.py

2) you can check communication with the 350 running one of the client scipt, like client1.py on a shell

3) to connect apache with a browser the URL should be http://IP_address_of_raspberry/VMC1.html


Or any other html page that should have been copied in the apache document directory (/var/www), to get the reading from the 350 on a web page, just call the cgi script using the URL:
http://IP_address_of_raspberry/cgi-bin/VMCbinjson.cgi

This script is called by the VMC.html page in order to get the current status of the 350, if you don't get an aynswer calling it directly, you won't get the VMC.html page displayed properly.
04/08/2016 Vieux  
 
 
Hi there

Thanks for the replay.
I checked this, but so far I don't have the CA350 connected...

Citation:
pi@raspberrypi:~ $ ps -ef | grep server
pi 16471 16460 0 11:06 pts/0 00:00:00 grep --color=auto server
pi@raspberrypi:~ $ sudo ps -ef | grep server
pi 16473 16460 0 11:06 pts/0 00:00:00 grep --color=auto server
so, the server doesent work, the WebAccess also not..

Citation:
pi@raspberrypi:~ $ cd raspVMC-master/
pi@raspberrypi:~/raspVMC-master $ ls
client1.py jsoneditor server.py VMC3.html VMC.py
client2.py json-tree setspeed.py VMCanalyze.py VMC.pyc
client3.py knx.ini SVG_FileLog_VMC_1.gplot VMCbinjson.cgi VMCresetfilter.cgi
config.py LICENSE SVG_FileLog_VMC_2.gplot VMC.ini VMCsetspeed.cgi
fhem.cfg meteo.cgi VMC1.html VMC.ini.new VMCsetTConf.cgi
install.bash README.md VMC2.html VMCknx.py
pi@raspberrypi:~/raspVMC-master $ cp *.html /var/www/
cp: cannot create regular file ‘/var/www/VMC1.html’: Permission denied
cp: cannot create regular file ‘/var/www/VMC2.html’: Permission denied
cp: cannot create regular file ‘/var/www/VMC3.html’: Permission denied
pi@raspberrypi:~/raspVMC-master $ sudo cp *.html /var/www/
thx neo
04/08/2016 Vieux  
 
  56 ans, Liège
 
To manually start the server simply type ./VMCserver.py & in raspVMC directory.

This relies on /etc/VMC/VMC.ini being present and well configured.

Once the server is running you can proceed running a client and see if you get a message back from the 350.

Have you run the installation script ?

If you need to copy things in /var/www you need to do so using the sudo command

sudo cp *.html /var/www/

I will see if I can come up with a Jessie installation script as it is now the standard distribution for debian on the Pi.
04/08/2016 Vieux  
 
 
Citation:
Posté par jcoenen Voir le message
To manually start the server simply type ./VMCserver.py & in raspVMC directory.

This relies on /etc/VMC/VMC.ini being present and well configured.
Thanks, the server ist now running

Citation:
Posté par jcoenen Voir le message
Once the server is running you can proceed running a client and see if you get a message back from the 350.

Have you run the installation script ?
yes, OK so far

got this messages:
Citation:

pi@raspberrypi:~/raspVMC-master $ ps -ef | grep server
pi 16799 16460 99 13:16 pts/0 00:00:27 /usr/bin/python ./server.py
pi 16801 16460 0 13:16 pts/0 00:00:00 grep --color=auto server
pi@raspberrypi:~/raspVMC-master $ ./client.py &
client1.py client2.py client3.py
pi@raspberrypi:~/raspVMC-master $ ./client1.py &
[2] 16819
pi@raspberrypi:~/raspVMC-master $ connecting to 127.0.0.1 port 10000
requesting data
04/08/16 13:29:44 : new client connection from ('127.0.0.1', 55744)
04/08/16 13:29:44 : received 07f0000b00b8070f ('127.0.0.1', 55744) from client ('127.0.0.1', 55744) retained is 07f0000b00b8070f
04/08/16 13:29:44 : Processing msg from queue ('127.0.0.1', 55744)
04/08/16 13:29:44 : Sending frame 07f0000b00b8070f to VMC from Client ('127.0.0.1', 55744)
04/08/16 13:29:44 : Command code: 0b reply is True
04/08/16 13:29:44 : expecting a reply
04/08/16 13:29:44 : received from VMC
04/08/16 13:29:44 : No frame detected in

pi@raspberrypi:~/raspVMC-master $ cd /var/www/
pi@raspberrypi:/var/www $ ls
html jsoneditor json-tree VMC1.html VMC2.html VMC3.html
pi@raspberrypi:/var/www $
cant' see anything on Browser....
html- files are copied via sudo...

thx

Dernière modification par neonightmare 04/08/2016 à 16h45.
04/08/2016 Vieux  
 
  56 ans, Liège
 
Looks like the 350 is not responding to the request.

I suppose you configured the VMC.ini according to your hardware (USB converter or ttYAMA0 via the GPIO board).

When this problem was reported in the past, it was due to incorrect wiring of the connection to the 350.

1) To test the outgoing message from the Server, disconnect the 350, and connect pin 2 and 3 of the RS232/USB converter, run a client, you should then see the request being echoed back, this proves that the software is properly configured and running.

2) reconnect the 350 and exchange pin 2 and 3 connection to the 350, try the client again, see if you get an answer.

3) other possible problems:

- the USB/232 converter does not use RS232 level (some use TTL level which are not compatible with RS232 as used by the 350).
- Bad ground connection (which usualy end up with garbage being read by the converter, but this does not seems to be your case).
- if using the GPIO, the default ttyAMA0 console connection needs to be disabled by removing console=ttyAMA0 statement in the /boot/cmdline.txt
17/08/2016 Vieux  
 
 
Hi

OK, will test different RS232/TTL converters. Which Pins should be connected for TTL/RS232 converter?

is there a schematic?

thx neo
17/08/2016 Vieux  
 
  56 ans, Liège
 
Citation:
Posté par neonightmare Voir le message
Hi

OK, will test different RS232/TTL converters. Which Pins should be connected for TTL/RS232 converter?

is there a schematic?

thx neo
Should be something like this

RJ45 350 --------------------------------RS232 converter dB9

Pin 2 RS232 RX Comfo Air -----------------pin 3 TX Data DTE
Pin 3 RS232 TX Comfo Air ---------------- pin 2 RX data DTE
Pin 8 GND --------------------------------pin 5 GND DTE
18/08/2016 Vieux  
 
 
Citation:
Posté par jcoenen Voir le message
Should be something like this

RJ45 350 --------------------------------RS232 converter dB9

Pin 2 RS232 RX Comfo Air -----------------pin 3 TX Data DTE
Pin 3 RS232 TX Comfo Air ---------------- pin 2 RX data DTE
Pin 8 GND --------------------------------pin 5 GND DTE
OK thx so far, now i have got a TTL to RS232 Converter, not USB.

My Setup:

350 (RJ45) - > RS232 -> Converter RS232-TTL -> Pin?? GPIO RaspiPi

Pin 2 RS232 RX Comfo Air -----------------pin 3 TX Data DTE -------- GPIO- RaspiPin??
Pin 3 RS232 TX Comfo Air ---------------- pin 2 RX data DTE GPIO --------- RaspiPin??
Pin 8 GND --------------------------------pin 5 GND DTE ---------- GPIO- RaspiPin??


Which Pins on Raspi?

THX
22/08/2016 Vieux  
 
  56 ans, Liège
 
Sorry fo the delay (got to enjoy the good weather while it last)

The GPIO pinout is here

Connect the converter power suppl on 5 volts and ground (5 V top left two pins - GND third pin)

connect the converter to the UART GPIO 14 TXD (output from the raspberry)
GPIO 15 RXD (input to the raspberry)

Don't forget to edit the cmdline.txt in the /boot directory of the raspberry to disable the system console lockup of the GPIO UAR, removing console=ttyAMA0,115200
28/09/2016 Vieux  
 
 
I made translation today for VMC.py, I can share if you want.
[CODE]

{
"Config": {
"Fans": {
"Return": {
"Current": 35,
"SpeedAbsent": 15,
"SpeedHigh": 70,
"SpeedLow": 35,
"SpeedMedium": 50
},
"Speed": 2,
"Supply": {
"Current": 35,
"SpeedAbsent": 15,
"SpeedHigh": 70,
"SpeedLow": 35,
"SpeedMedium": 50
},
"extractionetat": 1
}
},
"Data": {
"Accessories": {
"Bypass": 0,
"EngineCurrentBypass": 0,
"EngineCurrentPreheating": 0,
"Preheating": "Open"
},
"Bypass": {
"Correction": 5,
"Factor": 5,
"Mode": "Winter",
"Period": 0
},
"Fans": {
"ReturnPCT": 35,
"ReturnRPM": 1167,
"SupplyPCT": 35,
"SupplyRPM": 1166
},
"SwitchState": {
"KitchenSwitch": "Off",
"L1": "Off",
"L2": "Off",
"SDB": "Off",
"SDBluxe": "Off"
},
"Temperature": {
"ComfortAir": 21.5,
"ExhaustAir": 19.5,
"OutsideAir": 18.5,
"ReturnAir": 23.0,
"Sensor": {
"Enthalpy": "Absent",
"EnthalpyAir": 0.0,
"ExhaustAir": "Present",
"Kitchen": "Absent",
"KitchenAir": 0.0,
"OutsideAir": "Present",
"ReturnAir": "Present",
"SecondaryHeater": 0.0,
"SupplyAir": "Present"
},
"SupplyAir": 23.5
},
"Usage": {
"Antifreeze": 0,
"Bypass": 7051,
"Filters": 1939,
"Preheated": 41,
"SpeedAbsent": 395,
"SpeedHigh": 1,
"SpeedLow": 16560,
"SpeedMedium": 4316
}
},
"Device": {
"Firmware": "3.60",
"Name": "CA350 luxe"
}
}
[/CODE]
30/09/2016 Vieux  
 
  56 ans, Liège
 
Thanks, but I think in that case the javascript needs to be updated in the HTML pages in order to extract the values from the json and display them.

I suppose a better version would be to have a json with anonymous indexes and then link them with a language context that would be defined in a file. With one file for each language and define the langage in the VMC.ini file

That would be a nice to have in the 3rd version
01/10/2016 Vieux  
 
 
I have a question regarding setting speed. Every time I call http://IP/cgi-bin/VMCsetspeed.cgi?speed=X it changes speed but never get response. If I am using VMC1-3.html it works ok, but I need to call change speed only and get response f. ex. {Status: Done}.
01/10/2016 Vieux  
 
  56 ans, Liège
 
Indeed, the VMC does not send a reply when sending the command change speed (merely an acknowledgement of the command received), so the HTML page has to send a sense speed command after a few seconds in order to detect that the speed has indeed changed.

That means that if you use the change speed cgi in direct, you won't get anything back.

This could be overcome by writing a new change speed cgi script that does something like

- send the change speed command
- wait a few second to give the VMC the chance to update the speed
- read the speed
- send the response back to the caller.
25/10/2016 Vieux  
  34 ans, France
 
Hello Jcoenen,

Me revoila de retour de vacances
alors je décide encore de m'y remettre et je réinstall mais a chaque fois je bloque:

Citation:
root@NightAera:~/raspVMC-master# ./install.bash
first of all update all packages on the pi
sudo: unable to resolve host NightAera
E: The method driver /usr/lib/apt/methods/https could not be found.
sudo: unable to resolve host NightAera
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Check apache2 instalation
Status: install ok installed
check if socat is installed
Status: install ok installed
Status: install ok installed
check if fhem is installed
FHEM is not installed do you want it to be installed (Y/N) ?
Y installing it
Installation of FHEM, getting certificate
sudo: unable to resolve host NightAera
OK
sudo: unable to resolve host NightAera
E: The method driver /usr/lib/apt/methods/https could not be found.
Check if apt-transport-https is installed
add https transport
sudo: unable to resolve host NightAera
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libqt3-mt libsox-fmt-alsa libsox-fmt-base libsox2 python-qt3 python-sip
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 109 kB of archives.
After this operation, 166 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
apt-transport-https
Install these packages without verification [y/N]? y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apt-transport-https armhf 0.9.7.9+rpi1+deb7u7 [109 kB]
Fetched 109 kB in 0s (174 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package apt-transport-https.
(Reading database ... 86788 files and directories currently installed.)
Unpacking apt-transport-https (from .../apt-transport-https_0.9.7.9+rpi1+deb7u7_armhf.deb) ...
Setting up apt-transport-https (0.9.7.9+rpi1+deb7u7) ...
sudo: unable to resolve host NightAera
installing fhem package
sudo: unable to resolve host NightAera
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package fhem
patching fhem config file for VMC
configuring the station in VMC.ini.new
0 : /dev/ttyAMA0
Select the device connecting the VMC to the raspberry pi: 0
VMC is connected on device /dev/ttyAMA0
1 : Do not use Confosense
Select the device connecting the ConfoSense to the raspberry pi: 1
server bind address (nothing for all):
server port number (default 10000): 11000
enter port number for telnet remote control (def=10002):11002
server address for clients (blank for this machine :
Use socat to define virtual port (fhem client) (Y/N): Y
Enter the Virtual port filename (def. /tmp/ttyVMC):
log file name (def=/var/log/VMClog.log):
debug level (2=config, 3=client, 8=frames, def=3): 8
Use mysql database to store data sample (Y/N): N
installing configuration files
save old VMC.ini to /etc/VMC/VMC.ini.old
sudo: unable to resolve host NightAera
sudo: unable to resolve host NightAera
patching inittab automatic restart in case of crash
sudo: unable to resolve host NightAera
activating the server
sudo: unable to resolve host NightAera
installing web pages cgi and VMC library
sudo: unable to resolve host NightAera
cp: cannot stat `VMC?.html': No such file or directory
sudo: unable to resolve host NightAera
cp: cannot stat `*.cgi': No such file or directory
sudo: unable to resolve host NightAera
cp: cannot stat `VMC.pyc': No such file or directory
cleanup
rm: cannot remove `raspVMC.zip': No such file or directory
root@NightAera:~/raspVMC-master# ls
LICENSE VMC.ini.new config.py jsoneditor
README.md client1.py fhem.cfg server.py
SVG_FileLog_VMC_1.gplot client2.py install.bash setspeed.py
SVG_FileLog_VMC_2.gplot client3.py json-tree
root@NightAera:~/raspVMC-master# ./server.py &
[1] 4444
root@NightAera:~/raspVMC-master#
Je ne comprends pas bien ces messages :

sudo: unable to resolve host NightAera. résolution DNS ? c'est le nom de mon raspberry
E: The method driver /usr/lib/apt/methods/https could not be found. heu ?

Mais le plus inquiétant c'est ceci

cp: cannot stat `VMC?.html': No such file or directory
sudo: unable to resolve host NightAera
cp: cannot stat `*.cgi': No such file or directory
sudo: unable to resolve host NightAera
cp: cannot stat `VMC.pyc': No such file or directory

je vais déja creuser le unable to resolve host NightAera
25/10/2016 Vieux  
  34 ans, France
 
Résolu avec le etc/hosts
27/10/2016 Vieux  
 
 
Hi all,

I have a zehnder comfoair q450. I do find a red/back/yellow/white-port and a RJ45 at the top front (behind some plastic that you can slide away where the power cable is running under).

How can I use these ports to interface with a rpi? I can't seem to find the rs232 port at the back as in the examples in this thread.

See image here: https://photos.google.com/share/AF1Q...b0dzbT MwRkt3

Merci bien!

Michaël
29/10/2016 Vieux  
 
  56 ans, Liège
 
Citation:
Posté par michaelarnauts Voir le message
Hi all,

I have a zehnder comfoair q450. I do find a red/back/yellow/white-port and a RJ45 at the top front (behind some plastic that you can slide away where the power cable is running under).

How can I use these ports to interface with a rpi? I can't seem to find the rs232 port at the back as in the examples in this thread.

See image here: https://photos.google.com/share/AF1Q...b0dzbT MwRkt3

Merci bien!

Michaël
Hoy Michaël,

I had a quick look at your model, it comes from the new generation of units.
I have also seen from Zendher a new remote controller for the new units (250 € ???), but from their connection diagram it looks like they have switched to a CAN bus ...which is not at all compatible with what was developed here (RS232 serial bus).

There are CAN bus interfaces for the raspberry pi, but not having the protocol, it would require some time and one unit to reverse engineer it.

JP.

Dernière modification par jcoenen 29/10/2016 à 14h53.
29/10/2016 Vieux  
 
  56 ans, Liège
 
Citation:
Posté par rjcab Voir le message
Résolu avec le etc/hosts
Oups j'ai raté le message signalant le problème, c'est effectivement un problème de DNS (voir /etc/resolv.conf qui donne le nom du serveur de DNS et du domainname).

Mais mettre le nom dans /etc/hosts fonctionne aussi.
31/10/2016 Vieux  
  38 ans, Namur
 
Je me permets une incursion dans ce fil car j'aimerais domotiser ma VMC Storkair aussi (3 vitesses, commandée actuellement par un bouton rotatif Niko) avec un module Z-wave et je me perds un peu dans la lecture des 61 pages de discussion.

Cela vous paraît-il possible et si oui, comment ?
31/10/2016 Vieux  
 
  56 ans, Liège
 
bonjour, ce système est écrit pour les unités storckair/Zehnder d350, d550 ...

Si votre Vmc est de ce type alors c'est possible.

Les nouvelles unité semblent être équippées d'un nouveau BUS (CAN) et donc vraissemblablement d'une nouvelle unités de commande, donc incompatible avec raspiVMC (pour l'instant).

De quelle unité disposez vous ???

Et oui le fil est très long ... (surtout quand il y du debug ;)

Dernière modification par jcoenen 31/10/2016 à 16h02.
Page 62 sur 68 Première page - Résultats 1 à 20 sur 1 350 Page precedente 12526061 62 6364 Page suivante Dernière page - Résultats 1 341 à 1 350 sur 1 350


A lire également sur BricoZone...
Zehnder ou Storkair / whr ou confoD ? Par chevy3600 dans Plomberie, +3 13/06/2016
Storkair ConfoD luxe et domotique Par sebcbien dans VMC, PAC, Clim, +12 21/10/2013
VMC storkair Par lombsss dans VMC, PAC, Clim, +1 25/01/2013
VMC storkair comfod 350 Par sam_bech dans VMC, PAC, Clim, +16 22/01/2013
Où acheter VMC DF Zehnder/Storkair ? Par Lapilux dans VMC, PAC, Clim, +4 26/03/2012


Forum Domotique : Voir ce forum, Nouveautés, Actifs, Sans rép
Tout BricoZone : Page de garde, Dernieres 24h

Photos au hasard
Voir toutes nos photos


Pas encore membre de BricoZone ?!
Attention Pour participer, poser une Question ou Répondre : inscrivez vous !
Ceci vous permettra également de recevoir un email lors des réponses.
Mais même si vous ne voulez rien écrire : vous pourrez surveiller les forums et leurs nouveaux messages, et obtenir une vue rapide de tous les nouveaux messages depuis votre dernière visite !
Tout ceci est évidemment gratuit et rapide.

Visitez aussi : BricoZone France, nos Blogs. On aime Astel, JardiZone et InternetVista.
 
Connexion!
Identifiant
Mot de passe

Inscription - Oublié ?

Annuaire Pro

FT Chassis

Spécialiste des châssis PVC, bois et aluminium, portes et volets roulants.


DECOCHALET

Vente et placement d'abris de jardin, carports, garages, pergolas, boxes pour chevaux, ...


Tendance Habitat

Entreprise générale du bâtiment


La Vidange Loiseau S.A.

Débouchage, placement, raccordement et réparation des égouts.

Ajoutez votre société