26/02/16 22:57:55 : new client connection from ('127.0.0.1', 35883)
26/02/16 22:57:55 : received 07f000690016070f ('127.0.0.1', 35883) from client ('127.0.0.1', 35883) retained is 07f000690016070f
26/02/16 22:57:55 : Processing msg from queue ('127.0.0.1', 35883)
26/02/16 22:57:55 : Sending frame 07f000690016070f to VMC from Client ('127.0.0.1', 35883)
26/02/16 22:57:55 : Command code: 69 reply is True
26/02/16 22:57:55 : expecting a reply
26/02/16 22:57:55 : received from VMC 07f3ffff
26/02/16 22:57:55 : No frame detected in 07f3ffff
26/02/16 22:58:48 : closing ('127.0.0.1', 35883) after reading no data
26/02/16 22:58:48 : New connection for CCEASE/COMFOSENSE from ('192.168.1.1', 56524)
26/02/16 22:59:40 : closing ('192.168.1.1', 56524) after reading no data
26/02/16 23:00:16 : closing ('192.168.1.1', 56524) after reading no data
26/02/16 23:01:38 : new client connection from ('127.0.0.1', 35884)
26/02/16 23:01:38 : received 07f00099010249070f ('127.0.0.1', 35884) from client ('127.0.0.1', 35884) retained is 07f00099010249070f
26/02/16 23:01:38 : Processing msg from queue ('127.0.0.1', 35884)
26/02/16 23:01:38 : Sending frame 07f00099010249070f to VMC from Client ('127.0.0.1', 35884)
26/02/16 23:01:38 : Command code: 99 reply is False
26/02/16 23:01:38 : not expecting a reply
26/02/16 23:01:38 : received 07f000cd007a070f ('127.0.0.1', 35884) from client ('127.0.0.1', 35884) retained is 07f000cd007a070f
26/02/16 23:01:38 : Processing msg from queue ('127.0.0.1', 35884)
26/02/16 23:01:38 : Sending frame 07f000cd007a070f to VMC from Client ('127.0.0.1', 35884)
26/02/16 23:01:38 : Command code: cd reply is True
26/02/16 23:01:38 : expecting a reply
26/02/16 23:01:38 : received from VMC fdf7ff7f
26/02/16 23:01:38 : No frame detected in fdf7ff7f
26/02/16 23:02:14 : closing ('127.0.0.1', 35884) after reading no data
27/02/16 16:33:50 : new client connection from ('192.168.1.1', 57745)
27/02/16 16:34:21 : new client connection from ('127.0.0.1', 35970)
27/02/16 16:34:21 : received 07f0000b00b8070f ('127.0.0.1', 35970) from client ('127.0.0.1', 35970) retained is 07f0000b00b8070f
27/02/16 16:34:21 : Processing msg from queue ('127.0.0.1', 35970)
27/02/16 16:34:21 : Sending frame 07f0000b00b8070f to VMC from Client ('127.0.0.1', 35970)
27/02/16 16:34:21 : Command code: 0b reply is True
27/02/16 16:34:21 : expecting a reply
27/02/16 16:34:21 : received from VMC 07f307f0000b00b8070f
27/02/16 16:34:21 : 8 frames received from VMC only one is expected from theread
27/02/16 16:34:21 : frame received from VMC stored in client queue 07f0000b00b8070f
27/02/16 16:34:21 : sending 07f0000b00b8070f to ('127.0.0.1', 35970)
27/02/16 16:34:21 : closing ('127.0.0.1', 35970) after reading no data
27/02/16 16:35:29 : closing ('127.0.0.1', 35970) after reading no data
27/02/16 16:35:29 : New connection for CCEASE/COMFOSENSE from ('192.168.1.1', 57752)
27/02/16 16:35:54 : closing ('192.168.1.1', 57752) after reading no data
root@max2play:~/raspVMC-master# ./client1.py
connecting to 127.0.0.1 port 10000
requesting data
Traceback (most recent call last):
File "./client1.py", line 90, in <module>
sample(sock)
File "./client1.py", line 47, in sample
rcvd = VMC(hexframe)
File "/root/raspVMC-master/VMC.py", line 50, in __init__
self.Payload() #extract the payload when checksum OK
File "/root/raspVMC-master/VMC.py", line 119, in Payload
self.payload=binascii.a2b_hex(result.group(3))
AttributeError: 'NoneType' object has no attribute 'group'
root@max2play:~/raspVMC-master# ./VMC.py
-bash: ./VMC.py: Permission denied
root@max2play:~/raspVMC-master# sudo ./VMC.py
sudo: unable to resolve host max2play
sudo: ./VMC.py: command not found
root@max2play:~/raspVMC-master# uname -a
Linux max2play 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
root@max2play:~/raspVMC-master#
rjcab;1091432 a dit:Il y a du mieux
Par contre pour avoir cela je lance le client et cela me retourne une erreur mais la communication smelbe établie.
Ensuite je tente d'avoir une page web via http://192.168.1.19/VMC1.html mais cela me renvoit sur une page de ma distri. J'essaie également http://192.168.1.19:10001 ou 10002 mais rien ne s'affiche.
JE continue mon exploration![]()
@lex;1091371 a dit:Juste un petit feedback: tout marche nickel chez moi depuis plusieurs mois. La VMC sur le Pi via un port série-USB, avec interaction via FHEM sur le même Pi.
J'ai découvert que les contacts 230 V pour contrôler les vitesses de la VMC avaient priorité sur les commandes envoyées sur le port série via le Pi (je vais bientôt déconnecter ces contacts).
Encore merci à jcoenen !
nodarii;1091422 a dit:Bonjour JP, j'aurai besoin de ton savoir,
Tu m'as dit que FEHM gérait les éphémérides et les courbes.
Je souhaiterai enregistrer les courbes températures intérieures, de soufflage et extérieure provenant de la VMC.
Je souhaiterai suivant l'heure du couché du soleil (infos yahoo ou autres)
insérer cette heure dans
http://192.168.1.70/admin/timer.htm?timerNum=2&erase=0&name=BSO+Est+journ%C3%A9e&day=7&timeDeb=14%3A00%3A10&timeFin=18%3A45%3A00
Peux-tu me filer un coup de main
nodarii;1091835 a dit:Même soucis que toi.
Par contre le bouton RAZ Filtrer ne fonctionne pas chez moi
http://www.***************.com/construire/viewtopic.php?p=4304455#4304455
sebcbien;1091956 a dit:eh, 'ya le RPI V3 qui est sorti
Pov' JP ...![]()