bytespider / Meross

Investigating the Meross/Refoss MSS310 Smart Plug and getting these devices to communicate with our private MQTT brokers
113 stars 19 forks source link

TLS 1.1 is no longer supported in mosquitto #8

Closed skullydazed closed 4 years ago

skullydazed commented 4 years ago

It looks like tls_version tlsv1.1 is no longer required, and makes testing with mosquitto_sub impossible. Removing it from my mosquitto config still allowed my to connect my MSS110's.

/appliance/XXXXXXX/publish {"header":{"messageId":"a1605224f8b808178c8bdac5d8e239dc","namespace":"Appliance.System.Clock","method":"PUSH","payloadVersion":1,"from":"/appliance/XXXXXXX/publish","timestamp":4,"timestampMs":257,"sign":"27f5352964c535596c659880231f8ff9"},"payload":{"clock":{"timestamp":4}}}
/appliance/XXXXXXX/publish {"header":{"messageId":"113bb9db042646b5d561b8c74058d0ed","namespace":"Appliance.System.Clock","method":"PUSH","payloadVersion":1,"from":"/appliance/XXXXXXX/publish","timestamp":6,"timestampMs":265,"sign":"0bbeb9f303ad83b96861fc934307eb37"},"payload":{"clock":{"timestamp":6}}}
/appliance/XXXXXXX/publish {"header":{"messageId":"a97dd90c9e0f42a8de14fd6510bf98f7","namespace":"Appliance.System.Report","method":"PUSH","payloadVersion":1,"from":"/appliance/XXXXXXX/publish","timestamp":1594520169,"timestampMs":272,"sign":"ba847d1fe461a7f7e49e9117813a8f80"},"payload":{"report":[{"type":"1","value":"1","timestamp":1594520169}]}}
/appliance/XXXXXXX/publish {"header":{"messageId":"9565a7b2576e1cc1ef3a71014aef14af","namespace":"Appliance.Control.Bind","method":"PUSH","payloadVersion":1,"from":"/appliance/XXXXXXX/publish","timestamp":1594520169,"timestampMs":281,"sign":"6917de4509bd834dd600041d6289c1ce"},"payload":{"bind":{"bindTime":1594520169,"time":{"timestamp":1594520169,"timezone":"","timeRule":[]},"hardware":{"type":"mss110","subType":"us","version":"2.0.0","chipType":"mt7682","uuid":"XXXXXXX","macAddress":"48:e1:e9:XX:XX:XX"},"firmware":{"version":"2.1.19","compileTime":"2020/04/15 17:02:04 GMT +08:00","wifiMac":"0c:80:63:XX:XX:XX","innerIp":"172.16.XX.219","server":"172.16.XX.2","port":8883,"userId":0}}}}
bytespider commented 4 years ago

That is correct.

I have updated the wiki page to reflect this.