Bonjour,
J'ai trouvé votre installation tellement simple et intéressante, que je me suis lancé.
J'ai donc configuré un WEMOS(LOLIN) D1 mini avec ESPeasy et déclaré un device ser2net comme vous l'avez indiqué.
L'ESP est relié à Linky par un LTV814 et dans mon cas relié à la broche Rx du Wemos sur le collecteur d'un BC547.
J'ai lancé ensuite à la mano un sudo socat... puis visualisé le port ttyUSB qui va bien. Je reçois parfaitement les trames teleinfo. Jusque là tout va bien.
J'ai ensuite ajouté le materiel Teleinfo EDF dans Domoticz... bon c'est là que les ennuis commencent.
Je ne suis pas tres malin mais je n'arrive pas à comprendre pourquoi domoticz réusi à lire ponctuellement les infos de teleinfo EDF et ensuite plante. Apparemment Domoticz détecte une: Error: ASyncSerial: Error setting options!
Mais pourqui ça marche parfois, les trames sont toujours disponibles sur le port tty.
Si quelqu'un peu m'aider, je suis preneur, d'avance merci.
Ci-dessous les messages status de Domoticz suite à un stop start du service.
Puis les devices détectés par Domoticz.
2019-07-23 11:28:53.106 Sunrise: 06:36:00 SunSet: 21:37:00
2019-07-23 11:28:53.106 Day length: 15:01:00 Sun at south: 14:07:00
2019-07-23 11:28:53.106 Civil twilight start: 06:01:00 Civil twilight end: 22:12:00
2019-07-23 11:28:53.106 Nautical twilight start: 05:17:00 Nautical twilight end: 22:57:00
2019-07-23 11:28:53.106 Astronomical twilight start: 04:23:00 Astronomical twilight end: 23:50:00
2019-07-23 11:28:53.115 Active notification Subsystems: email, pushover (2/13)
2019-07-23 11:28:53.158 Starting shared server on: :::6144
2019-07-23 11:28:53.062 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2019-07-23 11:28:53.064 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2019-07-23 11:28:53.065 Status: Startup Path: /home/pi/domoticz/
2019-07-23 11:28:53.106 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2019-07-23 11:28:53.117 Status: WebServer(HTTP) started on address: :: with port 8080
2019-07-23 11:28:53.122 Status: WebServer(SSL) started on address: :: with port 443
2019-07-23 11:28:53.124 Status: Camera: settings (re)loaded
2019-07-23 11:28:53.159 Status: RxQueue: queue worker started...
2019-07-23 11:28:53.159 Status: TCPServer: shared server started...
2019-07-23 11:28:55.160 Status: GPIO: This hardware is deprecated. Please transfer to the new SysFS hardware type!
2019-07-23 11:28:55.162 Status: (Linky) Teleinfo device uses serial port: /dev/ttyUSB20 at 1200 bauds
2019-07-23 11:28:55.163 Status: Teleinfo: Serial port open failed, let's retry with CharSize:8 ...
2019-07-23 11:28:55.164 Status: Teleinfo: Serial port open successfully with CharSize:8 ...
2019-07-23 11:28:55.164 Status: (Linky) CRC checks on incoming data are disabled
2019-07-23 11:28:55.164 Status: EventSystem: reset all events...
2019-07-23 11:28:55.165 Status: EventSystem: reset all device statuses...
2019-07-23 11:28:55.225 Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2019-07-23 11:28:55.225 Status: EventSystem: Started
2019-07-23 11:28:55.225 Status: EventSystem: Queue thread started...
2019-07-23 11:28:55.660 Status: OpenZWave: using config in: /home/pi/domoticz/Config/
2019-07-23 11:28:55.662 Status: OpenZWave: Starting...
2019-07-23 11:28:55.662 Status: OpenZWave: Version: 1.4-3335-g74e05982-dirty
2019-07-23 11:28:55.792 Status: OpenZWave: Driver Ready
2019-07-23 11:28:55.163
Error: ASyncSerial: Error setting options!
2019-07-23 11:29:13.181 Status: OpenZWave: Received timeout notification from HomeID: 4036547416, NodeID: 13 (0x0d)
2019-07-23 11:29:17.863 Status: OpenZWave: Received timeout notification from HomeID: 4036547416, NodeID: 14 (0x0e)
2019-07-23 11:29:22.526 Status: OpenZWave: Received timeout notification from HomeID: 4036547416, NodeID: 16 (0x10)
2019-07-23 11:29:27.192 Status: OpenZWave: Received timeout notification from HomeID: 4036547416, NodeID: 17 (0x11)
2019-07-23 11:29:27.484 Status: OpenZWave: Awake Nodes queried

- Linky.jpg (78.7 Kio) Consulté 7863 fois