Search found 241 matches

by vader
26 Dec 2017, 17:24
Forum: ESP Easy: Software
Topic: Hostname of ESP?
Replies: 14
Views: 15532

Re: Hostname of ESP?

Host name is unit name '-' unit number!

Eg.
unit name = ESP01
unit # = 1

Host name: ESP01-1
by vader
24 Dec 2017, 11:16
Forum: ESP Easy: General Discussion
Topic: Add to Sonoff ds18b20
Replies: 6
Views: 5343

Re: Add to Sonoff ds18b20

If you don't need the serial interface, just disable it (Tools -> Advanced) and you have 2 more GPIOs you can use (1 and 3). ;)
by vader
22 Dec 2017, 12:20
Forum: ESP Easy: Projects / Applications
Topic: RFID Access control / door lock actuator
Replies: 42
Views: 48824

Re: RFID Access control / door lock actuator

No compiling issues so far. Try Arduino 1.8.5 and 1M SPIFFS setting.
by vader
11 Dec 2017, 18:23
Forum: ESP Easy: General Discussion
Topic: How to compile ESP Easy from sources ?
Replies: 4
Views: 5047

Re: How to compile ESP Easy from sources ?

The Sharp GP2Y1010AU0F already works with ESPeasy without a modification (I have it in use). What problem do you have?
by vader
07 Dec 2017, 13:23
Forum: ESP Easy: Software
Topic: ESP Easy rule to enable button
Replies: 12
Views: 8207

Re: ESP Easy rule to enable button

@danmero: Where is the point that helps him and that we not already posted/suggested above?
BTW: TaskValueSet needs 3 values, not 2!
by vader
07 Dec 2017, 08:58
Forum: ESP Easy: Software
Topic: ESP Easy rule to enable button
Replies: 12
Views: 8207

Re: ESP Easy rule to enable button

Where do you see screenshots above? Have you checked the log, if there is something to see what the reason could be?
by vader
06 Dec 2017, 21:47
Forum: ESP Easy: Software
Topic: ESP Easy rule to enable button
Replies: 12
Views: 8207

Re: ESP Easy rule to enable button

Can you post all rules and some screenshots of your config?
by vader
06 Dec 2017, 20:33
Forum: ESP Easy: Software
Topic: ESP Easy rule to enable button
Replies: 12
Views: 8207

Re: ESP Easy rule to enable button

That can not work. Try this...

on lightSwitch#Switch do
if [lightSwitch#Switch]=0
gpio,12,0
else
gpio,12,1
endif
endon
by vader
04 Dec 2017, 17:33
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

That is wrong! inputswitchstate is task number -1.

On System#Boot do
inputswitchstate 0,1
gpio,12,1
inputswitchstate 2,1
gpio,16,1
endon
by vader
04 Dec 2017, 09:20
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

@kimot: You seem not to be up-to-date. Have you read post #14? It's already done. So he shouldn't have task 3 and 4. Instead of "inputswitchstate" you can also use "taskvalueset".

E.g.
inputswitchstate 0,1 = taskvalueset 1,1,1

Both do the same. No secrets.... :)
by vader
03 Dec 2017, 22:31
Forum: ESP Easy: Hardware
Topic: HC-SR04+ and wemos d1 mini pro
Replies: 45
Views: 31616

Re: HC-SR04+ and wemos d1 mini pro

It's a bit risky with 5V... :mrgreen: A typo "ESP2866" or other chip? I know only ESP8266....
by vader
03 Dec 2017, 21:51
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

That's easy explained. You set with GPIO,16,1 only the output to 1, but the state of GPIO 12 (push1) remain on 0! So you have to manually set it also to 1 with a command. Make a // before the inputswitchstate commands and see what's happening after boot-up. You have to press the button twice for tur...
by vader
02 Dec 2017, 17:21
Forum: ESP Easy: Hardware
Topic: SHT30 not in device list!
Replies: 6
Views: 5763

Re: SHT30 not in device list!

Oops, you are right. Haven't seen it. I was searching for SHT30, but it's named SHT3x. 8-)
by vader
02 Dec 2017, 17:03
Forum: ESP Easy: Hardware
Topic: SHT30 not in device list!
Replies: 6
Views: 5763

Re: SHT30 not in device list!

You find the plug-in to compile in the playground under _P131. But it's still alpha state only!
https://github.com/letscontrolit/ESPEas ... Playground
by vader
01 Dec 2017, 23:22
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

No problemo. You are welcome. ;)
by vader
01 Dec 2017, 16:46
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

No. Exactly like I wrote: ..... gpio,16,1 inputswitchstate 0,1 inputswitchstate 1,1 endon ..... Copy and paste it ;) And don't forget to delete the 2 relay entries! So you have only the 2 buttons in the table. Push1 on task 1, Push2 on task 2. explanation : inputswitchstate 0,1 => 0=task number -1, ...
by vader
01 Dec 2017, 16:32
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

