Search found 3550 matches

by Ath
17 May 2020, 17:12
Forum: ESP Easy: Hardware
Topic: Reed switch stays ON even without a magnet?!?
Replies: 7
Views: 13585

Re: Reed switch stays ON even without a magnet?!?

According to the specs of the reed switch that should not happen. Or do i see that wrong? If all things in life happened according to specs, what would be the fun of that? :D So i just figured out that when i add a 1 Ohm resistor in series to the reed. It all works as i wish. But still... Not 100% ...
by Ath
17 May 2020, 15:54
Forum: ESP Easy: Hardware
Topic: Reed switch stays ON even without a magnet?!?
Replies: 7
Views: 13585

Re: Reed switch stays ON even without a magnet?!?

I suspect that the power that your Wemos is using is enough to make the reed-switch 'stick' once turned on. You probably need a simple circuit using a relay board to turn your Wemos on and off, where the relay-circuitry (not just a simple relay!) will draw significantly less power than the Wemos. So...
by Ath
16 May 2020, 20:19
Forum: ESP Easy: Software
Topic: command LongPulse: possible to pulse between state 0 and state 2?
Replies: 10
Views: 8982

Re: command LongPulse: possible to pulse between state 0 and state 2?

I thought of an alternative to your rules to extend to 16: (Because of the rather large number of script lines, the 1 second timer delay may be a bit extended, maybe subtract a few percent when using larger numbers like > 100?) NB: Untested code! on LongpulseGPIO do // usage: event,LongpulseGPIO,<gp...
by Ath
16 May 2020, 20:03
Forum: ESP Easy: Software
Topic: command LongPulse: possible to pulse between state 0 and state 2?
Replies: 10
Views: 8982

Re: command LongPulse: possible to pulse between state 0 and state 2?

I was going to try an ESP32 with a relayboard, but the optocouplers on mine are all powered with 3.3V, so no easy way to replay your situation.
by Ath
16 May 2020, 19:38
Forum: ESP Easy: Software
Topic: command LongPulse: possible to pulse between state 0 and state 2?
Replies: 10
Views: 8982

Re: command LongPulse: possible to pulse between state 0 and state 2?

Do you have a ESP8266 board available to check if that is able to 'longpulse' the relay? I'm a bit puzzled that your ESP32 isn't able to perform such basic functionality, so I suspect there is some incompatibility with that reley board. It could be related to the 5V supplied to the optocouplers, and...
by Ath
16 May 2020, 10:10
Forum: ESP Easy: Software
Topic: command LongPulse: possible to pulse between state 0 and state 2?
Replies: 10
Views: 8982

Re: command LongPulse: possible to pulse between state 0 and state 2?

Have you tried adding a pull-up resistor (10k should do fine) to that output pin?

What board are you using?
by Ath
14 May 2020, 13:11
Forum: ESP Easy: Hardware
Topic: [FIXED] Wemos MotorShield V1.0 NO i2c-adress
Replies: 20
Views: 16340

Re: Wemos MotorShield V1.0 NO i2c-adress

Is the voltage of the battery enough to get the motor turning? Possibly the voltage drops too low when it tries to turn...
by Ath
11 May 2020, 18:58
Forum: ESP Easy: Software
Topic: Error compiling ccronexpr.c
Replies: 4
Views: 5849

Re: Error compiling ccronexpr.c

What is your build environment? ArduinoIDE, VSCode or Atom?

What branch are you trying to compile?
by Ath
10 May 2020, 21:16
Forum: ESP Easy: General Discussion
Topic: 2 Switch, 1 LED blink and light
Replies: 11
Views: 13218

Re: 2 Switch, 1 LED blink and light

Oefff, version 120 is over 2 years old, and not very up to date, so that's why you are missing the LongPulse_Ms command. As I suggested earlier, please upgrade to a more current release, there have been many after R120, the latest is always available from here: https://github.com/letscontrolit/ESPEa...
by Ath
10 May 2020, 13:30
Forum: ESP Easy: General Discussion
Topic: 2 Switch, 1 LED blink and light
Replies: 11
Views: 13218

