Search found 1087 matches

by Shardan
10 Jul 2019, 19:13
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 15
Views: 580

Re: Sleeptime

Ok, meanwhile I have follow your idea with the LiION; I have many of them for my E-Shisha... I set the ESP to sleep 295 seconds and stay awaked for 5 seconds. I Also have figure out how to swith on a port while booting and switch it of before it goes back to sleep. For that it seems to be important...
by Shardan
10 Jul 2019, 17:08
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

The reboots and "hangs" are at least partly caused by WiFi reconnects Usually all WiFi in my appartment run on one Unifi Long Range AP. Two nodes with Mega had permanent problems rebooting after 1...3 hours, hanging, showing blank web page etc. The Unifi controller diagnostic told me "too much recon...
by Shardan
04 Jul 2019, 18:31
Forum: ESP Easy: Software
Topic: Not configured in Station Mode!
Replies: 8
Views: 574

Re: Not configured in Station Mode!

If i remember this right...

If you use serial to set SSID and Key it is not stored permanently.
After "WifiSSID abcdefgh" and "WifiKey verySecretPasswd" use a "WifiConnect" to check if the connection works, then send a "save" via Serial to store config.

All without the quotation marks please.
by Shardan
01 Jul 2019, 19:17
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

Just to make it a bit more complex....

My three devices I used for testing behave nicely atm... up for 1,5...6 days.....
Don't ask me why. I have no acceptable explanation.
by Shardan
27 Jun 2019, 21:46
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

Well, the "race condition" thing was just an idea of mine, remembering long ago times :) Honestly I'm far away from a programmer nowadays, I never learned C or C++ so I can only guess. The heap is used by many firmware parts so heap fragmentation issues might show these random effects: I had hanging...
by Shardan
27 Jun 2019, 14:45
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

I was monitoring the devices closely these days due to these resets just by refreshing the "devices"- and "main" pages now and then. I've noticed some strange things: Short time before reset occurs the web pages get incredibly slow. The "Devices" page can take up several seconds to refresh, sometime...
by Shardan
26 Jun 2019, 17:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

Now the device rebooted again (Without button.. :) )
Manual reboot - Hardware Watchdog.

Still the one with biggest heap fragmentation (12% atm) is the one with most restarts..
May be related or not, IDK. I'm not that deep into programming, to say nicely.
by Shardan
26 Jun 2019, 13:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

Now three devices running with 20190607 on 2.5.2 core as the 0523 version has shown too many problems. One is a room sensor, just with a SI7021 and a DS18B20, no rules at all: Many restarts, every 2..3 hours for now, heap fragmentation 11% - 12%, free mem 18936, free stack 3600, heap max free 16960...
by Shardan
25 Jun 2019, 12:59
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

Now three devices running with 20190607 on 2.5.2 core as the 0523 version has shown too many problems. One is a room sensor, just with a SI7021 and a DS18B20, no rules at all: Many restarts, every 2..3 hours for now, heap fragmentation 11% - 12%, free mem 18936, free stack 3600, heap max free 16960 ...
by Shardan
23 Jun 2019, 19:26
Forum: ESP Easy: Projects / Applications
Topic: wemos D1 R2 + two HC-SR04
Replies: 9
Views: 1719

Re: wemos D1 R2 + two HC-SR04

hello, I think this is my problem I have read that hc-SR04 works on 5v, so I connect each one on +5v and gnd on the board do you have a enample how must they to be connected ? thank you Hello, take a look here: https://letscontrolit.com/wiki/index.php?title=Level_Converter If you scroll down a bit ...
by Shardan
23 Jun 2019, 17:06
Forum: ESP Easy: Projects / Applications
Topic: Weather Sensor
Replies: 0
Views: 1143

Weather Sensor

