Skip to content

Handle additional ports and prevent hanging commands#7

Open
dougfultz wants to merge 2 commits into
agilemation:masterfrom
dougfultz:patch-1
Open

Handle additional ports and prevent hanging commands#7
dougfultz wants to merge 2 commits into
agilemation:masterfrom
dougfultz:patch-1

Conversation

@dougfultz

Copy link
Copy Markdown

cf713e1 resolves issues #3 & #4
453af39 fixes an unreported issue where the port test hangs for long period of time.

@whitedavidp

Copy link
Copy Markdown

Hello and thanks for this. I have been using it for some time without issues. Then I didn't have cause to use it for a while until today when it seemed to hang. I found and installed this version of the main file in an attempt to fix things. But it still seems to hang at port 49153 (2nd out of 4).

I am simply issuing:

bash wemo -h 192.168.1.110 -a ON

and

bash wemo -h 192.168.1.110 -a OFF

The version of your command is shown as 1.0.27. I have checked and the IP is still correct. I have the router reserving that one based on MAC. The wemo app can toggle it on/off.

I cannot help but wonder if the wemo socket has updated itself and this breaks your code? The wemo app shows the firmware as WeMo_WW_2.0.10966.PVT-OWRT-SNS if that is of any help.

Thanks for any tips/help.

@whitedavidp

Copy link
Copy Markdown

Well, it turns out that your code is not the problem. Somehow, the wemo changed its MAC address from ending in 1D to 1C. No idea how that could have happened. But it made my router not get the IP on the right place. I am not sure I will ever understand this. Sorry for the bother.

@disgustipated

Copy link
Copy Markdown

manually added this to the node modules and works. this needs to be merged @agilemation

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

Successfully merging this pull request may close these issues.

3 participants