peepshow-21 / ns-flash

35 stars 16 forks source link

You are awesome but I have some additional questions #35

Closed viper-666 closed 2 years ago

viper-666 commented 2 years ago

panel Really great how fast you have integrated my request for colored buttons. They work great!!! But there is a additional button in the top left corner. I think that is to show a summary what is great for my application so I can show there if all windows and doors are closed. But what is the code to control it. And I think it would be great if it isn't visible if you don't configure it maybe set "icon":1 as default what means not visible and if you send "icon":2 or "icon":3 you make it visible with the colors like the rest of the side.

And I'm nearly ready with my ioBroker integration. But I can't find the code for the objects of the first page, the only thinks I could found was for the weather and the temp and hum.

You also showed code for the favorite button, but I can't get it to bring to do some other as usual. Maybe you have now hardcoded what it does?

peepshow-21 commented 2 years ago

https://community.openhab.org/t/nxpanel-replacement-firmware-for-sonoff-nspanel/132869/104?u=m-home

peepshow-21 commented 2 years ago

Rather that have one at the top of the status screen, what do you not use one of the warning icons on home screen to show everything is good? that is more what they were for. Since I would assume the home screen is on all the time. I'm not too keen on the suggestion of one at top right, tbh.

viper-666 commented 2 years ago

Ok, the red square in the top left corner of the status page is an error indicator, I have had a typo in one command, so the red square was there. Now it is gone.

Thank you for the code examples, now I'm able to complete my first screen.

What makes the state: command in the warnings? I can't see any difference between 1, 2 or 3? You write the warnings have a bug, is it that the red bell wasn't show and the id:1 is in the place of the bell?

peepshow-21 commented 2 years ago

beta11 should fix those

id is 1-4 for the 4 places. type is 1-7, for the 7 current icons state is 1-3, for white, red and blue version

the bell was showing in error. It should only appear when you send a {"notification") and clear when you press the bell.

On Thu, 10 Feb 2022 at 15:52, Andre @.***> wrote:

Ok, the red square in the top left corner of the status page is an error indicator, I have had a typo in one command, so the red square was there. Now it is gone.

Thank you for the code examples, now I'm able to complete my first screen.

What makes the state: command in the warnings? I can't see any difference between 1, 2 or 3? You write the warnings have a bug, is it that the red bell wasn't show and the id:1 is in the place of the bell?

— Reply to this email directly, view it on GitHub https://github.com/peepshow-21/ns-flash/issues/35#issuecomment-1035083797, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBSYTA5IFV7O6FYMJE7GNLU2PNMTANCNFSM5OANSLMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

viper-666 commented 2 years ago

Thank for explaining that, but I think there is always a error with the warnings. I have installed the beta 11 tft file. I have send: nxpanel {"warnings":[{"id":1,"type":1,"state":1},{"id":2,"type":3,"state":1}{"id":3,"type":3,"state":1}{"id":4,"type":4,"state":1}]}} And the fourth isn't shown and the icons are all in different colors (see picture) but all are state:1 and I think the icons aren't right too. Or have I send a clear command before sending other?

What is the difference between the screen and nxpanel command? Warnings

peepshow-21 commented 2 years ago

yes. I need to test it better! :) bad fix.

viper-666 commented 2 years ago

The warnings seems to be working now (beta 13) 👍

And thank you very much for the trash bin icon ("icon":8) that works great.