Search found 39 matches

by groovy
15 May 2017, 07:59
Forum: ESP Easy: Software
Topic: Problem: values set in rules don't match real values
Replies: 3
Views: 4718

Re: Problem: values set in rules don't match real values

The only potential error I can spot in your rules is On K5#Switch do it triggers on both edges and should read On K5#Switch=0 do Thanks. I changed this, but the behaviour stays the same. I'm not sure why the second step doesn't work, maybe a 100ms delay between changing the output states and readin...
by groovy
12 May 2017, 07:30
Forum: ESP Easy: Projects / Applications
Topic: Keypad support
Replies: 10
Views: 10795

Re: Keypad support

@psy0rz Maybe i'll code this myself if nobody else has any plans for it yet. (maybe there are better keypads that support i2c as well to safe IO pins) Did you get any further? I'm just trying to get one of those keypads to works with I2C (PCF8574A), but having some trouble. Have a look here for deta...
by groovy
11 May 2017, 15:01
Forum: ESP Easy: Software
Topic: Problem: values set in rules don't match real values
Replies: 3
Views: 4718

Problem: values set in rules don't match real values

First of all: sorry for the long post, but I would like to describe the problem as accurate as I can. I'm trying to get a 4x4 matrix keypad , connected to a PCF8574A module , to work. Because this keypad is passive and the PCF8574A needs logic levels, I need to do some magic to read the pressed key....
by groovy
14 Feb 2017, 07:58
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

You are fast :D
See my update on the former post.
by groovy
14 Feb 2017, 07:04
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

Maybe try to swap the devices (make PIR Task1 and Candle Task2). This is very strange. I just swapped the devices and now the candle device stays intact but the PIR is renamed to "CANDLE" and the value is renamed from "Switch" to "Color". So it seems it's affecting alw...
by groovy
13 Feb 2017, 18:16
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

Will try this tomorrow. Danke dir.
by groovy
13 Feb 2017, 11:01
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

as far as i can see the log, its only after pir=0 Just did some tests again. The device get's messed up as soon as the PIR switches for the first time, no matter if it's on or off. I also tried a timer instead of the PIR for switching off: on PIR#Switch do CANDLE:3::60 timerSet 1,10 endon on Rules#...
by groovy
12 Feb 2017, 17:19
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

toffel969 wrote:as far as i can see the log, its only after pir=0
The first log is without the rules being active. Will try your suggestions when I get back to the device tomorrow, thanks.
by groovy
12 Feb 2017, 07:58
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

I already tried the HTTP method, see my post here, where also the actual ruleset comes from.
What I really don't understand is, that it works for the first time, but as soon as the PIR is switched for the first time, it messes up the device.
I will test it further, thanks for your suggestions.
by groovy
09 Feb 2017, 08:47
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Re: Strange behaviour: rules mess up devices

Thanks for your answer. I tried all kinds of upper/lower letters with no effect. The : separates the arguments, see the authors examples in sourcecode: // Commands // CANDLE:<FlameType>:<Color>:<Brightness> // <FlameType> : 1 Static Light, 2 Simple Candle, 3 Advanced Candle, 4 Police, 5 Blink, 6 Str...
by groovy
08 Feb 2017, 13:11
Forum: ESP Easy: General Discussion
Topic: Strange behaviour: rules mess up devices
Replies: 15
Views: 9805

Strange behaviour: rules mess up devices

I have a strange problem with rules on my WiFi candle. There are 2 devices connected to an ESP8266-01: The LEDs for the candle and a PIR to switch them on or off. Both devices work okay. My setup is as follows: devices_ok.png and both devices work as expected: log_ok.png However, as soon as I enable...
by groovy
08 Feb 2017, 11:01
Forum: ESP Easy: General Discussion
Topic: Sorry, the board attachment quota has been reached.
Replies: 3
Views: 3559

Sorry, the board attachment quota has been reached.

Just wanted to create a post with a problem and wanted to add some (small) screenshots to clarify.
When trying to add a file (actually 32kB), there's a warning saying:
Error

Sorry, the board attachment quota has been reached.
and file doesn't get uploaded.
by groovy
31 Jan 2017, 08:09
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 156027

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

