Search found 1064 matches

by Shardan
22 Apr 2019, 15:51
Forum: ESP Easy: Hardware
Topic: High Current Relay Suggestion
Replies: 7
Views: 129

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: 130

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: 130

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: 229

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: 257

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: 199

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: 199

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: 2
Views: 246

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: 2
Views: 246

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: 257

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: 257

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: 257

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: 238

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: 238

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: 747

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: 412

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: 747

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: 747

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: 747

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: 747

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: 747

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: 358

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: 262

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: 399

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: 441

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: 655

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: 443

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
by Shardan
05 Jan 2019, 20:42
Forum: ESP Easy: Hardware
Topic: TEMT6000 Light/Lux sensor supported?
Replies: 7
Views: 2253

Re: TEMT6000 Light/Lux sensor supported?

It's an analog sensor so it gives a voltage that follows the brightness.

You may use the analog input plugin.

With a bare ESP8266 it might need a voltage divider as the input should be in the range of 0....1 V.
On WeMOS and NoceMCU this voltage dividere is already there in most cases.
by Shardan
05 Jan 2019, 20:20
Forum: ESP Easy: Software
Topic: anyone using cjmcu-0101 sensor?
Replies: 3
Views: 228

Re: anyone using cjmcu-0101 sensor?

Seems to be a capacitive switch. If so it is supported by the "switch" plugin. Did a bit of research. It seems that the chip on the board (Marking 8223) is similar to the well known TTP223. Maybe a remake from another company? From layout it is not an inductive sensor but I may err. Anyways, as long...
by Shardan
05 Jan 2019, 11:12
Forum: ESP Easy: General Discussion
Topic: sensing (real) human presence, not movement
Replies: 2
Views: 268

Re: sensing (real) human presence, not movement

I've some ideas about presence detection. Movement sensors like radar and PIR never worked reliably for me, they always have the effect the thread opener described. One possibility that already exists with ESPEasy might be a infrared thermo sensor that detects body temperature: MLX90614 for example,...
by Shardan
04 Jan 2019, 13:46
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 83
Views: 8454

Re: Sensair S8

that last sentence is spot-on. Most of us should be OK with readings that may not be accurate down to the decimals. Personally I use S8 sensors as an indication for ventilation. So I go by the Domoticz classification of good, fair bad, etcetera. Same for temperature and relative humidity. I treat t...
by Shardan
04 Jan 2019, 13:37
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 83
Views: 8454

Re: Sensair S8

Not only should the calibration and the sensor be right, but also the way it is being used. For example when you have no ventilation near the sensor, the readings will be off. Or in a tight enclosure the sensor may heat up by the heat produced by the ESP for example. Or a CO2 sensor may be exposed ...
by Shardan
04 Jan 2019, 11:22
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 83
Views: 8454

Re: Sensair S8

Hello all, the more expensive such items are, the more likely it is you will find faked copies or rejects on platforms like AliExpress, ebay etc. I've got a lot of sensors from Ali. More or less all of them were out of specifications, starting from DS18B20 up to SHT11 and SHT15. SHT15 should have a ...
by Shardan
01 Jan 2019, 12:59
Forum: ESP Easy: General Discussion
Topic: with using GPIO 0, no boot ESP8266-01
Replies: 8
Views: 521

Re: with using GPIO 0, no boot ESP8266-01

Hello, thank you all for information. I've tested to use the RX/TX Pins but there is a problem with a connection to FHEM. It seems that the espbridge in FHEM doesn't control the RX/TX pin correct. Testing with a toggling bit every minute it works fine with GPIO 0 and GPIO2 but if i switch in ESPEAS...
by Shardan
01 Jan 2019, 01:12
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 129
Views: 6653

Re: RPIEasy

Check if it's in another directorym change to root directory and use the find command

Code: Select all

cd /
find -name 'RPIEasy.py'
by Shardan
31 Dec 2018, 19:27
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 1109

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 Shardan
31 Dec 2018, 14:39
Forum: ESP Easy: General Discussion
Topic: with using GPIO 0, no boot ESP8266-01
Replies: 8
Views: 521

Re: with using GPIO 0, no boot ESP8266-01

kimot wrote:
31 Dec 2018, 14:03
RX pin only receives serial, so using it - no flickering, because no sender in your circuit.

Or change your circuit:
3.3v ---- R1 ------ optodiode -----GPIO0

And switch opto with log 0 instead log 1
Rx is always high on boot and would switch on the opto coupler.
by Shardan
31 Dec 2018, 13:33
Forum: ESP Easy: General Discussion
Topic: with using GPIO 0, no boot ESP8266-01
Replies: 8
Views: 521