Re: 2 Switch, 1 LED blink and light

Well, I just built your scenario, but I'm not sure you have stuff set up right: - My led is on GPIO5, and it is active-low, not active-high as you seem to have (on high the GPIO doesn't deliver much current, though on low it can pull some current) - My switches are set up as Normal Switch, with inte...
by Ath
05 May 2020, 20:19
Forum: ESP Easy: Software
Topic: Switch-on threshold with rules
Replies: 2
Views: 5091

Re: Switch-on threshold with rules

How can I program the switch-on threshold in rules that Realis does not hear heard coming in and going out. Maybe with a timer? I'm don't fully understand what you are asking. Do you want to silence the sound of the relay when it turns on or off? I wouldn't know how to have a relay make less sound ...
by Ath
05 May 2020, 18:14
Forum: ESP Easy: Software
Topic: controller publish
Replies: 13
Views: 9539

Re: controller publish

publish command which is: device =% sysname% & taskid =% id% & cmd =% valname% & value =% value%, when i click on sumit it only keeps: device =% sysname% i don't know why. The spaces in your command are intentional for the forum? Or are they also in your settings? In that case: remove t...
by Ath
03 May 2020, 19:47
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

asuz wrote: 03 May 2020, 16:50 Perfect
You're welcome :)
by Ath
03 May 2020, 16:37
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