Is it possible to disable saving the settings to flash every time anything is changed? I'm asking this, because my candle switches on and off many times, so I'm afraid killing the flash really soon. Can I simply remove these two lines from the code at around line 530? SaveTaskSettings(event->TaskInd...
by groovy
31 Jan 2017, 07:13
Forum: ESP Easy: General Discussion
Topic: upload espeasy with arduino, no AP
Replies: 10
Views: 8254

Re: upload espeasy with arduino, no AP

INIT : Booting Build nr:120 WIFI : Connecting... 1 WIFI : Connected! INIT : I2C INIT : Boot OK INIT : Normal boot WD : Uptime 0 ConnectFailures 0 FreeMem 28904 WD : Uptime 1 ConnectFailures 0 FreeMem 28872 WD : Uptime 1 ConnectFailures 0 FreeMem 28840 So, did you eventually changed the standard WiF...
by groovy
28 Jan 2017, 09:05
Forum: ESP Easy: Software
Topic: [Solved] Setting task values using rules
Replies: 2
Views: 5228

Re: Setting task values using rules

That was too easy :D
That did it, thanks!
by groovy
23 Jan 2017, 19:07
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 156027

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

I built this candle and it works fine, thanks for sharing! However, I want to use it with a PIR to enable/disable it when movement is detected. The whole background and questions can be found on my original post , but maybe here is a better place to ask. In summary, I want to switch the candle on, w...
by groovy
19 Jan 2017, 15:09
Forum: ESP Easy: Software
Topic: [Solved] Setting task values using rules
Replies: 2
Views: 5228

[Solved] Setting task values using rules

I built my own Wifi candle and it works fine. I want to use it to light up my hall without switching the main light just for a few seconds when moving from one room to another. So I added a PIR which should switch on and off the candle, but here I'm stuck. The PIR itself works and my intention was t...
by groovy
03 Jan 2017, 17:10
Forum: ESP Easy: Hardware
Topic: esp8266 Relay not functioning. Wifi works well, but relay wont activate
Replies: 3
Views: 6373

Re: esp8266 Relay not functioning. Wifi works well, but relay wont activate

The relays you bought are 5V, ESP8266 only has 3,3V. So you can't switch them.
by groovy
29 Dec 2016, 12:23
Forum: ESP Easy: Hardware
Topic: wind meter with a hall-sensor
Replies: 0
Views: 2004

wind meter with a hall-sensor

I'm currently planing some kind of weather station with several sensors that send values to my domoticz server. This includes a wind meter, which I want to build myself in the form of an anemometer with this hall-sensor counting rotations from 2 neodymium magnets connected to the opposite of each ot...
by groovy
14 Nov 2016, 13:15
Forum: ESP Easy: Hardware
Topic: [Solved] Problem flashing ESP (12E) with 4096k ESP Easy
Replies: 5
Views: 7086

Re: Problem flashing ESP (12E) with 4096k ESP Easy

Just investigated a bit further. When I add parameters explicit for flash-mode and flash-size, it works. Command then looks like this:

Code: Select all

python2 ../../esp8266/esptool-master/esptool.py --port /dev/ttyUSB0 write_flash -fm dio -fs 32m 0x00000 ESPEasy.ino.generic.bin 
by groovy
14 Nov 2016, 12:22
Forum: ESP Easy: Hardware
Topic: [Solved] Problem flashing ESP (12E) with 4096k ESP Easy
Replies: 5
Views: 7086

Re: Problem flashing ESP (12E) with 4096k ESP Easy

I just tried again with the actual git version. Serial console gives this at boot, so there is definitely something wrong: PID:0 Version:0 INIT : Incorrect PID or version! RESET: Cold boot FLASH: Erase Sector: 105 FLASH: Erase Sector: 106 FLASH: Erase Sector: 107 FLASH: Erase Sector: 108 FLASH: Eras...
by groovy
13 Nov 2016, 11:21
Forum: ESP Easy: Hardware
Topic: ADS1115 - multiple devices possible?
Replies: 6
Views: 6878

Re: ADS1115 - multiple devices possible?

Thank you booth for clarification. So then I will order some :)
by groovy
11 Nov 2016, 14:25
Forum: ESP Easy: Hardware
Topic: ADS1115 - multiple devices possible?
Replies: 6
Views: 6878

Re: ADS1115 - multiple devices possible?

The port setting should be the offset to the default address (0x48) How can one reflect this in ESPEasy? The datasheet gives these informations: Table 5. ADDR Pin Connection and Corresponding Slave Address ADDR PIN SLAVE ADDRESS Ground 1001000 VDD 1001001 SDA 1001010 SCL 1001011 which leads to the ...
by groovy
10 Nov 2016, 17:44
Forum: ESP Easy: Hardware
Topic: Analog Multiplexer CD74HC4067 = 16 analog input for $1
Replies: 5
Views: 7661

Re: Analog Multiplexer CD74HC4067 = 16 analog input for $1

Thanks, Martinus. I will have a look at these. I'm about to connect 5 to 10 moisture sensors for my plants at the balcony. Will this work? I read, that there is a possibility to add more than one (using different I2C addresses).
by groovy
10 Nov 2016, 08:01
Forum: ESP Easy: Hardware
Topic: Analog Multiplexer CD74HC4067 = 16 analog input for $1
Replies: 5
Views: 7661

Re: Analog Multiplexer CD74HC4067 = 16 analog input for $1

Did you get any further with this? It's exactly what I'm looking for to read multiple moisture sensors.
by groovy
21 Oct 2016, 10:08
Forum: ESP Easy: Hardware
Topic: [Solved] Problem flashing ESP (12E) with 4096k ESP Easy
Replies: 5
Views: 7086

