Search found 1235 matches

by TD-er
24 Jun 2019, 00:38
Forum: ESP Easy: Projects / Applications
Topic: RS485 Serial options?
Replies: 5
Views: 428

Re: RS485 Serial options?

RS485 is not RS232. On top of that there is often some kind of protocol like Modbus RTU to address the device(s). For example the AccuEnergy sensors are being supported in a plugin and SenseAir sensors. These use the same Modbus RTU layer I wrote. The Eastron sensors do also communicate via Modbus, ...
by TD-er
23 Jun 2019, 23:34
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

I am looking through the commits and I am now at around 20180930, where there were several commits related to memory allocation issues. We were simply running out of memory and also there were some reports of all kinds of reboots. I think some of them were already HW watchdog reboots by then, so I g...
by TD-er
23 Jun 2019, 23:02
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

@wiki Thanks for testing. The thing is, at the time we switched core versions, we also had some very nasty build issues. Which became clear after a long time. And also the change in how the wifi is handled. All-in-all way too many things at once and something I really don't ever want to have happeni...
by TD-er
23 Jun 2019, 16:12
Forum: ESP Easy: Hardware
Topic: problems flashing sonoff basic r2 power v1
Replies: 3
Views: 128

Re: problems flashing sonoff basic r2 power v1

Another thing you really should check is the 3V3 voltage level. Some (most) USB to serial adapters are not capable of supplying enough power on the 3V3 line. Either they increase the voltage even to 5V or it just sinks to a level where the ESP cannot work on. For most Sonoff units you do need either...
by TD-er
23 Jun 2019, 16:07
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

Sorry, but flashing a version of 2019 will result in wd reboots again. The developers are assuming that the change from 2.3.0 to 2.4.0 is the reason for especially this problem, but thats not true. ...but nobody believes me..... It is not that I don't believe you, I just did not read your build dat...
by TD-er
23 Jun 2019, 09:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

Ah you posted while I was editing ;) Yep, that's something I learned "the hard way" indeed :) As for my "textbook" experience. I never did follow any classes on electronics design. All I know is from failing projects and from a (huge) stack of Elektor magazines I bought when I was 12 and then subscr...
by TD-er
23 Jun 2019, 09:18
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

It is indeed a good patch for these modules. Keep in mind that the older Wemos nodes did have proper voltage regulators. Initially they had one that could handle 500 - 800 mA and the NodeMCU boards even had an AMS1117 which can handle 1A. The last batches of Wemos nodes I received all have a voltage...
by TD-er
22 Jun 2019, 13:10
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

I was just looking through my own nodes and this one is currently having the longest uptime of 14 days, 9 hours: ESP_Easy_mega-20190523_normal_core_252_ESP8266_4M.bin It also has quite an unstable WiFi (260 reconnects), so it should have had enough chances to crash when sending data. It has ESPeasy ...
by TD-er
21 Jun 2019, 18:01
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

One of the builds I had here which were running very stable was built on the last day of 2017.
Also builds up-to end of March 2018 were running core versions before 2.4.0
by TD-er
20 Jun 2019, 11:34
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 559

Re: ESPEasy to guard meter-box

https://www.aliexpress.com/item/32828243283.html?spm=a2g0s.9042311.0.0.1b324c4djFFY1n is much better than using a relay. I'm using it to detect 230V presence and it works fine. Such a big resistor does not look like a very energy efficient solution. Also you must make sure to wrap it all in some ki...
by TD-er
20 Jun 2019, 11:30
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

I have had a few "golden" builds myself too. Problem is that some of the reboot issues seem to be related to some kind of randomness. Either at boot, or at build time. I tend to believe there is somewhere a bug (can be in our code, or in the core libraries) related to some buffer size not including ...
by TD-er
19 Jun 2019, 23:20
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

Very likely core 2.3.0

I still regret we made the change to core 2.4.x with so many changes that there's no way back.
by TD-er
19 Jun 2019, 23:17
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 105
Views: 10225

Re: Sensair S8

The S8's do not need any calibration.
They have factory calibration and a quite good ABC routine.
by TD-er
19 Jun 2019, 23:15
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 559

Re: ESPEasy to guard meter-box

How do you feed the ESP?
So I guess you will need to look for "keep alive" messages to see if it is still online.

Relays on 230V is not really an issue, but I guess it is quite big and may still use some power to activate the relays in normal operations.
by TD-er
18 Jun 2019, 12:20
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 559

Re: ESPEasy to guard meter-box

