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.

2 Likes

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.

1 Like

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.

Sorry I forgot I was in the middle of a chat. Where are you seeing the error messages: Node Red Log?

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.

Some more information about V4.x: NSPanel Pro V4.0.0 Update: Supports F-Droid and Home Assistant App Ins

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?

1 Like

Yes I have a smart ceiling fan with light that I’d like to control with nspanel pro. I am currently using a home assistant integration for this.

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?