Sonoff NSPanel Pro as an openHAB control panel

Well I was thinking more on enabling that fancy wheel with display on the right side of the panel. Does OH client support that?

https://www.reddit.com/r/homeassistant/comments/13t3v4k/s8e_tuya_touch_display_side_app_use_for_ha/

from reddit comments:

I got some use out of the dial for anyone interested

Counter Clockwise is "Hardware Key Event: F3 Up "

In my case turns HA Lights off (https://sharex.daveys.xyz/nUha3/SORAhuZE81.xml)

Clockwise is "Hardware Key Event: F2 Up"

In my case turns HA Lights on (https://sharex.daveys.xyz/nUha3/MERAnUYo54.xml)

Both examples are from Automagic

and more:

Okay Nevermind, it works. I just needed to restart. Awesome Discovery.

For those who are wondering how it work, basically the KeyEvent 132 and 133 corresponds to F2 and F3. You can download https://m.apkpure.com/keyevent-display/aws.apps.keyeventdisplay/download#google_vignette, Turn your knob and then correspond it to constant values in [https://developer.android.com/reference/android/view/KeyEvent](https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_F3)

some more info
https://www.reddit.com/r/homeassistant/comments/18q6crt/s8e_never_sleeps_if_tuya_app_is_disabled/

* My screens did not sleep at all. here is how i fixed it
  * IF no-one around in 20s- sleep :
I use the proximity sensor to distinguish every 20s if someone is in front of the screen. if not i echo a 1 to the fb0 blank file and i shut down the main screen.
  * IF some-one in front of the unit - turn on the screen
Echo a 0 to the fb0 blank file brings up the screen back to life.

basically I’m just gathering info in this thread as I am considering getting one of these units and start fiddling with it :slight_smile:

1 Like

Hi Guys.
i followed this and got everything done. installed the apk for openhab. got everything up and working.
but here is the issue. sonoff nspanel pro has openhab app installed. but can’t connect to the server.

my openhab server is running on a VM.
Openhab version : openHAB 4.3.0.M4
openhab app on apple): 3.0.5
Openhab app on Panel tried : 3.0.3 up to 3.16

i get ssl handshake failed.

please can some one point me in the right directions.