Virtual Switch on NSPanel Pro

Hi All,

I previously could create a virtual switch on iHost but am trying to do the same with an NSPanel but I keep getting errors. I followed the same structure that previously worked but am getting an invalid parameter error. I need to send a signal into nodered from the NSPanel to control non-Sonoff devices like my lock for example.

Are you trying to create the virtual switch using the Node Red palette?

Yes I am

And what device is the Node Red running on? I connected a Raspberry Pi running Home Assistant with the normal Node Red Add On and connected my NSPP fine ages ago, but I’m not sure I have reconnected them since getting a new DHCP server.

Full HA is running on a VM on a PC. Any chance you send a guide as to how you got connected? My iHost worked but the NSPP isn’t.

Not sure I remember fully what I did as it was so long ago. From what I remember getting a token is more of a faff than the iHost though. There you just switch tabs. But I had to run to a different room with the NSPP in it and okay the connection. Are you getting past the token bit fine?

Yes the token was the easy bit. Can’t do anything more. Keep getting a wrong params error because I think I’m not sending the http POST node the right info.