I thought I’d start a new thread on the best ways to get this working with openhab.
I current have it working for me, replacing all the sources on the home screen with better feeds from openhab. and the thermostat working. Ive used normal config in the main UI in 3.2 and a few groovy scripts.
Basically, I’ve flashed tasmota and use mqtt to link to openhab.
This guide gets you started;
I run this script from openhab to set the buttons up;
import org.slf4j.LoggerFactory
def logger = LoggerFactory.getLogger("org.openhab.core.automation.nspanel")
logger.info("NS init ...")
Thread.sleep(5000)
mqtt = actions.get("mqtt","mqtt:broker:mqtt_broker")
//mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"index\":1,\"type\":\"delete\"}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":1,\"ctype\":\"device\",\"id\":\"2\",\"uiid\":52}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":2,\"ctype\":\"device\",\"id\":\"2\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":3,\"ctype\":\"device\",\"id\":\"3\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":4,\"ctype\":\"device\",\"id\":\"4\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":5,\"ctype\":\"device\",\"id\":\"5\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":6,\"ctype\":\"device\",\"id\":\"6\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":7,\"ctype\":\"device\",\"id\":\"7\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"HMI_resources\":[{\"index\":8,\"ctype\":\"device\",\"id\":\"8\",\"uiid\":1}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"1\",\"online\":true,\"name\":\"Cabin\",\"params\":{\"ltype\":\"white\"},\"white\":{\"br\":50}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"2\",\"online\":true,\"name\":\"Cabin\",\"params\":{\"switch\":\"off\"}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"3\",\"online\":true,\"name\":\"Balcony\",\"params\":{\"switch\":\"off\"}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"4\",\"online\":true,\"name\":\"Decking\",\"params\":{\"switch\":\"off\"}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"5\",\"online\":true,\"name\":\"Movie\",\"params\":{\"switch\":\"off\"}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"6\",\"online\":true,\"name\":\"Garage\",\"params\":{\"switch\":\"off\"}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"7\",\"online\":true,\"name\":\"Master\",\"params\":{\"switch\":\"off\"}}]}")
mqtt.publishMQTT("cmnd/nspanel/nspsend","{\"relation\":[{\"id\":\"8\",\"online\":true,\"name\":\"Lounge\",\"params\":{\"switch\":\"off\"}}]}")
There is an nspanel.be
file mentioned in the above install. I commented out a couple of lines that update the screen with rubbish data and added an extra MQT message so I know when the screen has been initialised, so I can add my buttons back, when it restarts.
These were my changes to nspanel.be

This basically stops the items on the screem being updated by anything other that changes you make. Before this you’d set them temp to what you wanted and a few mins later it would be overrriden by the one on the device, which is very wrong. mine is +6 or more high. I think the unit itself gives off internal heat, which makes it useless.
The UI button behave a bit odd. when you press one to ON, it visually moves to ON, send an MTQ message out saying it’s ON, then visually jumps back to OFF!!? if you want it so stay visually ON you need to send a command back to the device to change it ON. Then it stays ON. This seems to be the case for all (except the very first button for some stange reason, which keeps it’s state)
I’ll post these when I get some more time
NxPanel
Latest Version here;
https://github.com/peepshow-21/ns-flash/blob/master/tft/nxpanel.tft
Current Pages;