felixls / node-red-contrib-tplink-smarthome

A collection of node-red nodes for TP-Link Smart Home devices
MIT License
8 stars 29 forks source link

IP adress as msg.topic #14

Open roopkeed opened 4 years ago

roopkeed commented 4 years ago

Hi Felix, Sorry about that but I'm very new to Github and npm. I'm curious and want to learn. My initial need is to define the IP address of the HS110 i want to command by a msg.topic or msg.host sent in the SmartPlug node. Should i modifiy the smart-plug.js file ? How can i test the new file/smartPlug node ? Thank you for your reply. Antoine.

nhausman1 commented 4 years ago

What is your high-level goal here? Generally, you define the device IP via the flow editor in the node-red GUI. For example, I'm setting the device IP for my smart bulb here: Screen Shot 2020-05-10 at 11 21 27 AM