Hello all, as I had a working rain sensor already ( https://www.letscontrolit.com/forum/viewtopic.php?f=2&t=6540 ) it was self-evident to integrate the rain sensor into a weather sensor. Another long pending project was integrated too: A lightning detector. What's in the box: - Temperature, Humidity...
by Shardan
23 Jun 2019, 15:04
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

Re: Hardware Watchdog Reboots

Hello all, I'm using a lot of X5R/X7R MLCC capacitors all over the board of my weather sensor, of course near the ESP8266 too. Even when using my big lab power supply I get a lot of restarts. So I don't think power supply and/or capacitors are reasons for resets in general. With the ESP_Easy_v2.0-20...
by Shardan
23 Jun 2019, 13:16
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control video projector and roller screen ?
Replies: 11
Views: 2610

Re: ESPEasy to control video projector and roller screen ?

Not sure about that, i never used the Excel sheet.

Sadly the codes from your remotes are not identified by IRrecvDump ("unknown")
so it can't give a code sequence directly.
With many remotes you get a code reading like "NEC, 32,ABCDEF" instead of "unknown"

Give it a try, bes way to find out.
by Shardan
22 Jun 2019, 18:39
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control video projector and roller screen ?
Replies: 11
Views: 2610

Re: ESPEasy to control video projector and roller screen ?

I've done that with some remotes using an Arduino sketch to get the exact codes. The program is called IRrecvDump V2, I ran it on an Arduino Uno Rev.3 with a TSOP sensor. I just took the code I got sending a HTTP request from my home automation. See the description at https://letscontrolit.com/wiki/...
by Shardan
22 Jun 2019, 12:00
Forum: ESP Easy: Projects / Applications
Topic: Capacitive Rain Sensor
Replies: 4
Views: 617

Re: Capacitive Rain Sensor

SzuR wrote:
22 Jun 2019, 11:06
Hi
Great project can you please send me pcb's and sketch?
My email is mszura1@gmail.com
I can't send a sketch, as it is not based on the Arduino IDE.
All PCB's can be obtained from me, later maybe from Grovkillen's shop.
by Shardan
21 Jun 2019, 21:45
Forum: Introduce yourself
Topic: introduction
Replies: 1
Views: 182

Re: introduction

Welcome aboard
by Shardan
29 May 2019, 20:45
Forum: ESP Easy: Projects / Applications
Topic: Thundermon - A Lightning Detector **EXPERIMENTAL*
Replies: 2
Views: 3354

Re: Thundermon - A Lightning Detector **EXPERIMENTAL*

Update

Meanwhile the serial part is tested and working nicely.
Now I need some more thunderstorms.... :)
by Shardan
23 May 2019, 20:43
Forum: ESP Easy: Projects / Applications
Topic: Thundermon - A Lightning Detector **EXPERIMENTAL*
Replies: 2
Views: 3354

Thundermon - A Lightning Detector **EXPERIMENTAL*

-------------------BEWARE-------------------- ---This device is highly experimental--- ------------------------------------------------- There are some lightning detector chips on the market. Most used is the AS3935, which is a highly sensitive "Franklin detector". The algorithm implemented into th...
by Shardan
22 May 2019, 17:15
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 10
Views: 589

Re: Temperature sensors - which are most precise?

BME 280 shows higher temp sometimes? I'm not sure how the plugins handle the SI7021 and the BME280. Both sensors have an internal heating to dry down the humidity sensor gel pad. This should be used in some interval to keep the sensor working and precise. The heating obviously influences temperature...
by Shardan
16 May 2019, 17:25
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 10
Views: 589

Re: Temperature sensors - which are most precise?

Precise metering has a (high) price. Don't expect a BME280 from Aliexpress (usually a cheap copy of the genuine Bosch sensor) to be as accurate as the Bosch type. I wouldn't be so sure about someone's ability to copy Bosch's MEMS technology. Even if someone in China could mimic it, I don't see a ma...
by Shardan
14 May 2019, 21:45
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 10
Views: 589

Re: Temperature sensors - which are most precise?

Hello, i don't have a HTU21 at hand so I can't test. My SI7021's are working fine. Usually they should (!) be compatible. Anyways, many sellers say SHT21, HTU21 and SI7021 are same which is definitely not correct. Try both settings, SI70021 and SHT21, maybe one works if the module isn't broken. It's...
by Shardan
14 May 2019, 16:05
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 10
Views: 589

Re: Temperature sensors - which are most precise?

