Page 1 sur 1
adjonction d'un module détecteur de porte
Publié : 19 déc. 2021, 00:38
par Franck85230
Bonjours a vous
juste 2 question suite ajout module eversprings Sm810 sur stick z-wave gen5
donc le stick a bien détecté LE détecteur de porte sauf que je me retrouve dans "interrupteurs" avec 5 nouveaux matériels
"Sensor"
dans "dispositifs" 2 Stick Z-wave 002 (0x02) 00000200 1 Sensor Light/Switch Switch Off
"Access Control"
dans "dispositifs" 3 Stick Z-wave 002 (0x02) 00000234 1 Access Control Light/Switch Switch Off
"Home Security"
dans "dispositifs" 4 Stick Z-wave 002 (0x02) 00000235 1 Home Security Light/Switch Switch Off
"Power Management"
dans "dispositifs" 5 Stick Z-wave 002 (0x02) 00000236 1 Power Management Light/Switch Switch Off
un triangle orange ! 6 Stick Z-wave 002 (0x02) 00000235 7 Alarm Type: Home Security 7 (0x07) General Alarm Event: 0x03 (3)
quel dispositif dois je utiliser pour la détection de porte ouverte ? et le code de programmation a mettre pour être utilisable
merci a vous
Re: adjonction d'un module détecteur de porte
Publié : 19 déc. 2021, 20:48
par balajol
Bonsoir Franck85230,
Chez HANK c'est Access control,
De toute Façon tu dois bien voir quel dispositif change d'état quand tu éloignes l' aimant ?
pour savoir quel est la syntaxe de la commande , provoque une ouverture et regarde dans les logs.
Cdt
Bertrand
Re: adjonction d'un module détecteur de porte
Publié : 19 déc. 2021, 21:52
par Franck85230
bonsoir Bertrand
et merci pour ta réponse
je suis complètement débutant
alors justement j'ai aucun retour si je provoque une ouverture
je colle un bout du log si tu pouvais m'en dire plus
Code : Tout sélectionner
2021-12-19 17:35:15.427 Status: Domoticz V2021.1 (c)2012-2021 GizMoCuz
2021-12-19 17:35:15.428 Status: Build Hash: 8547c5b7e, Date: 2021-04-17 17:29:11
2021-12-19 17:35:15.428 Status: Startup Path: /home/user/domoticz/
2021-12-19 17:35:15.452 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2021-12-19 17:35:15.457 Status: WebServer(HTTP) started on address: :: with port 8080
2021-12-19 17:35:15.462 Status: WebServer(SSL) started on address: :: with port 443
2021-12-19 17:35:15.464 Status: RxQueue: queue worker started...
2021-12-19 17:35:15.466 Status: TCPServer: shared server started...
2021-12-19 17:35:17.466 Status: NotificationSystem: thread started...
2021-12-19 17:35:17.466 Status: EventSystem: reset all events...
2021-12-19 17:35:17.467 Status: EventSystem: reset all device statuses...
2021-12-19 17:35:17.471 Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2021-12-19 17:35:17.471 Status: EventSystem: Started
2021-12-19 17:35:17.471 Status: EventSystem: Queue thread started...
2021-12-19 17:35:17.965 Status: Stick Z-wave: OpenZWave: using config in: /home/user/domoticz/Config/
2021-12-19 17:35:17.983 Status: Stick Z-wave: OpenZWave: Starting...
2021-12-19 17:35:17.983 Status: Stick Z-wave: OpenZWave: Version: 1.6-1911-gc6a420ef
2021-12-19 17:35:18.744 Status: Stick Z-wave: OpenZWave: A DNS Error Occurred
2021-12-19 17:35:18.744 Status: Stick Z-wave: OpenZWave: ManufacturerSpecificDB Ready
2021-12-19 17:35:20.428 Stick Z-wave: OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 1, Index: 0
2021-12-19 17:35:20.428 Stick Z-wave: OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Access Control, Instance: 1, Index: 6
2021-12-19 17:35:20.428 Stick Z-wave: OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Home Security, Instance: 1, Index: 7
2021-12-19 17:35:20.428 Stick Z-wave: OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Power Management, Instance: 1, Index: 8
2021-12-19 17:35:20.428 Stick Z-wave: OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Previous Event Cleared, Instance: 1, Index: 256
2021-12-19 17:35:20.428 Stick Z-wave: OpenZWave: Value_Added: Node: 2 (0x02), CommandClass: BATTERY, Label: Battery Level, Instance: 1, Index: 0
2021-12-19 17:35:20.425 Status: Stick Z-wave: OpenZWave: Driver Ready
2021-12-19 17:35:20.428 Status: Stick Z-wave: SendSwitchIfNotExists: Device '2.instance.1.index.256.commandClasses.113' (Previous Event Cleared) with DeviceID '00000200' matches '2.instance.1.index.0.commandClasses.48' (Sensor). Domoticz will use the Dimmer (and hide the Switch).
2021-12-19 17:35:20.442 Status: Stick Z-wave: OpenZWave: Awake Nodes queried
2021-12-19 17:37:07.463 Status: Incoming connection from: 192.168.0.103
2021-12-19 17:37:14.897 Boule: Light/Switch (Boule) ***** ici le SonOff ************************************
2021-12-19 17:37:14.894 Status: User: user (IP: 192.168.0.103) initiated a switch command (1/Boule/On) **************** apres aucune idee des adresse ip **************
2021-12-19 18:04:24.848 Error: Error parsing http request address: ::ffff:5.178.86.76
2021-12-19 18:04:34.890 Error: Error parsing http request address: ::ffff:5.178.86.74
2021-12-19 19:50:14.225 Error: Error parsing http request address: ::ffff:193.32.164.16
2021-12-19 20:53:37.817 Error: Error parsing http request address: ::ffff:185.216.140.6
2021-12-19 21:12:36.509 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:39.623 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:39.665 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:39.708 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:39.751 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:39.796 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.067 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.121 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.165 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.209 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.252 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.295 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:12:40.339 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:13:32.890 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:13:33.875 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:13:37.692 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:13:41.641 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:13:42.915 Error: Error parsing http request address: ::ffff:172.104.140.107
2021-12-19 21:15:03.208 Error: Error parsing http request address: ::ffff:145.239.154.82
Re: adjonction d'un module détecteur de porte
Publié : 20 déc. 2021, 13:11
par Neutrino
D'après les log, tu as beaucoup d'accès non sollicités depuis l'extérieur.
Attention avec l'ouverture de port. Il vaut mieux utiliser un port exotique que le fameux 8080.
D'ailleurs, ton sonoff est sur le port 80 et surtout ouvert à tout le monde. Je sais pas ce qu'il actionne, mais j'y ai accès

Re: adjonction d'un module détecteur de porte
Publié : 20 déc. 2021, 21:44
par Franck85230
bonsoir Neutrino
pour le SonOff il allume juste une lampe RVB de jardin (Boule) je regarderai pour les port Merci
bon suite a diffèrent test j'ai foiré un truc du coup j'ai supprimé le détecteur de porte
et je n'arrive plus a le remettre
donc j'ai recommencé l'install et rien

je me souviens plus comment j'ai réussi a "l'include" dans domoticz
j'ai appairé le détecteur avec le stick = ok ( en mode autonome pas connecté sur le Hub Usb)
par contre j'ai un doute après
est que je lance "gestion de nœud" et inclure le nœud avec le stick seul ou branché sur le hub (je pense sur le Hub)

Re: adjonction d'un module détecteur de porte
Publié : 21 déc. 2021, 22:21
par Franck85230
Install de nouveau ok
