I came across this github through http://automation.rmrr42.com/2018/12/ . I have four original, v1 plugs and they appear to work fine with these tools and the port number is 49153. With the new smart plug the code still executes the ON and OFF actions. The other actions of GETNAME and GETSTATE do not work. I read the other issues and tried the port checking code posted and found that no port is detected. Of course with the updated code the script aborts so the ON and OFF actions are not tried. Are there any ideas about this, please? I'm not really knowledgeable about IoT stuff and I'm not a programmer by profession. An additional observation is that the plugin homebridge-wemo works fine and provides, through the UI of homebridge, the name, state, and ability to turn off and on the new plug.
Later, I found that telnet connects 49512 for the new plug not 49513 as for the old ones.
I came across this github through http://automation.rmrr42.com/2018/12/ . I have four original, v1 plugs and they appear to work fine with these tools and the port number is 49153. With the new smart plug the code still executes the ON and OFF actions. The other actions of GETNAME and GETSTATE do not work. I read the other issues and tried the port checking code posted and found that no port is detected. Of course with the updated code the script aborts so the ON and OFF actions are not tried. Are there any ideas about this, please? I'm not really knowledgeable about IoT stuff and I'm not a programmer by profession. An additional observation is that the plugin homebridge-wemo works fine and provides, through the UI of homebridge, the name, state, and ability to turn off and on the new plug.
Later, I found that telnet connects 49512 for the new plug not 49513 as for the old ones.