Handle additional ports and prevent hanging commands#7
Conversation
|
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. |
|
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. |
|
manually added this to the node modules and works. this needs to be merged @agilemation |
cf713e1 resolves issues #3 & #4
453af39 fixes an unreported issue where the port test hangs for long period of time.