The "aardlekschakelaar" you're talking about is probably not 1-to-1 mapped to a circuit group in your house. According to the NEN1010 regulations, you may have up-to 4 groups on one earth leak breaker circuit. So that may give some 'discount' in the number of units needed. Another thing you may want...
by TD-er
18 Jun 2019, 11:11
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy LoRa: Mail Box Alert
Replies: 16
Views: 2318

Re: ESPEasy LoRa: Mail Box Alert

Did they take your LoRa notifier too?
by TD-er
18 Jun 2019, 11:09
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 332

Re: Wroom02 and OLED-091 - I2C-Init to early ?

Well you can add some work around. At power on reboot, the RTC memory is cleared, so it will contain all 0's This RTC memory is restored at crash/software reboot. So what you can do using the rules is trigger on boot and check the content of one of the dummy plugin variables. If it is 0, set it to 1...
by TD-er
18 Jun 2019, 11:04
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 75
Views: 3613

Re: Hardware Watchdog Reboots

Sorry I have not visited the forum lately. Usually I only get here when GrovKillen "summons" me via Slack. :) About the WDT reboots. There seem to be various reasons that cause these WDT reboots, like already well explained by ThomasB. Some of the fixes in core 2.5.2 are related to handling stalled ...
by TD-er
18 Jun 2019, 10:45
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 105
Views: 10225

Re: Sensair S8

Please try using some software serial pins. The thing is, the HW serial pins are kind of special. They either output garbage at boot (Serial0) or need to have a very specific state at boot (hence the warning for pin 15) The S8 plugin does work very well with the Software Serial setup, since the data...
by TD-er
18 Jun 2019, 10:38
Forum: ESP Easy: Software
Topic: [SOLVED] out of memory
Replies: 6
Views: 226

Re: [SOLVED] out of memory

It can also happen when the ESP is waiting for a reply on some network connection. Something like NTP request can also trigger this I guess. There have been some fixes lately regarding timeout settings not being honored. These are present in core 2.5.2, so you may want to try that one. But there are...
by TD-er
18 Jun 2019, 10:35
Forum: ESP Easy: General Discussion
Topic: Core version
Replies: 11
Views: 644

Re: Core version

I have tried VS code a few times myself and it does have configuration option to define (in text configuration) how you want to define tasks. But since these are lost when I move to another computer (and not checked in, since they are quite personal), I am no longer using VS code myself. It is quit...
by TD-er
18 Jun 2019, 10:33
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 332

Re: Wroom02 and OLED-091 - I2C-Init to early ?

I have been thinking about adding a 'boot delay' parameter. The thing is, I've also had reports from someone about issues with the WiFi, which seem to be related by trying things to start too quickly. The question is then, at what level should this delay be set? At the end of setup(), before going i...
by TD-er
28 May 2019, 10:55
Forum: ESP Easy: Software
Topic: [SOLVED] out of memory
Replies: 6
Views: 226

Re: [SOLVED] out of memory

What was the plugin that was really required?
Maybe I can add a remark to it to help others.
by TD-er
28 May 2019, 10:52
Forum: ESP Easy: General Discussion
Topic: Maximum Uptime minute
Replies: 6
Views: 1988

Re: Maximum Uptime minute

@ThomasB.
I do partly agree with your statement.
I think the reboot issues started around the time when we switched to core 2.4.x and newer.
So that's around end of March 2018.

The new core 2.5.2 does seem to work a bit more stable compared to the ones before but it's too soon to tell.
by TD-er
28 May 2019, 10:49
Forum: ESP Easy: General Discussion
Topic: Flashing errors.
Replies: 7
Views: 1878

Re: Flashing errors.

Most ESP01 modules have a PUYA chip. For example the core library is patched to work around the strange write behavior of those chips.
I am not sure if the flasher is 100% compatible with those chips.
You could try the Python based ESP flash tool used in the development tools (Arduino/PlatformIO).
by TD-er
28 May 2019, 10:44
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 105
Views: 10225

Re: Sensair S8

For domoticz if you want to use an "air quality" device, you may need to send an "nvalue" to it, not the "svalue" like is needed for almost any other type of device.
See Domoticz wiki for more on that part.

I myself use the "custom sensor" in Domoticz for CO2 sensors.
by TD-er
28 May 2019, 10:41
Forum: ESP Easy: General Discussion
Topic: Core version
Replies: 11
Views: 644

Re: Core version

I have tried VS code a few times myself and it does have configuration option to define (in text configuration) how you want to define tasks. But since these are lost when I move to another computer (and not checked in, since they are quite personal), I am no longer using VS code myself. It is quite...
by TD-er
28 May 2019, 10:36
Forum: ESP Easy: General Discussion
Topic: Warning triangles on interface.
Replies: 8
Views: 1949

