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.
There’s no point in creating virtual switches for nspanel pro in node-red. Switches created in nspanel pro don’t work. Pressing the switch on the nspanel pro screen doesn’t do anything. Furthermore, the device often freezes.
Thank you very much for using NSPanel Pro and very sorry for the issue.
We were busy rolling out V4.x App for NSPanel Pro. This version has been completely rewritten in Kotlin and it should provide much better performance and stability.
So what you want is exporting non-eWeLink devices to NSPanel Pro in order to have device UI on the touchscreen of NSPanel Pro? And you are directly using Node-Red (not Home Assistant) for this task?
V4.x firmware for NSPanel Pro supports F-Droid App store. You can install Home Assistant App from F-Droid, and then have all your devices in Home Assistant on NSPanel Pro touchscreen through it.
Please let me know whether this setup fits your need, or if you need better experience integrating non-eWeLink devices on NSPanel Pro?