Search found 772 matches
- 26 Jul 2018, 18:34
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
What I have read Serial.swap should be part of the package now and I find it back in HardwareSerial.h/cpp but cannot find how to use it anywhere on the web interface. Regards, Rob Where did you see this? If you want to know how to use Serial.swap(), you could look here http://esp8266.github.io/Ardu...
- 25 Jul 2018, 20:29
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Correct, although I do not use the resistors.
- 22 Jul 2018, 21:37
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
very nice indeed.
I have two work in progress projects.
One is a thermostat to be placed in the various rooms in my house.
The other one is a general purpose control panel.
I am now testing the pont control.
I have two work in progress projects.
One is a thermostat to be placed in the various rooms in my house.
The other one is a general purpose control panel.
I am now testing the pont control.
- 22 Jul 2018, 18:31
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Which do think would have the widest appeal? I think more lines, but per haps it is not necessary to use that much ccharacters. 32 was just too few. Maybe 40 is ok. But despite that you got the latest Nextion plugin to work, I just realized my interval "fix" might not work correctly for e...
- 22 Jul 2018, 17:20
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Do you use rules for intercepting the command? What if the exact command you use? We have a little parsing error that is going to be fixed here in some days. This is the rule: on Nextion#idx=2039 do SendToHTTP xxx.xxx.xxx.xxx,8080,/json.htm?type=command¶m=switchlight&idx=293&switchc...
- 22 Jul 2018, 16:30
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Something seems to be not ok with the latest release Release mega-20180722, as it does not do the switching in Domoticz.
Release Release mega-20180719 seems to work.
Release Release mega-20180719 seems to work.
- 22 Jul 2018, 15:51
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@Thomas, You have limited the number of lines and the max number of characters. I guess it is to limit the memory usage, but iyt gave me a lot of trouble as I had to delete the plugin and activated it all over again. No big deal, but it was a bit confusing. Then, because of the lack of info on the W...
- 19 Jul 2018, 23:11
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB
I will test it this weekend.
I will test it this weekend.
- 18 Jul 2018, 08:51
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I designed this communication to put more of the thinking in the Nextion, but it also more or less causes more often changes in the Nextion. This is not very user friendly while there is no easy way to update Nextion. Therefore I mostly use the id's and let Rules and Domoticz do the thinking. The dr...
- 17 Jul 2018, 11:57
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I only have tested and developed with the Basic model.
- 16 Jul 2018, 23:48
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
So far, the plugin is running just fine.
- 16 Jul 2018, 14:10
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
- 16 Jul 2018, 07:03
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I installed a syslog server on my NAS and can now send ESP log files to it. This allowed me to see what your code is doing. It has the same interval behavior as the original Nextion release and the latest V3 code. So weird as on my wemos my latest code does not show the 60 sec on off behaviour. Ton...
- 16 Jul 2018, 06:59
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
In your example the originating idx was a 1274 touch event. After the initial send, it is resent at the interval time. It is then processed by the rule file, which activates your light again. That is exactly my point. Why would a timer interval invoke a rule that should be event driven by the switc...
- 15 Jul 2018, 23:24
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
What I do not understand is this: When I push a button, this causes serial data to flow to the serial port. This causes an event, where idx and value are being filled. When this event occurs it triggers a rule. Once every 60 seconds, idx and value are read and (in my case) send to a dummy device in ...
- 15 Jul 2018, 22:25
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Thanks I will try it tomorrow.
- 15 Jul 2018, 21:27
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I just used platformio to compile and upload the lot.
No change, 60sec interval still there
No change, 60sec interval still there
- 15 Jul 2018, 21:14
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I am running V3 again, changed E16Nextion to Nextion and no difference.
My garage light looks like a disco.
My garage light looks like a disco.
- 15 Jul 2018, 20:48
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
To test your version what method are you using to review the ESP log? The web interface's log has never worked correctly for me, so I need to come up with an alternate method that avoids edits to my home automation system. [/qoute] I agree, the web log is not working correctly. Once the Serial.swap...
- 15 Jul 2018, 20:41
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@BertB: Is the assigned name of your plugin NEXTION or is it E16NEXTION? The reason I ask is that there's a ESP bug that requires the user assigned name for this plugin to always be set to NEXTION or some things will not work correctly. So please change the Plugin name to "NEXTION" plus u...
- 15 Jul 2018, 13:12
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I use a slightly modified version of your suggested work around, but it seems that idx and value won't modify. on E16NEXTION#idx do if [E16NEXTION#idx]>=1274 // Touch Events SendToHTTP xxx.xxx.xxx.xxx,8080,/json.htm?type=command¶m=switchlight&idx=387&switchcmd=Toggle E16NEXTION#value...
- 15 Jul 2018, 12:50
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
No code changes were made that would affect this behavior, so you'll find that the original does it too. But if this is wrong then we can fix it. I dare to disagree :-). I carried out some investigation and found out that your latest (7-13-2018) code has the flaw, whereas my latest modification (07...
- 15 Jul 2018, 00:45
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Two comments on that.
1 I cannot remember thuis happening with the original version.
2 In this case the event only triggers a rule. Idx will be id of the switch. Value is always 0.
I will test this in more detail tomorrow.
1 I cannot remember thuis happening with the original version.
2 In this case the event only triggers a rule. Idx will be id of the switch. Value is always 0.
I will test this in more detail tomorrow.
- 15 Jul 2018, 00:06
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB
It is 60 seconds, give or take a few.
The delay also is 60 sec.
It is 60 seconds, give or take a few.
The delay also is 60 sec.
- 14 Jul 2018, 23:06
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB After I installed your latest version V3, I started with using D7 and D8 as Rx and Tx, with the Use Hardware Serial left unchecked. Initially this works fine, but for some reason, I get unintended events. It is as if press a switch (1274) on the Nextion, but I don't. It happens once every m...
- 14 Jul 2018, 22:09
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB, I will do the testing.
- 14 Jul 2018, 09:17
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Sounds like a good idea to me.
- 12 Jul 2018, 23:02
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
It is hard to believe that the order of the states could make that kind of problems. Unless there is some kind of a memory or a stack problem..
- 11 Jul 2018, 13:17
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I have problems too. Seems like the ESP is extremely busy doing something, but I can't see what, because ... No serial port. From the outside, the esp seems to be extremely slow, not to say dead. I think it would be nice to put a undo serial.swap statement in the factory reset routine (the one activ...
- 11 Jul 2018, 12:20
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I am using you prepre version and removed the plugin on two ESP's without any problem.
I even could put them back in without a problem.
I even could put them back in without a problem.
- 10 Jul 2018, 21:30
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB I think you did a great job and I am eager to test your modifications. I too had problems with the original 65 tough events and had to go back to very first implementation to get it working again. In the documentation, I read that the GPIO15 port uses a pull up resistor to output a logic hi...
- 09 Jul 2018, 19:39
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
- 08 Jul 2018, 18:17
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I had some very weird problems, so I went back to the basics, with only hw Serial. It runs now on two nextions. I am still far from satisfied regarding fault free coding. //####################################################################################################### //#####################...
- 07 Jul 2018, 18:04
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
This is what I have done with the transistor.
I agree, it was a bit strange in the plugin settings, but GPIO15=D8=Tx has to be low at start up.
D7 = Rx and D8 is Tx
You have improved it in the code.
I agree, it was a bit strange in the plugin settings, but GPIO15=D8=Tx has to be low at start up.
D7 = Rx and D8 is Tx
You have improved it in the code.
- 07 Jul 2018, 17:18
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
My Nextion display has been installed in another project and I don't have a spare. So for code evaluation I'm using the Nextion IDE with a 3.3V compatible USB->Serial dongle. With this configuration I couldn't get the PNP "boot" transistor to work. The ESP board would boot, but serial com...
- 07 Jul 2018, 11:40
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Good to hear your early results. Together we can make it a good plugin.
It would be nice if the choice for a serial port swap could be done with a checkbox option.
It would be nice if the choice for a serial port swap could be done with a checkbox option.
- 04 Jul 2018, 20:11
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Okay, I have something to try for you. You will have to copy the code over the existing Nextion plugin code. In the advanced settings, Enable Serial Port MUST be unchecked. In the setup of the device, you have to select GPIO <- TX = GPIO-13 (D7) and for GPIO ->RX = GPIO-15 (D8). Then on D7 connect T...
- 02 Jul 2018, 22:24
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I was able to get a very quick and dirty code to connect the Nextion with the hw serial port. After Serial.swap(), the Tx of the ESP is connected to GPIO15 (D8) and Rx to GPIO13 (D7). There is a but. Due to the fact that the Rx of the Nextion has a pull up resistor and GPIO15 must be low at boot-up,...
- 01 Jul 2018, 08:21
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I will try to put some effort in the nextion plugin next week.
- 01 Jul 2018, 00:25
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Is managed to connect my dust sensor to the redirected hardware serial interface. It runs like a charm.
- 29 Jun 2018, 23:01
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Well, the way I see it, ESP and serialsoft do not work reliably together, no matter how often we measure. Is am going to focus on good old hardware.
- 29 Jun 2018, 18:43
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Below, a recording with a logic analyser, connected to a WeMos with a PMS5003 Dust detector attached.
It sends bursts of 32 bytes of data.
As you can see, somstimes a complete byte is not at all detected.
It sends bursts of 32 bytes of data.
As you can see, somstimes a complete byte is not at all detected.
- 29 Jun 2018, 15:03
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB I would like to do some experimenting myself. So far I can see, the below is the rx interrupt service routine. Correct? void ICACHE_RAM_ATTR ESPeasySoftwareSerial::rxRead() { // Advance the starting point for the samples but compensate for the // initial delay which occurs before the interr...
- 28 Jun 2018, 14:51
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
I spent a number of hours on experimenting, reading and searching but.
There is an issue with Serial.swap() as it redirects TX to GPIO15.
At bootup of the ESP8266, GPIO has to be low and the Nextion pulls it high.
There is an issue with Serial.swap() as it redirects TX to GPIO15.
At bootup of the ESP8266, GPIO has to be low and the Nextion pulls it high.
- 27 Jun 2018, 20:14
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Well, after doing some diging ... , a simple Serial.swap(); is enough to swap Rx and Tx to DPIO13 and GPIO15 respectively. Serial Serial object works much the same way as on a regular Arduino. Apart from hardware FIFO (128 bytes for TX and RX) HardwareSerial has additional 256-byte TX and RX buffers...
- 27 Jun 2018, 16:11
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
- 27 Jun 2018, 10:10
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
As far as I know, debug info stays available via the web interface.
- 26 Jun 2018, 23:57
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
Using the hardware UART would be the holy grail. :) And it isn't that hard to do. Only problem is that you also have to make sure no other things make use of these pins. So you have to disable serial logging and be able to disconnect the sensor when flashing when using uart0. I know there are also ...
- 26 Jun 2018, 21:02
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB
My WeMos runs on 80 MHz.
Perhaps TD-er can modify the plugin to use the hardware USART. I would give it a try myself, but for some reason, I cannot get useful compilations.
My WeMos runs on 80 MHz.
Perhaps TD-er can modify the plugin to use the hardware USART. I would give it a try myself, but for some reason, I cannot get useful compilations.
- 26 Jun 2018, 20:01
- Forum: ESP Easy: Software
- Topic: Nextion display plugin
- Replies: 587
- Views: 1866356
Re: Nextion display plugin
@ThomasB I have an ESP8266 (WeMos) with an OLED, a switch, an MH-Z19CO2 device (serial interface) and a PMSx003 DUST sensor, also serial. Both serial devices use SoftSerial and hardly ever miss data. The Ser2Net device uses the hardware Rx and Tx. So, it shouldn't be too difficult to embed that opti...