Skip to content
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

Can this work with the latest smart plug, hardware version v4? #9

Open
github22222 opened this issue Oct 29, 2021 · 0 comments
Open

Comments

@github22222
Copy link

github22222 commented Oct 29, 2021

I just got the latest v4 smart plug and it can turn the plug on and off using port number 49152 not 49153. However, the query action gives an unhandled exception:
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at WemoNet.Communications.WemoPlug.VerifyWemoDevice(HttpWebRequest request, String reqContentSoap) in D:\Documents\C Sharp Code\Wemo.net-master\WemoCommunications\WemoNet\Communications\WemoPlug.cs:line 297
at WemoNet.Communications.WemoPlug.<>c__DisplayClass30_0.<b__1>d.MoveNext() in D:\Documents\C Sharp Code\Wemo.net-master\WemoCommunications\WemoNet\Communications\WemoPlug.cs:line 170
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.<>c.b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant