Closed danho-san closed 9 months ago
Hey @danho-san,
if you're using the Entities Page, it has only 4 possible items (see here), which matches the panel tft firmware. Card Grid may have up to 6 or 8 for the extended version, respectively.
Happy New Year, Sebastian
Hi @laluz742, yeah, thanks for hinting. My bad. I have the US Version, so the entities page looks quite empty with only 4 lines. Grid is okay-ish to use. Would you have any idea, why my setup ignores touch and swipe? I seethe icon highlighting, but the configured page does not load ..
Hey @danho-san , so now I understand you're using the US version in portrait mode. You're right, it should support up to 6 items. Will see, how to solve this.
Swiping will trigger the navigation events (Back, Next), thus you need to assign these events to actions on the events page like so:
Cheers, Sebastian
Hey @danho-san ,
I have attached an intermediate version for you. Just unzip it and you can install it manually by uploading the tgz-file in the Manage palette on tab Install. Within the NSPanel configuration node you should find a dropdown panel type. When switching to US portrait, entites page will offer you 6 items.
Cheers, Sebastian
Hi @laluz742, whow, thanks a lot! That's very nice. The Node now let's me configure 6 items. But the panel only displays four, still.
BTW: Any idea why icon touches don't trigger the connected page? Also does not work for the nav buttons.
![Uploading IMG_20240106_140628.jpg…]()
![Uploading IMG_20240106_140628.jpg…]()
Hey @danho-san ,
I'm sorry for your inconvenience, I forgot to include to patched files in the last package: node-red-contrib-nspanel-lui-0.0.1-alpha.51.2.tgz.zip
With regards to your second question: I can't really help you, since your images did not upload :-(
Sebastian
Hi @laluz742, no problem at all. Thanks for the tgz! Works now! =D The pics above were just from the Entities page with four lines.
As for the navigation thing. Here's how i did the configuration. But tapping on the respective icon in the gid page does not load the Entities page. ![Uploading NavIssue.PNG…]()
Using the injects to the Navigation nodeworks, though. With that I can load any page.
Did you try using a Button instead of Text?
Changed it to button. No effect.
Ok, it's because of the panel firmware does not support touch release events for entites page (that is not firing any events) but for popup types like Shutter, Light, Fan, Input Selection or Timer. Filed a feature request 1128 to the firmware developer to support Buttons.
Thanks @laluz742! Any idea why the nav icons on the top left and right also don't work to jump to pages?
As the descriptions so far have not been very detailed, I can only guess what the actual issue might be.
The first problem: If you select Button: The button is on the right-hand side next to the text (magenta). The text is purely a label and not interactive. Is this a possible solution?
The second problem: I can only guess here. Perhaps you would like to take a little more time to describe your settings in more detail, what exactly you are doing, what should happen etc. or to upload your images in full. I cannot find any software issues so far.
Hey, you're panel config is wrong. The full topic must include the placeholders like %topic% and %prefix% as configured on your panel:
Not knowing you're setup exactly, but your full topic should read ui/panels/%prefix%/%topic%/
. Please have a look into the panel mqtt config. See here also.
The %topic% is substituted with your device topic (NSPANEL) specified and %prefix% placeholder will be substituted in the mqtt handler with cmnd, stat and tele respectively.
You're experiencing these issues, since the nodes cannot receive the results, but can send commands though.
Sebastian
Hi! thanks for spotting this. Changed that. The button press does not effect the page change. However, the event can be seen in MQTT Exporer.
Hi again, I created a workaround. I subscribe to the RESULT topic and send a message to the nav node. Scan the payload for the panel id to switch to and wrap it in a message tothe Nav node.
if(msg.payload.includes("soc.0")){
return { topic: 'nav', payload: "---Energy---" };
}else return;
That works and I can switch to the desired panel via button.
Hey, please specify a valid time like 04:00 for the update task in your panel config. I will fix this parsing issue:
OK. Did that.
Then you should restart the flow. Working now ?
Nope, unfortunately not.
Would you be so kindly and send me your current flow?
Sure. Here you go. (With the mqtt link in..) flows20240119.zip
One other thing: It feels like the US Version grid panel should sport 9 elements.
Cheers!
Sure. Here you go. (With the mqtt link in..) flows20240119.zip
One other thing: It feels like the US Version grid panel should sport 9 elements.
Cheers!
see #151
Lovelace UI docs says 6 entries should be possible.