Hello, excuse me if i might sound like a teacher, but some basics first. Every sensor (and every thermometer) has a tolerance. It's unavoidable, we're not living in a perfect world... If you want to check a sensor, the reference you use must be one class better at least . What does this say? If you ...
by Shardan
22 Apr 2019, 15:51
Forum: ESP Easy: Hardware
Topic: High Current Relay Suggestion
Replies: 9
Views: 526

Re: High Current Relay Suggestion

Careful on your choice of ultra cheap SSR! i purchased some from ebay a while back and it turned out they were fakes, labeled as 30A but were more like 10A! I can confirm this definitely. Had three such relays, all died quickly. On top some points usually are not mentioned by the sellers: - This re...
by Shardan
20 Apr 2019, 09:09
Forum: ESP Easy: Hardware
Topic: AC DIMMER PWM NODEMCU
Replies: 4
Views: 389

Re: AC DIMMER PWM NODEMCU

And on top to papperone's post, the circuit has definitely no protection to voltage spikes. Not even a poor & cheap R/C-combo. Happy triac killing ?! But basically that's one possible way to do the job with some electronics around. A firmware for the ATTiny does not need witchcraft. It might be a co...
by Shardan
16 Apr 2019, 23:05
Forum: ESP Easy: Hardware
Topic: AC DIMMER PWM NODEMCU
Replies: 4
Views: 389

Re: AC DIMMER PWM NODEMCU

Hello, due to the schematics pulished with the dimmer it's just a triac driven via an opto coupler. It just can switch on and off without any special circuit around. For controling standard bulbs it uses phase controlled modulation. This would need a control from ESP exactly syncronized with the 50 ...
by Shardan
20 Mar 2019, 22:19
Forum: ESP Easy: Software
Topic: event without an event
Replies: 6
Views: 379

Re: event without an event

Which version are you using?

I'm just working on some Rules depending on a dummy variable and I'm able to set the the time intervall without problems?

(Tested with mega-20190311)
by Shardan
16 Mar 2019, 20:30
Forum: ESP Easy: General Discussion
Topic: Rules problem...
Replies: 5
Views: 413

Re: Rules problem...

definitely right, from my own experience......

:D
by Shardan
16 Mar 2019, 20:25
Forum: ESP Easy: Software
Topic: Rule in espeasy für Hysterese
Replies: 4
Views: 332

Re: Rule in espeasy für Hysterese

A dummy is a task without any sensor or actor. Let's say you use task No. 5 and define it as a dummy as you define an usual sensor or actor. A dummy has 4 "outputs", var1...var4. It can be set from rules with the command taslvalueset <tasknr>,<valuenr>,<value> So create a dummy in task 5, call it "T...
by Shardan
16 Mar 2019, 00:59
Forum: ESP Easy: Software
Topic: Rule in espeasy für Hysterese
Replies: 4
Views: 332

Re: Rule in espeasy für Hysterese

Maybe something easy helps It should be possible to calculate a hysteresis into the rules. I can't say if calculations can be done within the "if"... if so, it should be possible to use something like on 1#Temperature do if [1#Temperature] > ( [2#Temperature] + 5 ) gpio,5,0 endif if ( [1#Temperature...
by Shardan
16 Mar 2019, 00:07
Forum: ESP Easy: Projects / Applications
Topic: Capacitive Rain Sensor
Replies: 4
Views: 617

Re: Capacitive Rain Sensor

I still want to make some changes to the firmware. It works nice, the ESP does the heating control well... But the setting of threshhold values by recompiling and flashing firmware isn't to my likings. It should be possible to read the values from serial and store them into the EEprom area of the ch...
by Shardan
15 Mar 2019, 23:50
Forum: ESP Easy: Projects / Applications
Topic: Capacitive Rain Sensor
Replies: 4
Views: 617

Capacitive Rain Sensor

The usual cheap rain sensors from AliExpress and other platforms have some disadvantages. They work by conductance so the electrodes must have direct contact to the water. Dirt and aging can influece this, the water conductance may differ depending on what a raindrop collected on it's way through th...
by Shardan
15 Mar 2019, 17:02
Forum: ESP Easy: General Discussion
Topic: Rules problem...
Replies: 5
Views: 413

Re: Rules problem...