Re: with using GPIO 0, no boot ESP8266-01

GPIO 0 isn't suitable for using the way you did. The ESP8266 - the chip itself - is able to boot with several states: - Flash mode - starting from internal flash - starting from external flash These modes are controlled by pulling GPIO0 and GPIO2 high or low. If GPIO0 is pulled low the ESP8266 will ...
by Shardan
30 Dec 2018, 23:38
Forum: ESP Easy: General Discussion
Topic: NODEmcu and PIR
Replies: 6
Views: 337

Re: NODEmcu and PIR

The PIR is handled as a switch. You won't se a blinking LED or such as long as you just configure the switch. Use the usb of the nodeMCU and monitor the serial output. It should show an event on triggering the switch. If it does not show anything check the log level in the ESPEasy settings. You may ...
by Shardan
30 Dec 2018, 00:04
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 1109

Re: Rules for PMSx003 dust sensor

Check for Rx & Tx. They might be swapped.

Second, test for GPIO16 <-< SET. 10KOhm resistor attached?
If the resistor is in place, just leave the resistor connected to 3.3V and SET, open the connection to GPIO16.
This sets the sensor to permanent running.
by Shardan
29 Dec 2018, 23:46
Forum: ESP Easy: Hardware
Topic: PMS7003 no readings
Replies: 7
Views: 553

Re: PMS7003 no readings

Just for a test:
Disconnect the connection from Sensor-SET to GPIO16 and connect the SET via a 10KOhm resistor to VCC (3.3V)

If something with rules does not work the GPIO16 might be permanently on "0" disabling the sensor.
by Shardan
29 Dec 2018, 23:23
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 1109

Re: Rules for PMSx003 dust sensor

Sure you don't have any quirk with cabling? Rx/Tx swapped? SET and RESET correct? Be sure both are connected to the ESP and have a pullup resistor (10 KOhm from the SET / RESET to 3.3V) I've added the schematics from the printed circuit board I've created for the PMS 7003 . Beware: The PMS5003 has a...
by Shardan
29 Dec 2018, 23:01
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 129
Views: 6653

Re: RPIEasy

+1
by Shardan
29 Dec 2018, 21:55
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 1109

Re: Rules for PMSx003 dust sensor

The Longpulse says how long the sensor is activated. Setting Longpulse to 60 seconds with a waittime of 20 seconds will set the sensor to permanent running! Not a good idea. The sensor, exactly the laser inside has a limited lifetime of around 8000h, less then one year when permanently running, so i...
by Shardan
29 Dec 2018, 00:07
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 1109

Re: Rules for PMSx003 dust sensor

Thanks for quick answer. I am not sure if I understand this rule correctly. The first part is responsible for the start after running Wemos, for exemple 20 seconds. But what the second part does? I will explain what I would like to achieve, the sensor is turned off for 10 minutes, then it takes mea...
by Shardan
27 Dec 2018, 15:48
Forum: ESP Easy: General Discussion
Topic: I2C interface issue at LCD2004
Replies: 3
Views: 242

Re: I2C interface issue at LCD2004

I've some of these black PCBs running without problems. Well, I assume that they are same, nothing is really sure with our chinese friends... :twisted: Anyays i often noticed that the small blue trimmer is fully turned to one end and nothing is visible. So first question: Did you already try turning...
by Shardan
25 Dec 2018, 23:23
Forum: ESP Easy: Projects / Applications
Topic: Rules for PMSx003 dust sensor
Replies: 22
Views: 1109

Re: Rules for PMSx003 dust sensor

Hello, Do you refer to the wiki https://letscontrolit.com/wiki/index.php?title=PMSx003 ? If you use the rules from the wiki it is quite easy to change the time. on System#Boot do gpio,16,0 timerSet,1, 20 endon On Rules#Timer=1 do LongPulse,16,1,5 timerSet,1, 20 endon The time is set with the "timerS...
by Shardan
16 Dec 2018, 14:57
Forum: ESP Easy: Projects / Applications
Topic: Reading Gas meter
Replies: 9
Views: 798

Re: Reading Gas meter

Hello, Yes and no. It should be possible to connect the reed contact of the counter to an ESP and use the counter plugin to count, then calculate needed values with rules and feed a dummy variable with that. Even an offset could be defined within the rules. I wouldn't go this way. It has a major dis...
by Shardan
15 Dec 2018, 21:01
Forum: ESP Easy: Hardware
Topic: sensor - hw-611 e/p 280
Replies: 6
Views: 1259

Re: sensor - hw-611 e/p 280

Take a look here:

http://forum.arduino.cc/index.php?topic=470260.0

Seems its a fake, just a BMP280