nspanel icon indicating copy to clipboard operation
nspanel copied to clipboard

No touch after NspSend

Open wolkeSoftware opened this issue 3 years ago • 3 comments

I just found a strange problem, after sending data to the nsPanel. I used the console to write something like this: nspsend {"HMI_resources":[{"index":2,"ctype":"group","id":"1000f190e6","uiid":103}]} When I'm on the second page, I can see the new generated element and I can use it. But when I swipe to the next screen or the homescreen, there is no more touch possible. I can't change pages or even swipe down to use the dim-tools. To change the uiid doesn't make a change, I also tried 1, 2 ... Anybody else with the same issue?

wolkeSoftware avatar Apr 22 '22 11:04 wolkeSoftware

try to send items for each index

When initially drawing widgets you need to send commands for all 8 indexes, if you want to keep an index empty send a delete command for that index.

https://blakadder.github.io/nspanel/

joBr99 avatar Apr 22 '22 11:04 joBr99

Thanks - that was a fast reply! I setup all widgets and it worked. After that I deleted one, and unfortunately the touch is not working again. I've made several tries - if you delete the last entry with position 8, it's working fine, but if you delete the first widget, the touch seems to be disabled. I think, the best would be to setup the 8 positions every time you change (add/delete) one item. In my case, this was the only way to keep it working.

wolkeSoftware avatar Apr 22 '22 11:04 wolkeSoftware

alternatively you can just define the widgets within the berry script

The firmware requires widgets for all positions

https://blakadder.github.io/nspanel/

When initially drawing widgets you need to send commands for all 8 indexes, if you want to keep an index empty send a delete command for that index.

joBr99 avatar Apr 22 '22 14:04 joBr99