Espeasy: Nextion Display dont work since Release mega-20190106 (HW-Serial)

Created on 9 Jan 2019  路  19Comments  路  Source: letscontrolit/ESPEasy

Checklist

  • [ x] The title of this issue is "to the point" and descriptive.
  • [ ] This issue describes what is happening.
  • [ ] This issue describes what components are affected (e.g. name of plugin/controller)
  • [ ] This issue describes how to reproduce it.
  • [ ] This issue describes when it was introduced (when known) and what version is now showing the problem.

I have...

  • [ x] searched the issue tracker or the forum for a similar issue. (include links when applicable)
  • [ ] entered a system description using "Copy info to clipboard" on the sysinfo page. (when possible)
  • [ ] entered the full filename of the used version (e.g. ESP_Easy_mega-20181001_test_ESP8266_4096_VCC.bin )
  • [ ] given a list of active plugins or controllers when applicable.
  • [ ] filled out all applicable fields below.

Steps already tried...

  • [ ] Tried a clean install (empty .bin files are included in the ZIP)
  • [ ] Tested previous/other build (mention which one already tested)
  • [ ] Tested on other node to make sure hardware isn't defective.
  • [ ] Verified if the problem is limited to a single plugin/controller

If you self compile, please state this and PLEASE try to ONLY REPORT ISSUES WITH OFFICIAL BUILDS!





Summarize of the problem/feature request


YOUR TEXT GOES HERE

Expected behavior


YOUR TEXT GOES HERE

Actual behavior


YOUR TEXT GOES HERE

Steps to reproduce



    1. 2.
  1. 3.


System configuration


Hardware:



ESP Easy version:



ESP Easy settings/screenshots:

Rules or log data



Plugin Fixed Bug

Most helpful comment

Hello, the prerelease works. Thank you.

All 19 comments

Can you give some more information on what is working, what not, what serial pins you use, etc.
The only thing you did is writing a subject, which is indeed short, descriptive and to the point.
But please give a bit more information on what is happening.

I use GPIO-13 and 15 with transistor. Release 20181231 is ok. Since 20190106 is none comunication with the Display. If I go back to 20181231 it is ok. I have also tried 20190109.

I'm sorry, my English is so bad that I now use the Translator.
Since version 20190106 I can not communicate with the Nextion. I use the GPIO 13 and GPIO 15 with 115200 baud. With version 20181231, everything still worked. After updating to 20190106, the Nextion did not work, either sending text to the display or sending buttons from the display to the controller. With the downgrade to 20181231 everything works again.

Is Nextion not on 9600 baud? I am not sure..

The display can also be set to 115200 baud. I did that. Up to version 20181231 it worked well.

Could you try this test build ?

Thank you, but the mistake is still there.

I was afraid so.
Today I am also testing with the Eastron SDM energy monitor and that one also isn't working now on HW serial so I expected something like this.

I fixed some minor things.
At least it fixed some strange issues with the Eastron energy monitor.
Could you test this test build to see if it also fixes the issues with the Nextion?

I'm sorry, it still does not work.

Thanks for testing, I will revert the Nextion changes for now and continue to look for a solution.

I just made a new test build in which I changed a lot regarding the HW/SW serial wrapper.
It now works with the Eastron plugin for both SWserial and HW serial and SWserial is now using the old library we used until 20180131.
So hopefully it is also working again with the Nextion plugin

N.B. the PR has been merged this morning, so the next nightly build will be (almost) the same as the test build I linked in the previous post.

Hello, the prerelease works. Thank you.

It is not quite so. Apparently, the assignment of HW0 and HW0 swap is not correct. If I rebuild the device nextion it will work with HW0 swap, after a reboot it will not work anymore. If I then switch to HW0 it is then again until I do a reboot.

OK, that's for sure a bug.
I will look into it, but it is a bit strange another plugin using the serial swap option (GPS) is still working after reboot.
So it may be an issue in the Nextion plugin itself.

Just to make sure I will not put a lot of effort in searching for something that is already fixed...
Can you test the last build to see if the Nextion is still working after a reboot?
And what do you have to do to make it work again? Just pressing 'submit' on the device page is enough?

It looks like it works now.

I have labelled it as being fixed.
If it still appears to be broken, please re-open this issue. (or open a new one and refer to this one)
Thanks for testing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TD-er picture TD-er  路  5Comments

SANCLA picture SANCLA  路  4Comments

uzi18 picture uzi18  路  5Comments

wolverinevn picture wolverinevn  路  5Comments

Wandmalfarbe picture Wandmalfarbe  路  5Comments