Grrrr... 6 weeks away and everything is forgotten..

Many thanks, i knew i was blind....
by Shardan
15 Mar 2019, 02:04
Forum: ESP Easy: General Discussion
Topic: Rules problem...
Replies: 5
Views: 413

Re: Rules problem...

Hello again, Some more info The timer-part seems to be a problem with setting the timer value. With rebooting and external (serial) logger i see the following: EVENT: System#Boot ACT : timerSet,1,10 ACT : enddo ACT : on Rules#Timer=1 do ACT : taskvalueset 5,1,0 ACT : timerSet,2,10 ACT : enddo ACT : ...
by Shardan
15 Mar 2019, 01:44
Forum: ESP Easy: General Discussion
Topic: Rules problem...
Replies: 5
Views: 413

Rules problem...

Hi all, testing with some rules, tested with Mega version mega-20190311 With running into problems i tried an old MegaV2, same result. on System#Boot do gpio,2,0 timerset,1,10 //Set Timer 1 enddo on rules#timer=1 do //if Timer1 expires taskvalueset 5,1,1 //set dummy#var1 to 1 timerset,2,10 //Set Tim...
by Shardan
10 Mar 2019, 17:27
Forum: ESP Easy: Projects / Applications
Topic: LM393 Sound Detection Sensor Module and ESPEasy as a switch
Replies: 5
Views: 518

Re: LM393 Sound Detection Sensor Module and ESPEasy as a switch

Connect a resistor of about 10 KOhm from the connected GPIO to +3.3V. Why not simply click "internal PullUp" ;) The internal pullup is a so called "weak pullup" with a high impedance. The LM393 has a significant leak current on "high" state (see datasheet), the more as on some of these modules a LE...
by Shardan
08 Mar 2019, 23:29
Forum: ESP Easy: Projects / Applications
Topic: LM393 Sound Detection Sensor Module and ESPEasy as a switch
Replies: 5
Views: 518

Re: LM393 Sound Detection Sensor Module and ESPEasy as a switch

Due to the data sheet of the LM393 it's a comparator with open collector output. So it should be easy to connect to an ESP-Chip. Connect the output of the FC-04 to a GPIO, for example GPIO 13. Connect a resistor of about 10 KOhm from the connected GPIO to +3.3V. The FC-04 should work with 3.3V or 5V...
by Shardan
09 Feb 2019, 13:09
Forum: ESP Easy: Hardware
Topic: Security panel K2000
Replies: 20
Views: 1245

Re: Security panel K2000

First: Check if you have a reliable ground connection. K2000 GND and WeMos GND must be properly connected. Second: Use a standard 5V/1A Wall Plug Type power supply with USB pluig and test with that. The voltage regulators like LM1117-%, LM7805, LF-50 and so on are always good for some surprises, for...
by Shardan
07 Feb 2019, 16:55
Forum: ESP Easy: Hardware
Topic: DS18B20 setup to ignore Extreme data
Replies: 7
Views: 638

Re: DS18B20 setup to ignore Extreme data

These readings look like dropouts from data reading. Usually this occurs due to hardware reasons. Theoretically OneWire should be able to run on cablings up to 50 or 100 meters. My practical experience shows that this length is difficult to reach. One important point is the cable. Why does TP-cable ...
by Shardan
03 Feb 2019, 11:58
Forum: ESP Easy: Hardware
Topic: Security panel K2000
Replies: 20
Views: 1245

Re: Security panel K2000

Hm... it should be possible to use the NC contact instead. It is the inverted signal of an NO contact so you would have to configure ESPEasy accordingly. As this contact uses 12V and drives a coil for lock opening it is necessary to use a kind of level converting: A resistor 1KOhm/0,25W from NC to t...
by Shardan
03 Feb 2019, 01:42
Forum: ESP Easy: Hardware
Topic: Security panel K2000
Replies: 20
Views: 1245

Re: Security panel K2000

I've looked up some documentation.
Mostly that pin is called "Push/NO". I guess that means "Push button, normaly open".
Definitely that naming is a bit misleading.
by Shardan
02 Feb 2019, 22:58
Forum: ESP Easy: Hardware
Topic: Security panel K2000
Replies: 20
Views: 1245

