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.
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.
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.