Re: Problem flashing ESP (12E) with 4096k ESP Easy

Thank you for your reply. Unfortunately, trying to connect with a PC doesn't work for me, I get a "connection refused". I also tried scanning the device with nmap. It tells me that there is no port open at all: Starting Nmap 7.30 ( https://nmap.org ) at 2016-10-21 09:59 CEST NSE: Loaded 14...
by groovy
20 Oct 2016, 11:26
Forum: ESP Easy: Hardware
Topic: [Solved] Problem flashing ESP (12E) with 4096k ESP Easy
Replies: 5
Views: 7086

[Solved] Problem flashing ESP (12E) with 4096k ESP Easy

I'm facing a strange problem with my ESP 12E boards when using ESP Easy 4096k version. Flashing itself succeeds, but after reboot, there is no AP called ESP_0, but an AP called something like ESP_FDBCF4, where the last 6 chars are the last 6 chars of the MAC address. I can connect to that AP (there'...
by groovy
17 Oct 2016, 18:54
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

Setting the "web log level" to 4 and watching the log (tools -> log), you should see something like this: 102334782 : DHT : Humidity: 38.70 102334782 : EVENT: 30#v1=26.60 102334782 : EVENT: 30#v2=38.70 102334783 : HTTP : Delay 976 ms 102335759 : HTTP : connecting to 192.168.2.81 using port...
by groovy
17 Oct 2016, 17:32
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

First of all, set the "web log level" under tools in the advanced section to 4 and see, what the resulting URL-string actually is.
by groovy
16 Oct 2016, 14:47
Forum: ESP Easy: General Discussion
Topic: generic HTTP Request: length and variables of template?
Replies: 7
Views: 10851

Re: generic HTTP Request: length and variables of template?

Giving myself an answer again :) In addition to my found url.toCharArray(log, 80); in _C008.ino changing to 120, I changed the following: in Webserver.ino, line 1767: mqttpublish.toCharArray(tmpString, 121); (was 81) and in line 1812: reply += F("'><TR><TD>Publish Template:<TD><input type='text...
by groovy
15 Oct 2016, 15:58
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

replace %bmp085% with %tskname% and name your task "bmp085", because %bmp085% is no recognized variable, but %tskname% is.

I'm new to this firmware too, just trying to get it work. Additionally, I'm no programmer, so I can't help with your backend.
by groovy
15 Oct 2016, 13:00
Forum: ESP Easy: General Discussion
Topic: generic HTTP Request: length and variables of template?
Replies: 7
Views: 10851

Re: generic HTTP Request: length and variables of template?

Just took a look at the code. For my third question I think I found the corresponding line in _C008.ino: url.toCharArray(log, 80); Am I right with my assumption? Can I simply rise that value? For the not-working %IDX% variable I found the line: url.replace("%id%", String(event->idx)); So t...
by groovy
15 Oct 2016, 09:13
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

But this does not help me, because your ESP is a NodeMCU, and mine is a simple ESP8266 Version 01 (just 2 I/Os - GPIO0 and GPIO2). No, my ESP is a simple (AI Thinker) ESP8266-01, also with only 2 free GPIO (actually there are 4, RX and TX can be used as GPIO too) :) you kindly could tell me how my ...
by groovy
14 Oct 2016, 17:40
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

The subscribe Template is empty on my system.
For the variables and the publish template have a look at my other post: http://www.esp8266.nu/forum/viewtopic.php?f=4&t=2139
by groovy
14 Oct 2016, 13:05
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

But for that you have to write an extended HTTP controller plugin I suppose.
Well, the main reason for choosing ESPEasy is, that my knowledge in programming tends to zero 8-)
So I'm lost with your idea. Thanks anyway ;)
by groovy
14 Oct 2016, 13:00
Forum: ESP Easy: General Discussion
Topic: generic HTTP Request: length and variables of template?
Replies: 7
Views: 10851

generic HTTP Request: length and variables of template?

Hi from Germany, I just discovered this project and I like it. I set up my first ESP some hours ago and configured almost everything without a hassle. When it comes to sending the data, I want to use "Generic HTTP" as I have a server running, which receives a request (currently nodeMCU, bu...
by groovy
14 Oct 2016, 11:52
Forum: ESP Easy: General Discussion
Topic: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?
Replies: 23
Views: 52435

Re: How to send Sensor Data from Easy ESP to my localhost with generic HTTP?

@moelski: rai surely has a server running, read his post: ApacheFriends XAMPP Version 1.7.7 with: - Apache 2.2.21 - MySQL 5.5.16 (Community Server) - PHP 5.3.8 (VC9 X86 32bit thread safe) + PEAR @rai: I just flashed my first ESP with this firmware today and also want to send data with generic HTTP t...