Re: Security panel K2000

I can't find any manual or at least info what "NO" is really. Following this short manual https://cdn.shopify.com/s/files/1/0248/3676/files/RFID_Card_Access_Control_System_Manual_-_TimTec.pdf the NO is a pushbutton input - that won't work as an output to a ESP-GPIO. As said, it needs some hands-on.....
by Shardan
02 Feb 2019, 21:38
Forum: ESP Easy: Hardware
Topic: Security panel K2000
Replies: 20
Views: 1245

Re: Security panel K2000

How did you connect the "Bell" contacts. From GPIO to GND? In that case try a 10 KOhm resistor from GPIO to +3.3V and a capacitor of 47... 100 nF from GPIO to GND. The bell contacts I connect to GPIO and GND indeed. This contact gives a good stabile state 0 or 1 signal. The problem is the other NO ...
by Shardan
02 Feb 2019, 17:24
Forum: ESP Easy: Hardware
Topic: Security panel K2000
Replies: 20
Views: 1245

Re: Security panel K2000

How did you connect the "Bell" contacts.
From GPIO to GND?

In that case try a 10 KOhm resistor from GPIO to +3.3V and a capacitor of 47... 100 nF from GPIO to GND.
by Shardan
27 Jan 2019, 01:27
Forum: ESP Easy: Hardware
Topic: Sonoff Basic doesn't start when GPIO2 is LOW
Replies: 3
Views: 693

Re: Sonoff Basic doesn't start when GPIO2 is LOW

The ESP8266 has some "special" GPIOs.
It can be started from a SD-Card for example, or it can be started in Flash mode.
These modes are controlled by these special GPIO's.
GPIO2 is one of these special ones. It must be "high" at boot time.
If it is "low", the ESP boots to wrong mode.
by Shardan
20 Jan 2019, 12:51
Forum: ESP Easy: General Discussion
Topic: ESP-01 more gpio pins
Replies: 2
Views: 393

Re: ESP-01 more gpio pins

Hello, basicallyit is possible to solder a thin wire to the ESP chip directly. But that needs a very thin soldering iron and calm hands, otherwise you'll damage the ESP. Another way: If you disable the serial port in advanced settings it iy possible touse the Rx-Pint as GPIO-3. With that you can use...
by Shardan
19 Jan 2019, 16:20
Forum: ESP Easy: Projects / Applications
Topic: domoticz and espeasy between 2 router
Replies: 6
Views: 631

Re: domoticz and espeasy between 2 router

Basically this is possible. If a device can't find the target IP address in the same network the data packets are automatically routed to the standard gateway. If you use a 192.168.1.X network address with your ESPeasy device and the target has a 10.x.y.z address, the data packets are sent to the st...
by Shardan
17 Jan 2019, 18:24
Forum: ESP Easy: Software
Topic: HC-SR04 and the temperature
Replies: 5
Views: 636

Re: HC-SR04 and the temperature

I think this is a bit questionable. It could be usefull in a car ("distance radar") where you definitely find a span from -20°C to +70°C easily. But for a sensor like the HC_SR04? Honestly this is a cheap sensor, and it has tolerances of some percent. Within the temperature range inhouse the factor ...
by Shardan
15 Jan 2019, 18:42
Forum: ESP Easy: Hardware
Topic: Can't find TSO4838 device
Replies: 7
Views: 883

Re: Can't find TSO4838 device

Hi Dave,

take a look at

https://letscontrolit.com/wiki/index.ph ... /IR-Remote

That's the IR transceiver i've designed some time ago... still working on an old R148 Version
as I didn't find the time to change to new version including adaption of my FHEM config.
by Shardan
14 Jan 2019, 18:29
Forum: ESP Easy: Hardware
Topic: nodemcu v3 + sonic sensor HC-SR04 can't get to work
Replies: 5
Views: 643

Re: nodemcu v3 + sonic sensor HC-SR04 can't get to work

Take a look at the old wiki, the connection possibilities are described in detail there.
Sadly it didn't make the way into the new readthedocs page.

https://letscontrolit.com/wiki/index.php?title=HC-SR04