ok
Si c’est uniquement sonoff c’est probablement un souci réseau où ta VM n’est pas configurée de la même façon et ne récupère pas les messages mdns, le log _cmd devrait être :
[2024-05-12 00:20:50][DEBUG] : - Receive after decode :{"sledOnline":"off","configure":[{"startup":"off","outlet":0},{"startup":"off","outlet":1},{"startup":"off","outlet":2},{"startup":"off","outlet":3}],"pulses":[{"pulse":"off","width":1000,"outlet":0},{"pulse":"off","width":1000,"outlet":1},{"pulse":"off","width":1000,"outlet":2},{"pulse":"off","width":1000,"outlet":3}],"switches":[{"switch":"off","outlet":0},{"switch":"on","outlet":1},{"switch":"off","outlet":2},{"switch":"on","outlet":3}],"ssid":"Viviers_BC_97","bssid":"14:cc:20:40:9e:4e"} sledOnline|off configure|Array pulses|Array switches|Array ssid|Vixxxxxxxxx bssid|14:xxxxxxxxxx4e
[2024-05-12 00:20:50][DEBUG] : - Receive after decode :{"sledOnline":"off","configure":[{"startup":"off","outlet":0},{"startup":"off","outlet":1},{"startup":"off","outlet":2},{"startup":"off","outlet":3}],"pulses":[{"pulse":"off","width":1000,"outlet":0},{"pulse":"off","width":1000,"outlet":1},{"pulse":"off","width":1000,"outlet":2},{"pulse":"off","width":1000,"outlet":3}],"switches":[{"switch":"off","outlet":0},{"switch":"on","outlet":1},{"switch":"off","outlet":2},{"switch":"on","outlet":3}],"ssid":"Viviers_BC_97","bssid":"14:cc:20:40:9e:4e"} sledOnline|off configure|Array pulses|Array switches|Array ssid|Vixxxxxxxxx bssid|14:xxxxxxxxxx4e
[2024-05-12 00:20:50][DEBUG] : - Receive after decode :{"sledOnline":"off","configure":[{"startup":"off","outlet":0},{"startup":"off","outlet":1},{"startup":"off","outlet":2},{"startup":"off","outlet":3}],"pulses":[{"pulse":"off","width":1000,"outlet":0},{"pulse":"off","width":1000,"outlet":1},{"pulse":"off","width":1000,"outlet":2},{"pulse":"off","width":1000,"outlet":3}],"switches":[{"switch":"off","outlet":0},{"switch":"on","outlet":1},{"switch":"off","outlet":2},{"switch":"on","outlet":3}],"ssid":"Viviers_BC_97","bssid":"14:cc:20:40:9e:4e"} sledOnline|off configure|Array pulses|Array switches|Array ssid|Vixxxxxxxxx bssid|14:xxxxxxxxxx4e
et le log _dem :
[2024-05-12 00:15:26][DEBUG] : * - name:eWeLink_10020035f5._ewelink._tcp.local - port:8081 ip:192.168.1.51 data:{"txtvers":"1","id":"10020035f5","type":"strip","apivers":"1","seq":"7989","encrypt":"true","iv":"xxxxxxxxxxxxxxxxxxxxxxxxxx","data1":"TrjjuFEA5bLge+3ug4aNcOcwpFJtXOOTJhKcHV/DZxGJChZeYmLWWgOKq41GoUjjnhjiWXqDl66Lqke4mLOtOdq58tbrLoaZD+4zxKoJaSOf7je4vUnTBJFL0QntnKqNTcQLg+TrlEOXPenq5/mIXbcjV8dYR4UzSMUGH+XSJfXSpRFCzoaGf0JHr1s5jY2MtOMLF3sFc7kmEeQLgSGCqvzM+gK44b1CCDN9JM4b9AzJFUNzTaj0bBDwZ","data2":"zK6R2w9gpJMwTqfGxmhsOnLkJxkuGbnDcVY/Aok4ELXrcWfo7pJN/3vG2j+5cGJC033mxS2UXrZZCkLKV3K0MOsWBV/ob6uYn0LvZp3ehmc5WuLEPx9iYAn1Yqv3pd042HYVCA+66zlNLYncqJg1pp1VV9PjjpUVpyJhCpmK1OBqUGNwl5IWXWdW1P9W9+hWBBeVrYJeLXfIl0RJCj9NMqlbh+xTyqdqfDbredAtwSLi+B41MkO8XdiXT","data3":"FGtL5yknhaXBJWQzDJH8CHfEN3kqDwF38FxUAQ5eLRW8gZw3o0FhAGhGODIDszFZU8nbKjn9nqKPbrHpNy/oGWj38qUremPASQRpCgNkSolmYjTEvm+9PDBsESj57ziha8TMF+fDWQOlRJqEpmhu/XXSKn+3cAxYKllg=="} - End mDNS
[2024-05-12 00:15:27][DEBUG] : - On:0 - Timer:2 - Led:0 - Impuls:0 - Start:off
[2024-05-12 00:15:27][DEBUG] : - On:1 - Timer:2 - Led:0 - Impuls:0 - Start:off
[2024-05-12 00:15:27][DEBUG] : - On:0 - Timer:2 - Led:0 - Impuls:0 - Start:off
[2024-05-12 00:15:27][DEBUG] : - On:1 - Timer:2 - Led:0 - Impuls:0 - Start:off
Donc test à faire :
- désactiver tous les sonoff sauf celui à tester
- agir sur le sonoff avec l’appli ewelink
- si pas de message comme ci-dessous, c’est un filtrage entre le sonoff et la VM concernant le mDNS
http://wapiti.enic.fr/Commun/ens/peda/options/ST/RIO/pub/exposes/exposesrio2009/CUSINPANIT-DUTHILLEUL/protocole.html