Closed MHagreis closed 1 year ago
just a guess, (i am not using this),
but may you must use curly- brackets{}
and set payload-type to JSON
use this in a function node
msg.payload = { command: "setWLanPassword", wlan_id: "you can get the id from the command getWLanSettings", x_passphrase: "New Password"}; return msg;
this works perfect thanks problem was is the wlanID this is the last part of the URL in the Unifi controller if you select the WIFI settings in the Unifi controller
thanks or putting me in the right direction now node red can create a password set this to guest wifi and create a QR code to scan :-) solved all my challenges thanks
That sounds great 👍
msg.payload.command = setWLanPassword, wlan_id: My-Test x_passphrase: Newpassword
msg.payload.command = setWLanPassword, wlan_id: "My-Test" x_passphrase: "Newpassword"
What am i doing wrong node gives back No Command read works perfect and account is able to write to UNIFI DreamMachine