caseyjhol / node-red-contrib-tplink

A collection of Node-RED nodes for TP-Link Smart Home devices
https://www.npmjs.com/package/node-red-contrib-tplink-iot
MIT License
16 stars 15 forks source link

Implement Per-device set state for KP400 #20

Closed uncled1023 closed 4 years ago

uncled1023 commented 4 years ago

I currently have a couple Outdoor Plugs that I want to be able to set each plug separately. This doesn't seem to work using the 'plug' parameter. 0 sets it for all, and 1/2 don't do anything.

caseyjhol commented 4 years ago

I just added a "debug" property to the smart-plug node. Please enable debug, and let me know what the output is.

uncled1023 commented 4 years ago

Alright, here is the output from it: https://p.teknik.io/jFrwr

caseyjhol commented 4 years ago

Thanks - checking into this.

caseyjhol commented 4 years ago

@MaddyTP You have any thoughts on this?

MaddyTP commented 4 years ago

When was the last time firmware was updated? Internals should be the same as the HS107 which works fine...

uncled1023 commented 4 years ago

It's currently on firmware 1.0.10

MaddyTP commented 4 years ago

It seems some people are having issues with firmware 1.0.10 in other environments, could be a firmware issue. Can you try a hard reset (hold button for 15 seconds) and run through the setup/firmware update?

uncled1023 commented 4 years ago

Interesting, so after a hard reset and setting it back up, it's now working correctly. Seems like that firmware upgrade did something to the devices.

MaddyTP commented 4 years ago

Excellent!

caseyjhol commented 4 years ago

Glad to hear it's working!