Well, that's not a biggie, I can fix that :o I've used a Dummy device so I could monitor it in the Devices page, but we can also use a uservar (let,1,x and [Var#1], there are 16 available) as I've done below: on ServoAction do servo,1,4,180 timerset,8,1 // Extend as needed if the servo doesn't make ...
by Ath
03 May 2020, 14:45
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

That WD log line is just the WatchDog that logs some of the current status in INFO log mode, nothing to worry about. Is your servo now moving as expected? If not, lets try some manual commands: (you'd find that on the Tools page, don't copy the quotes I used) entering the command "servo,1,4,180...
by Ath
03 May 2020, 14:09
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

Hmm, this is getting a bit weird. A few questions: What type of servo are you using, because the code I shared is actually tested on a MG995R, that can move from 0 to ~180 degrees. What version of ESPEasy are you running? It should best be a 2020 made release (20200410 seems very stable atm), though...
by Ath
03 May 2020, 11:22
Forum: ESP Easy: General Discussion
Topic: how to use a photoresistor or light-dependent resistor (LDR)
Replies: 4
Views: 7337

Re: how to use a photoresistor or light-dependent resistor (LDR)

Many moons ago, I experimented with 'aiming for the light' too, and built me this, now disassembled, tiny rig: IMG_20200503_103330a.jpg IMG_20200503_103417a.jpg IMG_20200503_103426a.jpg IMG_20200503_103512a.jpg (Dismantled it for easier storage) It consists of 3 TSL2561 I2C light sensors (3 only as ...
by Ath
03 May 2020, 10:21
Forum: ESP Easy: General Discussion
Topic: Gpio Pins GreyedOut
Replies: 11
Views: 9109

Re: Gpio Pins GreyedOut

Ah, that's a very inconvenient shield, I've used loose components only, so I can connect them to any GPIO.

You could cut the connection to D2, and rewire to another GPIO to avoid this issue, but it will require a bit of soldering handyness :shock:
by Ath
03 May 2020, 10:08
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

In the 'on ServoDone do' event the value has to be 9000 to turn off the servo, not 360. That 360 will bring the servo as close to 360 as it can, being 180...
by Ath
02 May 2020, 20:10
Forum: ESP Easy: Hardware
Topic: control 12 devices with EspEasy
Replies: 6
Views: 9552

Re: control 12 devices with EspEasy

mjdb wrote: 02 May 2020, 18:27 By the way... If someone has an idea to use more then twelve devices without compiling EspEasy I would like to hear it.
Well, that's quite easy, get an ESP32, ESPEasy allows 32 devices on that hardware :)
by Ath
02 May 2020, 17:33
Forum: ESP Easy: Software
Topic: ESP Easy Flasher too small
Replies: 5
Views: 6554

Re: ESP Easy Flasher too small

Have you tried changing the High DPI settings in the Compatibility tab of the shortcut's Properties page?
by Ath
02 May 2020, 17:28
Forum: ESP Easy: Hardware
Topic: ESP32 flashing problem
Replies: 13
Views: 28405

Re: ESP32 flashing problem

You can wait to put it into Flash-mode until it actually is trying to connect, it might be looking for the 'download' message to be sent before it starts to actually flash.

(I'm usually uploading from VSCode after a build, and just bring it into Flash-mode when it starts connecting...)
by Ath
02 May 2020, 17:22
Forum: ESP Easy: General Discussion
Topic: Gpio Pins GreyedOut
Replies: 11
Views: 9109

Re: Gpio Pins GreyedOut

The DS18B20 Temperature Sensor Module voor Wemos D1 has hard-wiring for GPIO4, pin D2. What makes you think that? I haven't seen this behavior anywhere, except when you connect a sensor to a port already used/configured for something else, of course. Usually a Wemos has enough free ports so you can...
by Ath
02 May 2020, 16:17
Forum: ESP Easy: Hardware
Topic: ESP32 flashing problem
Replies: 13
Views: 28405

Re: ESP32 flashing problem

At first my ESP32's didn't want to flash either following your procedure, as it seems the UART method of bringing them into flash-mode doesn't work. My current procedure is to bring them into flash-mode by holding down the Boot button, shortly pressing the EN button, hold down for a few more seconds...
by Ath
02 May 2020, 14:49
Forum: ESP Easy: Projects / Applications
Topic: Nodemcu V3 with BS18b20, no temp values !
Replies: 7
Views: 12113

Re: Nodemcu V3 with BS18b20, no temp values !

Did you add a pull-up resistor (4k7 or 10k work fine here) to the GPIO port?, that does seem to help. The internal pull-up is often too weak (80-100k)
by Ath
02 May 2020, 14:05
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

Ath wrote: 02 May 2020, 13:13 I'd go for something along these lines:
What I was trying to say was: I didn't test that code :D

The servo command is a bit tricky, it seems, you need to give the servo command some time to move the actual servo, I ended up with this:

Code: Select all

final script is below...
by Ath
02 May 2020, 13:13
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

I'd go for something along these lines:
Assumptions:
Action times: 08:00, 15:00, 22:00
GPIO: 15
Servo movement: 0-180 degrees, (some only support -90 to 90 or -135 to 135 degrees, as stated in the documentation)

Code: Select all

final script is below...
by Ath
01 May 2020, 20:08
Forum: ESP Easy: Software
Topic: new Plugin not avaliable
Replies: 8
Views: 7758

Re: new Plugin not avaliable

What value have you set for default_envs in your platformio.ini?

NB: I'm assuming you use VSCode with PlatformIO as a build environment, as you didn't mention anything about that... I'm not using, nor interested in, Arduino IDE ;)
by Ath
01 May 2020, 13:09
Forum: ESP Easy: Software
Topic: new Plugin not avaliable
Replies: 8
Views: 7758

Re: new Plugin not avaliable

To disable other plugins, just add // in front of the #define USES_... lines for plugins you don't need.
by Ath
01 May 2020, 13:04
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 46
Views: 33973

Re: servo rules

asuz wrote: 01 May 2020, 12:05 I cannot make a rule is there any help?
Do you mean you have Rules still disabled (default setting on a cleanly installed device) in Advanced config, or you don't know how to write rules?
by Ath
30 Apr 2020, 21:22
Forum: ESP Easy: Software
Topic: new Plugin not avaliable
Replies: 8
Views: 7758

Re: new Plugin not avaliable

I think it should be added in define_plugin_sets.h, in the section that starts with #ifdef PLUGIN_SET_TESTING, but that's assuming that you have chosen a testing build in your platformio.ini (I'm using this one: default_envs = test_beta_ESP8266_4M1M for ESP8266 and test_ESP32_4M316k for ESP32) It is...
by Ath
30 Apr 2020, 19:59
Forum: ESP Easy: Software
Topic: new Plugin not avaliable
Replies: 8
Views: 7758

Re: new Plugin not avaliable

Have you added

Code: Select all

#define USES_P103
in your configuration somewhere?
by Ath
28 Apr 2020, 19:38
Forum: ESP Easy: Hardware
Topic: control 12 devices with EspEasy
Replies: 6
Views: 9552

Re: control 12 devices with EspEasy

This feels like a quiz :D A NodeMcu V1 board does have quite a couple of available GPIO's, and it looks like it even provides 13, and an ESP32 has even more, and ESPEasy also allows for 32 devices on that chip. Both boards allow for using GPIO extender boards via I2C like the MCP23017, that provide ...
by Ath
27 Apr 2020, 12:01
Forum: ESP Easy: Hardware
Topic: Which better Temp/Hum sensor to replace DHT22 ?
Replies: 7
Views: 11496

Re: Which better Temp/Hum sensor to replace DHT22 ?

I'm getting quite good results from BME-280 (not to be confused with BMP-280), though it may need some temperature calibration by applying a formula to the value (%value%-6), as in my situation (bought cheap clones from Aliexpress) they return a bit too high temperature values. Humidity and barometr...
by Ath
22 Apr 2020, 21:39
Forum: Experimental
Topic: ESP32 mod
Replies: 7
Views: 28820

Re: ESP32 mod

(prototyping is fun, but what to do when it finally works???) put it in the back of a cupboard forget it for a couple of years :roll: find it again while searching for something totally different wonder yourself what the hack* it is, take it apart, and be amazed about the primitive parts found insi...
by Ath
21 Apr 2020, 19:51
Forum: Experimental
Topic: Old LCD with ESP ?
Replies: 3
Views: 25555

Re: Old LCD with ESP ?

Not sure this belongs in the experimental forum, hardware seems more appropriate, but we'll see if a moderator moves it ;)

Do you have any info on the lcd controller and possibly other ic's that are used? It is rather hard to find anything without that kind of information...
by Ath
18 Apr 2020, 21:58
Forum: ESP Easy: Software
Topic: Analog resistor switch array
Replies: 1
Views: 4593

Re: Analog resistor switch array

Close, but no cigar ;)

Try something like this (air code...)

Code: Select all

on Analog#Value do
  if [Analog#Value]>448 and [Analog#Value]<554
    // first button pressed
  elseif [Analog#Value]>548 and [Analog#Value]<654
    // second button pressed
  elseif ...
    // etc.
  endif
endon
by Ath
18 Apr 2020, 21:44
Forum: ESP Easy: Hardware
Topic: wiring new house for espeasy and power supply
Replies: 29
Views: 43264

Re: wiring new house for espeasy and power supply

how i have to connect the pull-up resistor of 4,7k at every gpio that will used as input? Pull-ups are normally only needed on input ports, and most commonly, as the name suggests, they are connected between VCC (3.3v) and the input. And yes, each port should get its own pull-up. I always connect t...
by Ath
18 Apr 2020, 20:13
Forum: ESP Easy: Hardware
Topic: wiring new house for espeasy and power supply
Replies: 29
Views: 43264

Re: wiring new house for espeasy and power supply

Low-voltage wiring should be short, mains wiring can be much longer without causing trouble. sorry, not understand this sentence. I just made the statement that higher voltage lines, like 110/220v, are less susceptive to interference than low voltage, and by your design you are implementing that, s...
by Ath
18 Apr 2020, 17:18
Forum: Introduce yourself
Topic: Hello from Holland - Ath
Replies: 1
Views: 6253

Hello from Holland - Ath

Hi, Ath here, Been a member for almost 2 years, it's about time I introduce myself :) I've been doin' electronics stuff on and off for 40+ years, starting with my drive-in disco while still at (technical) school, when disco was still hip and happening :D , being a computer techie for most of that ti...
by Ath
18 Apr 2020, 16:43
Forum: ESP Easy: Hardware
Topic: wiring new house for espeasy and power supply
Replies: 29
Views: 43264

Re: wiring new house for espeasy and power supply

Putting all nodemcu's in the central junction box, then adding a (higher powered) PSU there is a proper solution, not much voltage-drop to expect. Also the relays should be in that junction box, switching mains power for lights and blinds-motors. When placing a nodemcu in the garden, just bring norm...
by Ath
18 Apr 2020, 12:39
Forum: ESP Easy: General Discussion
Topic: Esp Webserver Port 80
Replies: 3
Views: 5507

Re: Esp Webserver Port 80

The hardcoded port 80 is in file src/src/Globals/Services.cpp

It would indeed be nice if it was configurable in some way. :idea:
by Ath
18 Apr 2020, 12:23
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 550936

Re: RPIEasy

martinus wrote: 18 Apr 2020, 11:03 I would suggest to leave P2P as is, and really try to convince our fellow members to start using MQTT.
@martinus I fully support your statements and suggestions, but this point the most. (y)
by Ath
07 Apr 2020, 13:29
Forum: ESP Easy: General Discussion
Topic: problems with multiple sendtohttp - ack build?
Replies: 6
Views: 6533

Re: problems with multiple sendtohttp - ack build?

Sending cmd's to multiple esp's could also be achieved by using the udp networking feature of the esp's involved. I assign them the last part of the dhcp-fixed ip as unitnumber, then use the SendTo command to trigger an action like this: SendTo,53,'event,DoorChimeStart' You can build separate udp ne...
by Ath
31 Mar 2020, 13:03
Forum: ESP Easy: General Discussion
Topic: RFID update values when removing tag
Replies: 22
Views: 13789

Re: RFID update values when removing tag

On what interval is your rfid reader (device in ESPEasy) set? If that interval is too short, like 1 second, then the load will be (close to) 100%, causing intermittent crashes & reboots.
by Ath
30 Mar 2020, 19:56
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 13998

Re: MQTT interval settings

Could this line
TaskValueSet 3,3,[Water#Counter]+1
be an issue in this script? As on the other lines you use [Watermeter#...] and [..#Count]... :?:
by Ath
28 Mar 2020, 17:08
Forum: ESP Easy: General Discussion
Topic: 5 DHT Sensors
Replies: 7
Views: 5947

Re: 5 DHT Sensors

Hi,

For any analysis we need a bit more info:

How have you connected the sensors to the NodeMCU board? (See this ESPEasy github issue for more info)
What ESPEasy plugin are you using?

As 20200328 is less then 1 day old, how long has it been tested on that release?
by Ath
21 Mar 2020, 16:54
Forum: ESP Easy: Projects / Applications
Topic: Home Automation Refresh...
Replies: 12
Views: 17322

Re: Home Automation Refresh...

@martinus:
Honest question: Why not replace the ESP8266 controllers by ESP32's?
Or is the rest of your IoT hardware too far degraded to be reused for a second time? (Recycling is good, IMHO)
by Ath
09 Feb 2020, 13:56
Forum: ESP Easy: Hardware
Topic: optimyze deep sleep with PCF8591
Replies: 5
Views: 12773

Re: optimyze deep sleep with PCF8591

Ask yourself if the LED is needed for anything (monitoring activity and such), and if it's redundant, remove it by either soldering it off, or cutting it from the circuitboard with a boxcutter... (I usually do that for the ESP01 boards I have)
by Ath
10 Jun 2018, 12:18
Forum: ESP Easy: General Discussion
Topic: no wifi (esp_0) after flash on S20
Replies: 35
Views: 38964

Re: no wifi (esp_0) after flash on S20

Another struggler here. Flashing my S20's didn't result in the device booting up correctly. Flashing the prebuilt bin files wouldn't work with the default flash tools, including the Espressif flasher... After building the bin file myself using Arduino IDE, setting Board to Generic ESP8266 Module, Fl...