Yep.

.....
gpio,16,1
inputswitchstate 0,1 (For push1 on task 1)
inputswitchstate 1,1 (For push2 on task 2)
endon
.....
by vader
01 Dec 2017, 15:10
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

You use on system#boot, as I can see, so don't forget to set the switch state also to 1 like the both relays.

E.g.
inputswitchstate 0,1
inputswitchstate 1,1
by vader
01 Dec 2017, 10:53
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

In your case there should only the 2 switches in the device list. Done. Make the rules for each switch like I wrote in my last post and all is good. ;)
by vader
01 Dec 2017, 10:20
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 13342

Re: Problems with R2.0-dev12

Delete the entries for the relays in the device table. They don't need one, because they are controled directly by GPIO commands in your rules. A relay is no input switch. :mrgreen: And your rules are wrong. Change it to:

on push1#state do
if [push1#state]=1
gpio 12,1
.....
by vader
30 Nov 2017, 10:22
Forum: ESP Easy: General Discussion
Topic: EspEasy,relay recovery the last state after power failure
Replies: 5
Views: 6042

Re: EspEasy,relay recovery the last state after power failure

You must use the _P029 (Domoticz MQTT helper) plug-in in ESPeasy to get this work. Check, that the IDX is the same like in Domoticz! Then your red marked fields stay empty in Domoticz (only for HTTP commands).
by vader
29 Nov 2017, 15:15
Forum: ESP Easy: General Discussion
Topic: MQTT Import and EasyFormula
Replies: 7
Views: 5551

Re: MQTT Import and EasyFormula

Don't worry, with that speed at the moment all bugs will be fixed until 2050.... or not.... :lol:
by vader
28 Nov 2017, 14:30
Forum: ESP Easy: Projects / Applications
Topic: Making a smart smoke detector
Replies: 4
Views: 4372

Re: Making a smart smoke detector

Powering down with an AMS1117 would be better. And then set the ESP into deep sleep. That could run for a while....
by vader
28 Nov 2017, 09:43
Forum: ESP Easy: General Discussion
Topic: EspEasy,relay recovery the last state after power failure
Replies: 5
Views: 6042

Re: EspEasy,relay recovery the last state after power failure

Yep, with MQTT it works. Have it in use. The only trick you must know is, that the check mark 'send boot state' must be removed and 'MQTT retain message' be set. That works. ;)
by vader
26 Nov 2017, 21:24
Forum: ESP Easy: Hardware
Topic: Sonoff - flash with ESPEasy - working with usb, but not mains
Replies: 6
Views: 8736

Re: Sonoff - flash with ESPEasy - working with usb, but not mains

We can not help you without any infos about your configuration. Are you on firmware 2.0.0? Have you studied the wiki? All we don't know. We are no prophets.... :roll:
by vader
26 Nov 2017, 17:16
Forum: ESP Easy: Hardware
Topic: Sonoff - flash with ESPEasy - working with usb, but not mains
Replies: 6
Views: 8736

Re: Sonoff - flash with ESPEasy - working with usb, but not mains

I have up to 10 Sonoffs in use with no issue so far. We speak from this Sonoff...? Have you checked the voltage of 3.3V of the power supply?
by vader
23 Nov 2017, 16:23
Forum: ESP Easy: Projects / Applications
Topic: short and long press button mqtt
Replies: 8
Views: 7654

Re: short and long press button mqtt

I was hoping to do something like the code below instead (wanted to avoid having to wait 1 second for the first action to fire), but it doesn't work. Action1 is never triggered. Any idea how to work around this? on Button#State=1 do [b][color=#FF0000] delay,300[/color][/b] if [Button#State]=0 //Act...
by vader
17 Nov 2017, 12:53
Forum: ESP Easy: General Discussion
Topic: deep sleep not working
Replies: 6
Views: 4510

Re: deep sleep not working

What about GPIO16?
Set 'Web Log Level' to 2 under 'Tools -> Advanced'
by vader
13 Nov 2017, 19:04
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev12 released
Replies: 44
Views: 43968

Re: ESPEasy v2.0.0-dev12 released

Had the same. Just make a reset and config the ESP from scratch (no config restore to be sure!). After that:

Rule:
on Button#State do
if [Button#State]=1
event switchon
else
event switchoff
endif
endon

[Submit]

Log:
197926 : FILE : Saved config.dat
197951 : FILE : Saved security.dat

:D
by vader
11 Nov 2017, 23:20
Forum: ESP Easy: General Discussion
Topic: My problems with ESPEasy
Replies: 8
Views: 5590

Re: My problems with ESPEasy

Some screen shots of your config would be nice.....

On BUT1#Switch do <-- what GPIO?
if [RELAY1#Relay]=1 <-- what GPIO?
gpio,2,0
else
gpio,2,1
endif
endon

Have you study the Wiki?
by vader
11 Nov 2017, 18:04
Forum: ESP Easy: Software
Topic: Push Button state not synced
Replies: 2
Views: 2214

Re: Push Button state not synced

Screen shots of your config, a log and the rules would be helpful to know....
by vader
11 Nov 2017, 14:19
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

This values call for trouble, I would say. :? Why is HIGH so low with 1.6V? That will never work stable. So, you should fix that first, that we have proper H/L-levels for the ESP. In this time you can set your dog in stand-by mode..... :lol:
by vader
10 Nov 2017, 19:19
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

That's strange.... :? And the ESP with direct connection to GND works like expected? Have the PIRs a re-trigger delay?
by vader
10 Nov 2017, 17:47
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

Ok, it seems that GPIO-0 and GPIO-2 have already an internal pull-up!? So enable pull-up in the config of woonkamer for GPIO-10 and check what happens. Have the outputs of the PIRs open collector? Then we need the pull-ups.... And I found this and maybe helpful why GPIO-0 and GPIO-2 works.... ;) htt...
by vader
10 Nov 2017, 17:14
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

Ok, that looks good so far I can see. A bit careful with the use of GPIO-0. If it is LOW during boot, you enter flash mode! Have you connected the GPIOs direct with GND / 3.3V to see if the state change?
by vader
10 Nov 2017, 16:46
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

The cabeling looks in fact a bit wild! :lol: But I mean some screen shots of the ESP Easy config pages. My thought is, that there is something wrong.
by vader
10 Nov 2017, 16:03
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

I think it would be a good idea to provide us with some screen shots of your config. Pics say more than 1000 words, as you know... ;)
by vader
10 Nov 2017, 14:33
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

Stupid question: What is the output level in V of your PIRs, when they are old and work with 12V as you wrote? Because, old hardware and 3.3V....!? :roll:
by vader
10 Nov 2017, 12:57
Forum: ESP Easy: Hardware
Topic: Only two pins work with motion detectors??
Replies: 25
Views: 12971

Re: Only two pins work with motion detectors??

Normally GPIO-0 and GPIO-2 are no problem. Disable any Pull-Ups in the settings (e.g. switch input for the HC-SR501) and all is fine! You can define the used GPIO port as Input under Hardware. That should work (I have it in use)....
by vader
09 Nov 2017, 17:37
Forum: Experimental
Topic: How can I set a delay of 0 in OLED framed (P36)?
Replies: 5
Views: 14241

Re: How can I set a delay of 0 in OLED framed (P36)?

This is the reason:

if (timerSensor[x] == 0) // small fix if result is 0, else timer will be stopped...
timerSensor[x] = 1;
by vader
07 Nov 2017, 21:31
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13233

Re: %sysday% not working?

Yep, that's the same source I compiled my version from. It's in the Misc.ino, as you already know... ;)
by vader
07 Nov 2017, 18:36
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13233

Re: %sysday% not working?

Yes, misc.ino line 1726 https://github.com/letscontrolit/ESPEasy/blob/mega/src/Misc.ino#L1726 But only submitted so long ago... https://github.com/letscontrolit/ESPEasy/pull/485 So I guess it is not included in your version. 1. That's the same as I already posted in #2! 2. How would you explain, th...
by vader
07 Nov 2017, 15:41
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 12392

Re: KRACK vulnerability

That issue is already from 29 Apr 2016 and should be fixed. I tried core 2.4 and reverted back to 2.3 due to some problems it made....
by vader
07 Nov 2017, 13:49
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 12392

Re: KRACK vulnerability

No problem with that.

HELLO
%uptime%

on OLED give this:
by vader
07 Nov 2017, 13:09
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13233

Re: %sysday% not working?

Yep. Self-compiled version with sources from GIT.

%sysday%.%sysmonth%.%sysyear%
HELLO

on OLED shows this:
by vader
07 Nov 2017, 11:17
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13233

Re: %sysday% not working?

Tested and works. Returns 07 and 11 today. See source code... newString.replace(F("%sysname%"), Settings.Name); newString.replace(F("%systime%"), getTimeString(':')); newString.replace(F("%syshour%"), getHourString()); newString.replace(F("%sysmin%"), getMinut...
by vader
06 Nov 2017, 10:50
Forum: ESP Easy: General Discussion
Topic: Connect ESP to hidden SSID: bug description and workaround
Replies: 3
Views: 7686

Re: Connect ESP to hidden SSID: bug description and workaround

Normally no problem with hidden SSID. Have you spaces or special characters in your SSID (others than 0-9 and a-z)? Then try without them.
by vader
05 Nov 2017, 11:02
Forum: Staff Announcements forum
Topic: ESP Easy development status
Replies: 143
Views: 233949

Re: ESP Easy development status

I do not understand all that doing. Before fixing all the known issues, the devs start working on implementing new CPUs like ESP32 and whatever we normal user don't need (yet)! We want a firmware that works without all that bugs! That doing remembers me at Micro$oft, that makes all of us to beta tes...