Search found 717 matches

by BertB
06 Feb 2019, 15:48
Forum: ESP Easy: Software
Topic: Serial Server
Replies: 0
Views: 104

Serial Server

I have a WeMos with Serial Server connected to an Arduino 2650 with RFLink.
Most of the times that works fine, but every now and then the WeMos stops.
It is not possible then to see any logging.
Does someone have an idea to trap the problem?
by BertB
06 Feb 2019, 15:47
Forum: uPyEasy: Software
Topic: Serial Server
Replies: 2
Views: 156

Re: Serial Server

:oops:
by BertB
03 Feb 2019, 18:19
Forum: uPyEasy: Software
Topic: Serial Server
Replies: 2
Views: 156

Serial Server

I have a WeMos with Serial Server connected to a Arduino 2650 with RFLink.
Most of the times that works fine, but every now and then it hangs.
It is not possible then to see any logging.
Does someone have an idea to trap the problem?
by BertB
12 Jan 2019, 14:56
Forum: ESP Easy: Hardware
Topic: PMS7003 no readings
Replies: 7
Views: 479

Re: PMS7003 no readings

What do you mean with a long time? Somewhere in the documentation of the device, I read it takes about 30 secondes for the device to stabilise after a wake up. https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=2ahUKEwiZueuusejfAhXLa1AKHbktCWQQFjABegQICRAC&url=http%3A...
by BertB
02 Jan 2019, 16:25
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 934

Re: Rules for PMSx003 dust sensor

grovkillen wrote:
02 Jan 2019, 14:49
Please bug report on GitHub.
seems it already exists:
Command LongPuls does not work correctly #1622
by BertB
02 Jan 2019, 13:57
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 934

Re: Rules for PMSx003 dust sensor

What version are you using? Starting with ESP_Easy_mega-20180415_test_ESP8266_4096.bin, I had working releases up until ESP_Easy_mega-20180522_test_ESP8266_4096.bin ESP_Easy_mega-20180524_test_ESP8266_4096.bin gave an unknown command. The Current release, ESP_Easy_mega-20181231_test_ESP8266_4096.bi...
by BertB
02 Jan 2019, 12:11
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 934

Re: Rules for PMSx003 dust sensor

grovkillen wrote:
02 Jan 2019, 06:04
What version are you using?
mega-20181231, but I think the problem is much older. I could try an older version.
by BertB
01 Jan 2019, 22:12
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 934

Re: Rules for PMSx003 dust sensor

Male a test, set it to 1 and right after you set it to 0. After that you set the long pulse. I did as you suggested. http://xxx.xxx.xxx.xxx/control?cmd=GPIO,16,1 http://xxx.xxx.xxx.xxx/control?cmd=GPIO,16,0 http://xxx.xxx.xxx.xxx/control?cmd=LongPulse,16,1,1 In this case I saw, GPIO16 going up, dow...
by BertB
01 Jan 2019, 16:46
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 934

Re: Rules for PMSx003 dust sensor

There must be somthing wrong with LongPulse then. Just for the purpose of faultfinding, I hooked up an oscilloscope to GPIO12 and put this conde in Rules. on System#Boot do gpio,12,0 timerSet,1,60 endon On Rules#Timer=1 do LongPulse,12,1,5 timerSet,1,60 endon At Boot I see the pin going to logic 0 f...
by BertB
31 Dec 2018, 16:43
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 934

Re: Rules for PMSx003 dust sensor

I have a working connection between ESP and PMS 5003, but indeed, the fan keeps on forever. In the documentation, I read : GPIO 0-15 all have a built-in pull-up resistor, just like in an Arduino. GPIO16 has a built-in pull-down resistor. If this is true, it is possible that GPIO16 is not capable to ...
by BertB
30 Dec 2018, 16:28
Forum: ESP Easy: Hardware
Topic: PMS7003 no readings
Replies: 7
Views: 479

Re: PMS7003 no readings

When you put the Web log level to Debug en look in the web log window, don't you see messages like: 65666: PMSx003 : pm1.0=0, pm2.5=0, pm10=0, pm1.0a=0, pm2.5a=0, pm10a=32896 67466: PMSx003 : pm1.0=0, pm2.5=0, pm10=0, pm1.0a=0, pm2.5a=0, pm10a=32896 69274: PMSx003 : pm1.0=0, pm2.5=0, pm10=0, pm1.0a=...
by BertB
29 Dec 2018, 22:48
Forum: ESP Easy: Hardware
Topic: PMS7003 no readings
Replies: 7
Views: 479

Re: PMS7003 no readings

How did you configure the plugin and how did you wire the dust sensor?
by BertB
12 Oct 2018, 16:48
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 2203

Re: ESP32

How can i upload the bin in win 10? https://drive.google.com/file/d/1xfKL-bGkQB0-hHgV_zZaXyKndEDD6Dsx/view?usp=sharing esptool.exe --chip esp32 --port COM3 --baud 256000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x8000 partitions2...
by BertB
12 Oct 2018, 11:34
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 2203

Re: ESP32

How can i upload the bin in win 10?
by BertB
02 Oct 2018, 23:18
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 2203

Re: ESP32

Unfortunately, this behaviour is persistant.
I will try again tomorrow with another ESP32.
by BertB
02 Oct 2018, 17:36
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 2203

Re: ESP32

Before I start another issue: I now have the ESP32 loaded with esp32test_1M8_partion from the Release mega-20181002 package. I used Platformio. Per haps I am messing up things, so: When the ESP32 is just doing its internal things, I get the following via serial: [E][vfs_api.cpp:27] open(): TmplStd.h...
by BertB
30 Sep 2018, 09:44
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 2203

Re: ESP32

I have a Windows 10 pc. What is the best way to upload to the esp32? Platformio?
What flavour of profile should I use after pressing F7?
by BertB
29 Sep 2018, 12:59
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 2203

ESP32

Probably silly questions, but where can I find details on the ESP32 support and what is the esp32test_1m8_partition? What does it do?
by BertB
16 Sep 2018, 17:37
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Hi guys, I'm new here in this forum and from Germany. Sorry for my bad English. Can I explain one step by step how to set ESPeasy to recognize the display via I2C? Unfortunately, this does not work for me. Have the current Espeasy Mega flashed in the trial. Hi Quorle, Not sure what you mean with I2...
by BertB
08 Sep 2018, 16:24
Forum: ESP Easy: General Discussion
Topic: ESPEasy_mega_20180908 constant reboot
Replies: 6
Views: 649

Re: ESPEasy_mega_20180908 constant reboot

I also tried the following.
1: load ESPEasy_mega-20180904
2: disable MQTT
3: load ESPEasy_mega-20180908
4: remove MQTT
5: re install MQTT

So far so good.

6: load ESPEasy_mega-20180908

And the error shows up again.
by BertB
08 Sep 2018, 15:31
Forum: ESP Easy: General Discussion
Topic: ESPEasy_mega_20180908 constant reboot
Replies: 6
Views: 649

Re: ESPEasy_mega_20180908 constant reboot

What you see above is an update of a WeMos with MQTT and Nextion display only. First update was OTA, after that two attempts with serial USB connection. Same result over and over again. Because of your question, I compiled again and updated two NodeMcu boards. One with OLED and DHT22. No problem. Th...
by BertB
08 Sep 2018, 14:02
Forum: ESP Easy: General Discussion
Topic: ESPEasy_mega_20180908 constant reboot
Replies: 6
Views: 649

ESPEasy_mega_20180908 constant reboot

@TD-er Constant reboots after update to ESPEasy_mega_20180908 This is the log in the serial interface of the Arduino IDE INIT : Booting version: (custom) (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3) 88 : INIT : Warm boot #373 - Restart Reason: External System 92 : FS : Mounting... 117...
by BertB
05 Sep 2018, 13:41
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Okay, thanks
by BertB
04 Sep 2018, 18:14
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

@BertB: Try this: Find the code shown below in Nextion.ino's PLUGIN_WRITE: section: String log = F("NEXTION075 : WRITE, "); log += F("Command is "); log += (tmpString.c_str()); addLog(LOG_LEVEL_INFO, log); success = true; // Set true only if plugin found a command to execute. Change it to: String l...
by BertB
19 Aug 2018, 22:29
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

You asked about a more natural way to find information page about the Nextion plugin. How do other plugins do this? If you go to https://www.letscontrolit.com/ , then click ESP Easy and Wiki, then in the left column click ESP Easy and on the next page on 4 Supported Sensors/Actuators. and Again on ...
by BertB
19 Aug 2018, 20:18
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

This is my page https://www.letscontrolit.com/wiki/inde ... IONDisplay

If you search for the Nextion here https://www.letscontrolit.com/wiki/index.php/Devices and click the Nextion display, you get your pages.
by BertB
19 Aug 2018, 16:37
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

@ThomasB

Is there a more natural way to find your information page about Nextion?

Would it not be nicer to get to it through the supported sensors part?
I am more than willing to move my How to (under construction) to another part of the wiki.

BertB
by BertB
15 Aug 2018, 16:04
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

ThomasB wrote:
15 Aug 2018, 01:16
Typo? The BC517 is listed as a NPN Darlington, whereas it needs to be a PNP small signal type. - Thomas
ooooooooops
I use a BC327
by BertB
14 Aug 2018, 23:15
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

I have taken your advice and switched up my TX/RX pins to 13 and 15 (D7/D8 on my NodeMCU) so I can use hardware serial. I disabled Serial Log File in Tools and now I can communicate just fine!! I didn't get the PNP Transistor yet, so I assume if I attempt to restart the NodeMCU ESPEasy will fail on...
by BertB
13 Aug 2018, 23:04
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

I managed to develop an easy way to update elements in the NEXTION, with HTTP messages send by domoticz.
It uses a small dzVents (LUA) script and the attributes of the devices in domoticz.

This can be handy if you want to sync with domoticz after a reset of Nextion.
by BertB
13 Aug 2018, 22:49
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

@BertB: Try this: Find the code shown below in Nextion.ino's PLUGIN_WRITE: section: String log = F("NEXTION075 : WRITE, "); log += F("Command is "); log += (tmpString.c_str()); addLog(LOG_LEVEL_INFO, log); success = true; // Set true only if plugin found a command to execute. Change it to: String l...
by BertB
13 Aug 2018, 21:08
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

@BertB: Unlike GPIO, Nextion does not reply to HTTP writes. So you won't see a status response to your Nextion commands sent by the browser. I suggest you retest with the browser and send commands that update some text fields (so you can verify HTTP writes to the display). If browser access is able...
by BertB
13 Aug 2018, 18:25
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

I use http://xxx.xxx.xxx.xxx/control?cmd=NEXTION,page0.vLight.val=1 kind of commands to control my ESP. For some reason it works out ok in the ESP, but I get an error in Domoticz. I vaguely remember it used to work fine in the past. EDIT When I do this: http://xxx.xxx.xxx.xxx/control?cmd=GPIO,13,0 i...
by BertB
09 Aug 2018, 21:09
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

+1
by BertB
31 Jul 2018, 21:00
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Beautiful
by BertB
30 Jul 2018, 20:41
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

No problem. Maybe you can help me with that some time later. For now, I am sorting out with blockly.
by BertB
30 Jul 2018, 18:22
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Thank you Thomas, but I already know that. Per haps you do not know, but back in 2016, I started to continue on the work of majklovec and took Nextion plugin to what it was before TD-er brought it to the development area. Until that moment I posted some editions here. Never mind. I am very happy wit...
by BertB
30 Jul 2018, 09:25
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Any idea how to create your item number 3?
by BertB
29 Jul 2018, 23:38
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Good news.
I have an idea though.
It would be nice if Nextion was able to obtain the current states of devices at boot up.

I know it is possible to use json to interrogate Domoticz, put it requires a lot of parsing to get the requested data.
Or is there a simpler way?
by BertB
29 Jul 2018, 16:27
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Seems to be okay now :)
by BertB
27 Jul 2018, 18:25
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

I removed the part with: if ((int(Settings.TaskDevicePluginConfig[event->TaskIndex][2]) != int(UserVar[event->BaseVarIndex])) || (int(Settings.TaskDevicePluginConfig[event->TaskIndex][3]) != int(UserVar[event->BaseVarIndex+1]))) { Settings.TaskDevicePluginConfig[event->TaskIndex][2] = UserVar[event-...
by BertB
27 Jul 2018, 18:17
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

My little change did not help either.
Imagine Switch 1 has code 2039 and Switch 2 has 2040
After the first action 2039 is being remebered,, so when 2040 arrives, a difference is found and the action is repeated.
Every time you use another switch, the problem sohws up.
by BertB
27 Jul 2018, 18:07
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Had the same problem. I do not know why I did not notice this before. I put some Serial.prints in the code (I can bwecause I use soft serial) an found that: Settings.TaskDevicePluginConfig[event->TaskIndex][2]=0 whereas UserVar[event->BaseVarIndex]= 0.00000000 or 2039 vs 2039.000000 And they don't c...
by BertB
27 Jul 2018, 17:33
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

@ThomasB
Sorry to say, but the disco is back again.
I am now using 20180723.

I will try an older version.
by BertB
26 Jul 2018, 18:34
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

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...
by BertB
25 Jul 2018, 20:29
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

Re: Nextion display plugin

Correct, although I do not use the resistors.
by BertB
22 Jul 2018, 21:37
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

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.
Pont control.PNG
Pont control.PNG (184.85 KiB) Viewed 3401 times
by BertB
22 Jul 2018, 18:31
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

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 everyone. S...
by BertB
22 Jul 2018, 17:20
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 467
Views: 86499

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&switchcmd=Toggle en...