Re: Warning triangles on interface.

Well, Grovkillen is mainly involved in the documentation part :)
by TD-er
28 May 2019, 10:35
Forum: ESP Easy: Software
Topic: GPIO problem with deep sleep
Replies: 6
Views: 1903

Re: GPIO problem with deep sleep

Please have a look at this page in the docs about pins to use: https://espeasy.readthedocs.io/en/latest/Reference/GPIO.html#best-pins-to-use-on-esp8266 It does describe what the default condition of some of the pins is regarding pull-up or pull-down. GPIO-0 and 2 need to be pulled up and GPIO-15 nee...
by TD-er
28 May 2019, 10:27
Forum: ESP Easy: Software
Topic: How to correctly set up input / output pins in a plugin (changes during the last few months)?
Replies: 2
Views: 1805

Re: How to correctly set up input / output pins in a plugin (changes during the last few months)?

I guess P001 is not the best choice to look at for inspiration.
Why do you need to set the pin state for your plugin?
It was used to keep track of pins that could be shared among plugins.
by TD-er
28 May 2019, 10:23
Forum: ESP Easy: General Discussion
Topic: A Disconnect button to annoy people?
Replies: 4
Views: 2013

Re: A Disconnect button to annoy people?

I have used that button myself a lot. For example I use it myself to test disconnect events and trying to reproduce reported issues. It is indeed a temporary disconnect, so it will be forced to try and reconnect. If there is no known AP available, it should start AP mode for setup. One of the first ...
by TD-er
28 May 2019, 10:16
Forum: ESP Easy: General Discussion
Topic: Warning triangles on interface.
Replies: 8
Views: 1949

Re: Warning triangles on interface.

Hmm, apparently I have not yet added a link to the page I made in the documentation about it.
See this page: https://espeasy.readthedocs.io/en/lates ... on-esp8266
by TD-er
28 May 2019, 10:13
Forum: ESP Easy: Hardware
Topic: GPS P082 update rate
Replies: 8
Views: 267

Re: GPS P082 update rate

You should try the latest version. Last week I did change the outputs to be selectable and also added an option to trigger an update either by the set interval time, or a configurable distance travelled. (0 = disable the update by distance) So the update rate issue is already fixed and also having a...
by TD-er
15 May 2019, 19:03
Forum: ESP Easy: General Discussion
Topic: Core version
Replies: 11
Views: 644

Re: Core version

Yes it should be possible to compile using the Arduino IDE. You then have to move the files to a few different folders, since the Arduino IDE must have the name of the "main" .ino file the same as the folder it is in. Also you cannot use the online libraries of some of the libs we use, since we've m...
by TD-er
11 May 2019, 22:03
Forum: ESP Easy: Software
Topic: Latest ESPEasy for ESP8266 1M with HLW8012 Support
Replies: 3
Views: 203

Re: Latest ESPEasy for ESP8266 1M with HLW8012 Support

Hmm, aparently there isn't a build for the 1M units with the HLW8012 support.
I thought I did make a change very recently to add a build including the same plugins as for the Sonoff POW for 1M units.
It was at least added as a new issue only a few weeks ago.
by TD-er
11 May 2019, 21:56
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 23
Views: 1116

Re: Solar Power Supply

@Ton_vN We already have deep sleep in ESPeasy. But that only can be set to a specific interval. At boot (wake from deep sleep), the wifi connection is initiated and after that the rules may be processed. So at this moment it is not possible to set some proper time schedule to wake. Without WiFi or G...
by TD-er
11 May 2019, 21:51
Forum: ESP Easy: Hardware
Topic: MHZ19B Unknown response
Replies: 8
Views: 192

Re: MHZ19B Unknown response

Software serial should work just fine for the MH-Z19 sensor. Also double check to see if you have the Rx and Tx connected the right way. So in your case, TX of the sensor to GPIO-13 (D7) and RX of the sensor to GPIO-14 (D5) Also you do not have to set the Pin Mode in the GPIO boot states. Just leave...
by TD-er
11 May 2019, 21:44
Forum: ESP Easy: Software
Topic: Resets the variable every day.
Replies: 26
Views: 2390

Re: Resets the variable every day.

