-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this support MSS310 Hardware Version 6 ? #53
Comments
Same problem, Can't access /config path, But can open http://10.10.10.1 with config panel. |
Same problem here with same version :( |
I've experienced the timeout with a 6.0.0 device and 6.1.10 fw. The timeout is originating from the device and might be based on one or more of the values in the payload. Testing different payloads with a REST tool I was able to configure the device with combinations of resetting the switch and modifying the messageId & timestamp values in the header object. 6.0.0 device on 6.3.21 firmware doesn't work at all. The password in the wifi payload doesn't appear to be just base64 encoding the clear text string, so I think that's why the device fails to connect after the setup request. |
Hello @bitsonbitsoff, I have a device with fw 6.1.12. Can you share us the payload that worked with fw 6.1.10 ? |
Its similar to the payload sent with the bytespider setup utility. The extra fields I sniffed from the iOS app, but I'm not certain they are required. I was able to configure the device with the bytespider setup at one point, but it was inconsistent and only after a factory reset. It feels like the firmware gets stuck on some requests, keeps the socket open and blocks subsequent calls, which could be why the factory reset helps in some cases. I'm not getting predictable results everytime, so I hope this doesn't lead you astray.
|
Unfortunately I don't have these devices to test. You could try using mqtt-debug to see if that still works on these to observe the communication between the device and the Meross IOT servers. https://github.com/bytespider/mqtt-debug |
Thank you for the suggestion to use matt-debug - I will give it a try as soon as I can and provide feedback. |
In the interim, as a stop-gap, I registered the HWv6 devices with the Meross application (as you would normally), thence registered I block their internet access. Then I was able to add them manually in HA using the authorisation key as per the others. So not ideal, as a stop-gap it means they are working with HA (Meross Lan integration) but have no internet connection as I dont want them talking to anyone else. |
I also have some new Meross plugs (mss310 un rtl8710cf (hardware:6.0.0 firmware:6.3.6)) When I apply the mqtt configuration to them, they reboot and seemingly connect to the wifi correctly (as they are discovered by HA - but only as 'Meross Lan' devices), however, after about 60 seconds, they reboot themselves and revert to AP mode. However, after trying, and retrying, to apply the settings they finally appear to have stuck. In Home assistant they are discovered correctly as "Meross Smart Plug (mss310)" The only change to the settings that I was making was changing the mqtt broker address from an IP address to a dns alias (and back). I'm using - v1.0.12 of this the meross-info app. Not a huge amount of help to those unable to get the new firmware working, but it appears if you keep trying they stick eventually. |
I added a PR that might fix the wifi connection issue on newer revisions / firmwares. |
In addition to my v2.0.0 hardware devices with firmware 2.1.15 and my V6.0.0 hardware devices with firmware 6.1.12; I now have some more V6.0.0 Hardware devices but with different firmware. I do not upgrade the ones I have, these new ones shipped with the newer firmware. So I can now test against firmware versions 2.1.15, 6.1.12 and 6.3.6 as soon as a new version of the tool is available. |
Update to this (not so good) workaround. The DND and Power On/Off continued to work but the voltage/current/etc stopped reporting. After some playing I believe the plugs need access to an NTP server, at least at power on. I have therefore blocked all internet access except the non-Chinese NTP servers. Although only been a couple of days it seems the two v6 HW firmwares behave differently and I am still getting some issues. None of this is ideal, the ultimate aim being to configure the MQTT settings for local only use. But in case it helps others I will update again if I conclude anything more about the plugs behaviour whilst trying to disconnect them from the internet as far possible. But again, local MQTT is the ideal solution. |
My mss310 v6 plugs all on firmware v6.1.12 run exclusively on my local broker. Apart from some issues with the Home Assistant integration (need to either restart HA or run a trace command, i.e. initiate home assistant to talk to it) they work quite well. As an aside: The ntp requests i did not see on my v6 ones, and i doubt they try it as the v6 run on a rtl8710cf microcontroller. The v2 used a small linux inside iirc, the requests might come from those. The only traffic i was able to capture was mqtt on the v6. Another plus on the v6 is the consumption once configured is only about |
@RaoulSargent Did you try to set the time through MQTT ? |
Currently I cannot get any of my hardware v6 MSS310's to be configured with local MQTT broker, so sadly I cannot communicate with them via MQTT. |
How did you get the v6 hardware plugs to talk to your local MQTT Broker ? |
With the code from this PR i successfully got them into my wifi and configured for the local mqtt broker. Inside the You should be able to test it with the referenced branch from the PR im my fork. Edit: However, i never had any errors issuing |
SUCCESS - THANK YOU :-) MSS310 Hardware v6 Firmware 6.3.6 WORKED MSS310 Hardware v6 Firmware 6.3.6 MSS310 Hardware v6 Firmware 6.1.12 However, for the Firmware 6.1.12 device I am seeing these "SIGN ERROR" messages in MQTT at every update interval: Examples: {"header":{"messageId":"15419275f57bebee8720af506f2b5438","namespace":"Appliance.Control.Bind","method":"ERROR","payloadVersion":1,"from":"/appliance/OBFUSCATED/publish","uuid":"OBFUSCATED","timestamp":1676972478,"timestampMs":366,"sign":"efa361abcOBFUSCATED2b0e0cf"},"payload":{"error":{"code":5001,"detail":"sign error"}}} {"header":{"messageId":"4eb42fb6c584409aa9c6eaf78af9d334","namespace":"Appliance.Control.Electricity","method":"ERROR","payloadVersion":1,"from":"/appliance/OBFUSCATED/publish","uuid":"OBFUSCATED","timestamp":1676972663,"timestampMs":888,"sign":"ebbOBFUSCATEDcdbf605f"},"payload":{"error":{"code":5001,"detail":"sign error"}}} {"header":{"messageId":"2d088ea94d7b4ce89cd33a3f000721d8","namespace":"Appliance.Control.ConsumptionX","method":"ERROR","payloadVersion":1,"from":"/appliance/OBFUSCATED/publish","uuid":"OBFUSCATED","timestamp":1676972635,"timestampMs":434,"sign":"4ca46OBFUSCATEDfb66d"},"payload":{"error":{"code":5001,"detail":"sign error"}}} |
Regarding
This could be the same issue as reported here and should be fixed in the next release of meross lan. |
The PR is also working for me. Thank you @DominikGebhart ! I don't have any sign issue, but I use a custom signing key provided during setup. Anyway, I still have a small issue: my plug keep sending Appliance.Control.Bind and Appliance.System.Report messages every 10 seconds or so.
Do you have an idea what could cause this and how to fix it ? |
Sorry, no idea. This should only get sent once after setup. Have you tried to reset those devices and pair them fresh? If the problem persists best to create an issue in the meross lan integation project. In this issue there is a similar problem but for a different device. |
The issue you mentionned seems promising, and I will implement the proposed solution (aka reply with an empty SETACK). Thanks ;) |
Just to confirm that my issue is fixed. My MSS310 do not send Bind messages envery 10 seconds anymore, its LED is solid green, and I have correct power measurments. :) Thanks @DominikGebhart and everyone else ! |
Sorry I totally missed this. Thank you @DominikGebhart for working this out. |
Having worked perfectly with MSS310 Hardware Version 2 devices, I now have a number of MSS310 Hardware Version 6 (6.1.12), and sadly these brilliant tools seem to no longer work - or what am I doing wrong?
I believe the error occurs following a timeout situation, as it takes approx 60 seconds between entering the command and the error occuring.
and...
The text was updated successfully, but these errors were encountered: