Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widgets layout dissapear after panel restart #19

Closed
ilexpl01 opened this issue Feb 3, 2022 · 6 comments
Closed

Widgets layout dissapear after panel restart #19

ilexpl01 opened this issue Feb 3, 2022 · 6 comments

Comments

@ilexpl01
Copy link

ilexpl01 commented Feb 3, 2022

Hello,

I have flashed Tasmota to my NSPanel (EU). I can add/remove widgets using MQTT publish command.

After the restart all my changes diseppear - widgets schema looks as factory setup.

Any hint ?

@joBr99
Copy link
Collaborator

joBr99 commented Feb 3, 2022

Hey,
this should be normal behaviour, you can configure your widgets in the nspanel.be driver script itself or send them every times your nspanel starts.

@ilexpl01
Copy link
Author

ilexpl01 commented Feb 3, 2022

OK, I thought so :) Where can I look for any examples or wiki how to adjust nspanel.be script ?

@joBr99
Copy link
Collaborator

joBr99 commented Feb 3, 2022

Look at the stuff after line 10 in nspanel.be, just define your widgets in the array there, you should be familiar with it if you already configured widgets over mqtt.

@ilexpl01
Copy link
Author

ilexpl01 commented Feb 3, 2022

Wow, that was easy, how could I miss that - thank You a lot !

Two more questions if I may:

  1. Screen goes off after couple of minutes - is there an option to keep it on permanently ? I have tried with NSPDim - not much luck
  2. Is there any command to dimm the screen to specified level over mqtt ?

@joBr99
Copy link
Collaborator

joBr99 commented Feb 3, 2022

According to Blakadder's Protocol docs you have to send the following message to keep the screen always on:
{"HMI_dimOpen":0}

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

@ilexpl01
Copy link
Author

ilexpl01 commented Feb 3, 2022

It does work -thx !

@ilexpl01 ilexpl01 closed this as completed Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants