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

Touching doesn't open cards. #71

Closed
Chreece opened this issue Mar 25, 2022 · 9 comments
Closed

Touching doesn't open cards. #71

Chreece opened this issue Mar 25, 2022 · 9 comments

Comments

@Chreece
Copy link

Chreece commented Mar 25, 2022

First of all thank you very much for your wonderful work, the ui is part from home assistant and I'm very impressed.

I had the panel flashed a while ago and only since today I could mount it on the wall with a 3d printed adapter (was too big for the box in my old german appartment), so today I flashed everything new.

Suddently touching the panel it doesn't open the cards.
If I reboot the first card pops up, everything works but I can't move to the next one (touching the arrows doesn't do anything).

In tasmota console everytime I touch the screen I got:

MQT: tele/nspanel/RESULT = {"CustomRecv":"event,buttonPress2,screensaver,bExit"}

Tried:
Flashing latest tasmota32.bin
Flashing latest lui.tft from your website (panel starts from 92% and tasmota console doesn't show any received bytes but only percentage done)
Flashing latest berry drive

My appdaemon.yaml:

nspanel-1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/nspanel/RESULT"
    panelSendTopic: "cmnd/nspanel/CustomSend"
    updateMode: "auto-notify"
    timeoutScreensaver: 15
    brightnessScreensaver:
      - time: "9:00:00"
        value: 10
      - time: "21:00:00"
        value: 0
    locale: "de_DE"
    timeFormat: "%H:%M"
    dateFormatBabel: "EEEE dd/M/y"
    weatherEntity: weather.openweathermap
    pages:
      - type: cardEntities
        heading: Licht
        items:
          - light.gastzimmer_licht_1
          - light.gastzimmer_licht_2
          - light.gastzimmer_licht_3
          - delete
      - type: cardThermo
        heading: Heizung
        item: climate.gastezimmer_thermostat
      - type: cardMedia
        heading: Musik
        item: media_player.mopidy_http_server_on_esprimominipc_2_6680
@Chreece
Copy link
Author

Chreece commented Mar 25, 2022

Could the problem be related to the new tasmota32-nspanel.bin release some hours ago?
I can't find an older version to downgrade

@bkbartk
Copy link

bkbartk commented Mar 25, 2022

I have the same issue on 1 of my 2 nspanels
the one running tasmota 11.0.0.3 works perfectly.
the other one ran 11.0.0.4 and I had the same issue as mentioned above.
So I treid to downgrade
https://github.com/tasmota/install/blob/0f9932c4f873318f93ecd3293e48d1ff38e2eea9/firmware/unofficial/tasmota32-nspanel.bin?raw=true
grepped this link from github, and turns out to be 11.0.0.1
but The issue persists.

My 2 nspanels have almost the same config.
the only changes are

  • the name
  • brightnessScreensaver
  • panelRecvTopic
  • panelRecvTopic

the 2nd panel, which isn't I just installed today.
here are the differences, wanted to make sure I didn't make a typo
image

btw,
here you can find the other versions of tasmota nspanel
https://github.com/tasmota/install/commits/main?after=6849f9f0de429e5c27677c7ddaa892fb0c91884b+69&branch=main&path%5B%5D=firmware&path%5B%5D=unofficial&path%5B%5D=tasmota32-nspanel.bin

@joBr99
Copy link
Owner

joBr99 commented Mar 25, 2022

@Chreece

My guess is that you are using the lui.tft (which is always the latest from the main/devel branch) and version 1.7.3 from HACS.

Between the current release and the current development are some major changes, so the two versions doesn't work togehter.

Go to HACS click on redownload, choose main, wait a sec until HACS got it and then press download

image

For the current release you would need this firmware on the panel, but go with the dev version in HACS for now, some more testing before do a new release doesn't hurt :)

FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v1.7.0.tft

@Chreece
Copy link
Author

Chreece commented Mar 25, 2022

Yes!
v1.7.3 from hacs + nspanel-v1.7.0.tft
Is the combination.
Could you add this also in the documentation for other users?
I mean, I just updated the hacs (because I got a notification), and I followed the docs to update the firmware for tft

@Chreece Chreece closed this as completed Mar 25, 2022
@joBr99
Copy link
Owner

joBr99 commented Mar 25, 2022

I'm normally adding it to the release notes, but not in 1.7.3, because it was only a bugfix, which did not require updating the display firmware, will do that in future too.

And yeah, docs should get some notes around the releases. I wrote them before I introduced releases, before that you always got the development version on HACS.

https://github.com/joBr99/nspanel-lovelace-ui/releases/tag/v1.7.2

@bkbartk
Copy link

bkbartk commented Mar 25, 2022

For me this new .tft also fixed the issue.

I used this from the manual
FlashNextion http://nspanel.pky.eu/lui.tft
I will try the dev branche later.

@joBr99
Copy link
Owner

joBr99 commented Mar 25, 2022

Wenn du auf den dev branch wechselst, brauchst du aber auch wieder die aktuelle firmware fürs display (also die lui.tft), solltest aber ne notification auf dem display bekommen sobald du in HACS wechselst (und du wirst appdaemon neustarten müssen)

Das Problem mit der zu kleinen dose hab ich bei mir mit ner 3d gedrucken Unterputzdose gelöst, hab die Schrauben nicht gebraucht, Schrauben passen aber vermutlich eh nicht in die löcher in dem Modell. Und bei der nächsten würde ich ermutlich noch etwas machen, damit der gips außen mehr oberfläche hat um zu greifen.

image

@joBr99
Copy link
Owner

joBr99 commented Mar 26, 2022

Link in readme is now pointing to the latest release instead of latest development version

@Chreece
Copy link
Author

Chreece commented Mar 26, 2022

I have used this adapter:
https://www.thingiverse.com/thing:5256325/files
(I'm writing in English so everybody can use this info :) )

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

3 participants