There still is a space in the line of the rules TaskValueSet, 1,2,0 And the suggestion made by Jimmy to do the reboot will probably not work (anymore) in the more recent builds. I (quite recently) fixed a bug, which does now keep track of the last values of plugins after a reboot. (as long as the bo...
by TD-er
01 May 2019, 22:22
Forum: ESP Easy: Software
Topic: What is going on with our beloved Switch Input Plugin?
Replies: 6
Views: 264

Re: What is going on with our beloved Switch Input Plugin?

The main idea is to make a plugin for using it as an input and one for using it as an output.
Even when using it as an output, you may still want to read its current state. That's what I read into your remarks, right?
by TD-er
01 May 2019, 20:42
Forum: ESP Easy: Software
Topic: What is going on with our beloved Switch Input Plugin?
Replies: 6
Views: 264

Re: What is going on with our beloved Switch Input Plugin?

As far as I am aware of, the changes were reverted to allow the old rules to be working again. And there is some development in the background to make separate plugins to make it work like it should but just not breaking the old rules. So if this is not the case, please let me know, since its intent...
by TD-er
25 Mar 2019, 16:46
Forum: ESP Easy: Software
Topic: Reboot, Soft- or Hardware-Problem. My Solution
Replies: 2
Views: 220

Re: Reboot, Soft- or Hardware-Problem. My Solution

I know that pinging the node does have a positive effect on the wifi stability. And I do also believe that the hardware watchdog reboots almost all are related to network interactions. Either something is waiting for a response, or something is trying to make a connection. As of now, I really have n...
by TD-er
25 Mar 2019, 16:38
Forum: ESP Easy: Hardware
Topic: MH-Z19 calibration issues
Replies: 9
Views: 575

Re: MH-Z19 calibration issues

Yes, the datasheet does refer to "outside" as being 400 ppm, but there are more factors to take into account: - Temperature and humidity affect CO2 readings - After sunset and before sunrise the CO2 levels are not 400 ppm if you are near plants. The CO2 levels can be as high as 700 ppm as I've seen ...
by TD-er
25 Mar 2019, 16:33
Forum: ESP Easy: General Discussion
Topic: Sonoff Basic and latest versions of ESP firmware
Replies: 6
Views: 422

Re: Sonoff Basic and latest versions of ESP firmware

Can you give a very short summary of what is working and what isn't?
As I read it, you could make it to work with the last build?
But what did you do differently compared to the first attempt?

And what is this ESPlorer?
by TD-er
25 Mar 2019, 16:28
Forum: ESP Easy: Software
Topic: New Reboot Cause. What's this?
Replies: 4
Views: 332

Re: New Reboot Cause. What's this?

Well it is not "completely new" :) The hardware (and software) watchdog are protection schemes to reboot the ESP when they appear to be stuck. Normally the watchdog timer has to be reset before it will issue a reboot. This is done by calling a delay() or just at the end of a loop. Sometimes a task m...
by TD-er
15 Mar 2019, 13:31
Forum: ESP Easy: Software
Topic: Hardware Watchdog after some hours
Replies: 2
Views: 184

Re: Hardware Watchdog after some hours

What position in the device page listing do these pulse counter plugins have? They should be in only the first 3 or 4 positions. The pulse counter plugin does try to combine some call back functions to an interrupt of the configured pin. This may also cause some issues related to timing. We are also...
by TD-er
15 Mar 2019, 13:27
Forum: ESP Easy: General Discussion
Topic: Connection lost (90%) after a couple of hours
Replies: 1
Views: 191

Re: Connection lost (90%) after a couple of hours

In the latest builds, there is a new option "Gratuitous ARP". Please enable that one.

You could also try to let some host ping the ESP continously to see if that will have a positive effect too.

Also try to find out what core library is used on the "working ESP".
Is it core 2.3.0?
by TD-er
15 Mar 2019, 13:24
Forum: ESP Easy: Hardware
Topic: MH-Z19 calibration issues
Replies: 9
Views: 575

Re: MH-Z19 calibration issues

The unknown response issue was fixed yesterday and is included in last nightly build. And please do not try to perform calibration on these sensors yourself. It is very likely you will ruin the sensor. Enabling/disabling the ABC is fine, but do not perform the baseline calibration, since you will pr...
by TD-er
15 Mar 2019, 13:20
Forum: ESP Easy: Software
Topic: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305
Replies: 4
Views: 361

Re: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305

I have seen the ping to do magic too. See also my discussion here: https://github.com/esp8266/Arduino/issues/5825#issuecomment-468961124 I am thinking of adding some kind of ping like activity to ESPeasy too. For example when the nodes do send p2p traffic to eachother, these packets seem to get lost...
by TD-er
12 Mar 2019, 22:56
Forum: ESP Easy: Hardware
Topic: Motor Shield v2.0
Replies: 10
Views: 763

Re: Motor Shield v2.0

That motor shield is a bit strange with regards to I2C.
If the number of bytes sent to it isn't a multiple of 4 bytes, then it will lock the I2C bus.