Search found 64 matches

by Gilles
17 Dec 2019, 07:33
Forum: ESP Easy: Hardware
Topic: Creating a paper-mail to email gateway
Replies: 2
Views: 4899

Re: Creating a paper-mail to email gateway

@Shardan,
Thanks for the clarification
Gilles
by Gilles
16 Dec 2019, 08:14
Forum: ESP Easy: Hardware
Topic: Creating a paper-mail to email gateway
Replies: 2
Views: 4899

Creating a paper-mail to email gateway

I was reading the project : https://www.letscontrolit.com/wiki/index.php/EasyNotifications , you now recommend to use a esp-12F. I suppose that it is because it has 4MB memory. Unfortunately, it has not a connector for an external wifi antenna (the ESP07-S has), useful when the mailbox if far away f...
by Gilles
23 Sep 2019, 08:51
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

Re: electrical power outage detection

Hi Sherdan,
so the 100K-Resistor of around 2 Watt has to be connected between the main 230V and the optocoupler right ? Between 2 and 6 or between 1 and 2 ?
I hope to go to the shop this week. I will ask for an optocoupler with a "normally closed" relay.
by Gilles
22 Sep 2019, 14:57
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

Re: electrical power outage detection

Based on your example, and as I have more than a lack of knowledge in electronics, I have searched the web and I have found this (sorry in french) diagram: detection-du-secteur-230v.jpg . OUTPUT: 0V if electricity exists and 3,3V if cut The point is that the esp will receive 3,3V when the electrical...
by Gilles
20 Sep 2019, 09:42
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

Re: electrical power outage detection

oops , sorry I have added my post at the same time as yours .
Thanks
Gilles
by Gilles
20 Sep 2019, 09:40
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

Re: electrical power outage detection

Herer is the simple diagram I am thinking of, based on TD-er suggestion.
optocoupler.jpg
optocoupler.jpg (15.73 KiB) Viewed 10761 times
by Gilles
19 Sep 2019, 17:22
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

Re: electrical power outage detection

Hi TD-er, I went through some doc on the optocouplers. In your example,in a normal case, when there is no electrical power cut, the optocoupler LED will close the (power) circuit on which the esp (deepmode) is connected to. AND It will open the power circuit when there is an electrical power outage....
by Gilles
17 Sep 2019, 09:41
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

Re: electrical power outage detection

Thanks TD-er, good idea.
I am not an electronic specialist, so I will try to ask around some friends. My understanding is that when there is a power outage, it closes a second circuit which can be used with the deepsleep feature to awake the espxxx.
by Gilles
16 Sep 2019, 15:55
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 10962

electrical power outage detection

During our summer vacations far from home, there has been an electrical power outage in the house. I had detected that there was no more internet access to the house but no way to know if it was because of the Internet box. At the end I have called a neighbor but it was too late for the freezer, so ...
by Gilles
01 Jun 2019, 11:56
Forum: ESP Easy: General Discussion
Topic: SONOFF S20 : Disable the blue and circle green lights
Replies: 3
Views: 7203

Re: SONOFF S20 : Disable the blue and circle green lights

When I set the GPIO13 to 0, the blue light is switched off, but the green circle is switched on. I need both to be switched off to sleep :). Is there a way to switch off the green one and the blue one? Nevertheless, I need the sonoff internal switch to be up because I have a lamp connected to the so...
by Gilles
01 Jun 2019, 08:24
Forum: ESP Easy: General Discussion
Topic: SONOFF S20 : Disable the blue and circle green lights
Replies: 3
Views: 7203

SONOFF S20 : Disable the blue and circle green lights

It is a basic question but I went through the forum and I didn't find any answer. The keywords are maybe too simple. I would like to use the sonoff S20 in my bedroom, so I would like ALL the lights(circle green, blue) to be switched off, but I need the sonoff to remain "active"( button, switch) beca...
by Gilles
30 May 2019, 19:12
Forum: ESP Easy: General Discussion
Topic: SONOFF S20 : how to connect a reed switch
Replies: 3
Views: 7149

Re: SONOFF S20 : how to connect a reed switch

Thanks
I assume that :
GPIO 1 if I use the TX
or
GPIO 3 if I use the RX.

For the record, to disable the serial port , go to Tools, Advanced, and untick the "Enable Serial port:" in the "Serial Settings" section.
by Gilles
30 May 2019, 18:49
Forum: ESP Easy: General Discussion
Topic: SONOFF S20 : how to connect a reed switch
Replies: 3
Views: 7149

SONOFF S20 : how to connect a reed switch

Hello, I would like to use a SONOFF S20 along with a reed switch to check if the window is opened or closed. Then I will add rules to send a mail if the window is open for more than 10 minutes. I have read some examples in the forum where LisaM said that using the gpio 1,3 ,13 and 15 is not good, be...
by Gilles
26 Mar 2019, 17:39
Forum: ESP Easy: Software
Topic: normal or normal_core_241 or normal_core_242
Replies: 5
Views: 2106

Re: normal or normal_core_241 or normal_core_242

Thanks for the answer. I understand the difference between "stable" , "stable + test" and "stable + test + development". What I don't know is which bin file I can use for the sonoff(1M). core.JPG There are 3 versions for the 1M:normal, normal core 241 and normal core 242 and I don't see anywhere the...
by Gilles
26 Mar 2019, 11:57
Forum: ESP Easy: Software
Topic: normal or normal_core_241 or normal_core_242
Replies: 5
Views: 2106

Re: normal or normal_core_241 or normal_core_242

Is ther anyone who can can help to point me to a link for an explanation about normal or normal_core_241 or normal_core_242 ?
by Gilles
19 Mar 2019, 08:09
Forum: ESP Easy: Software
Topic: normal or normal_core_241 or normal_core_242
Replies: 5
Views: 2106

normal or normal_core_241 or normal_core_242

I have a sonof basic(1M). Could you tell me where I can get the info about these 3 espeasy versions (see title) ? The README.txt which come with the ESP_Easy_mega-20190305 doesn't explain anything about the core versions compared to the "normal" version: The package includes: - ESP_Easy_mega-2019030...
by Gilles
17 Mar 2019, 08:09
Forum: ESP Easy: Software
Topic: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305
Replies: 4
Views: 1253

Re: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305

I have never been able to http the sonoff once upgraded to MEGA-20190305. If I have some time, I will give it a second try. BTW, I had used the bin file : ESP_Easy_mega-20190305_normal_ESP8266_1M.bin Would you recommend me to use : ESP_Easy_mega-20190305_normal_core_242_ESP8266_1M.bin or ESP_Easy_me...
by Gilles
15 Mar 2019, 07:52
Forum: ESP Easy: Software
Topic: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305
Replies: 4
Views: 1253

Re: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305

I have too many disconnections issues with ESPEasy_mega-20190225. But it looks like the pings awake it. When I run a continous ping, I don't see any disconnection. Is there a feature which make it sleep when there is no activity ? ( I have not set any rule, device or whatever, not even ntp). It has ...
by Gilles
12 Mar 2019, 07:35
Forum: ESP Easy: Software
Topic: SONOFF BASIC: wifi issue with ESPEasy_mega-20190305
Replies: 4
Views: 1253

SONOFF BASIC: wifi issue with ESPEasy_mega-20190305

FYI : The wifi was a little bit unstable with ESPEasy_mega-20190225.( 2 meters away from the wifi router) I had decided to upgrade the Sonoff Basic from ESPEasy_mega-20190225 to ESPEasy_mega-20190305 to have the new wifi feature cpu eco mode. After that, I only got one answer every 7 pings, so I was...
by Gilles
09 Mar 2019, 08:44
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

I have upgraded the sonoff esp to: ESPEasy_mega-20190225
Everything works as it has to.
I can get the dummy variable
dummy_device.PNG
dummy_device.PNG (26.38 KiB) Viewed 7428 times
and your java script is fantastic:)
dummy_device2.PNG
dummy_device2.PNG (5.64 KiB) Viewed 7428 times
NB: the json display shows a lot of detailed info with this espeasy version.

Thanks a lot
Gilles
by Gilles
08 Mar 2019, 16:36
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

you are right, In my case, it is the second sensor and the second value so it should be jsonData.Sensors[1].TaskValues[1].Value + ' sec'; I have even tried several combinations. Maybe there is something wrong with the espeay version that I run. Don't worry, I will write a python script to get the js...
by Gilles
08 Mar 2019, 15:43
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

It doesn't work for me with Chrome.
The inspect console shows some errors
dummy_device3.PNG
dummy_device3.PNG (86.38 KiB) Viewed 7480 times
Really sorry,
Gilles
by Gilles
08 Mar 2019, 15:22
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

I had tested it , but i only get a blue background. I have edited the example.html file changed the blue lines. <script> let ip = '192.168.1.6'; setInterval(function() { let ud = 'id_' + +new Date; let url = 'http://' + ip + '/json?callback=' + ud; fetch(url) .then(res => res.json()) .then((jsonData...
by Gilles
08 Mar 2019, 14:51
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

I was thinking to something(url) that I could type in a browser on my smartphone or laptop. I already have a shortcut to trigger the rule (http://192.168.1.6/control?cmd=event,toto).
Another browser shortcut to have the timer value displayed should be great :)
by Gilles
08 Mar 2019, 14:27
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

BTW,
what would be the http command to get the value of tv2 (second value of the second device)
Is it : http://192.168.1.6/json
or is there a query which return directly the value of tv2
ex something like : http://192.168.1.6/control?cmd=status,countdown,2,2

Thanks
by Gilles
08 Mar 2019, 13:59
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

I may need to upgrade to a more recent version.
I may do it this weekend. I will add a post when done.
Thanks for your help and time.
Much appreciated
Gilles
by Gilles
08 Mar 2019, 13:49
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

I have just added a line in the rule to assign the value 300 to the variable number 2 (tv2) and I can see it in the device section. On toto Do If [Relai#Status]=0 gpio,12,1 TimerSet,1,7200 TimerSet,8,1 Let,1,7200 TaskValueSet,2,1,[VAR#1] TaskValueSet,2,2,300 Else gpio,12,0 TimerSet,1,0 TimerSet,8,0 ...
by Gilles
08 Mar 2019, 13:43
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

it doesn't work either. I have renamed the status and rewritten the rule to make it simpler. On toto Do If [Relai#Status]=0 gpio,12,1 TimerSet,1,7200 TimerSet,8,1 Let,1,7200 TaskValueSet,2,1,[VAR#1] Else gpio,12,0 TimerSet,1,0 TimerSet,8,0 Let,1,0 TaskValueSet,2,1,[VAR#1] EndIf EndOn On Rules#Timer=...
by Gilles
08 Mar 2019, 10:24
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

Sorry but It doesn't work yet. the dummy device value remains 0.The four value names are : dummy, tv2, tv3, tv4) Any idea ? here is the rule: ( I trigger it with : http://192.168.1.6/control?cmd=event,toto ) on toto do if [Relai#Relai]=1 gpio,12,0 else gpio,12,1 endif endon //http://192.168.1.6/cont...
by Gilles
07 Mar 2019, 17:29
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

got it : relai(french) and relay(English)
The eye of the tiger :)
by Gilles
07 Mar 2019, 17:05
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

wow, I am really impressed with what you can do with espeasy. Thanks for your great explanation. Unfortunately, it doesn't work for me. the dummy device values remain empty. Here is the device section: dummy_device.PNG here is the rule section (with relay#relay ,not yet changed): on toto do if [Rela...
by Gilles
07 Mar 2019, 12:07
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

Thanks for the detailled info. What I want : I use a sonoff with espeasy to switch on a light in the garden with a timer = 2 hours . I trigger this with a rule. And 2 hours later, when the timer equals 0 , I switch off the light with another rule. This works fine. Now, I just would like to know if i...
by Gilles
07 Mar 2019, 07:27
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

Thanks Patou, I have also find a command reference which talks about the "let" statement : https://espeasy.readthedocs.io/en/latest/Reference/Command.html I have spent some time yesterday based on grovkillen's solution to try to make it work, but not yet succeeded. I don't understand how I can get t...
by Gilles
05 Mar 2019, 09:14
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Re: Get the timer value

Thanks,
I will give it a try.

Is the "Let" command explained somewhere? I went through the wiki and have not found it.
Thanks
Gilles
by Gilles
04 Mar 2019, 15:05
Forum: ESP Easy: Software
Topic: Get the timer value
Replies: 32
Views: 7665

Get the timer value

I am using a sonoff/espeasy to power on a a lamp during 2 hours via a rule and a timer : On Relai#Relai do if [Relai#Relai]=1 timerSet,1,7200 //timer 1 set for 2 heures else timerSet,1,0 endif endon Is there a way to get the value of the timer to know how much time is left in the same way as I can g...
by Gilles
01 Sep 2018, 08:18
Forum: ESP Easy: Hardware
Topic: Paper-mail with email project
Replies: 17
Views: 4660

Re: Paper-mail with email project

the png has disappeared. Here is what I have:
Config.PNG
Config.PNG (5.45 KiB) Viewed 3829 times
by Gilles
01 Sep 2018, 08:16
Forum: ESP Easy: Hardware
Topic: Paper-mail with email project
Replies: 17
Views: 4660

Re: Paper-mail with email project

wow. I have found this in the forum: awake.PNG but I only have this: I need to check why. Config.PNG I will be driving all the day (while some other will be hunting :). I will check tomorrow what went wrong, but I wil not be at home so I will not be able to test. I may have a version issue. I run v2...
by Gilles
31 Aug 2018, 20:12
Forum: ESP Easy: Hardware
Topic: Paper-mail with email project
Replies: 17
Views: 4660

Re: Paper-mail with email project

The easyNotification "guide" (https://www.letscontrolit.com/wiki/inde ... ifications) says:

Enable deep sleep with a sleep time of 0 seconds. (this way it only wakes up manually by the switch)
Enable Sleep on connection failure
Set message delay to 0.

What settings are you talking about?
by Gilles
31 Aug 2018, 19:27
Forum: ESP Easy: Hardware
Topic: Paper-mail with email project
Replies: 17
Views: 4660

Re: Paper-mail with email project

I apologize for my bad english. Let me rephrase. Let's say the ESP is in deep sleep. It will be awaken when the switch will detect that the door is open even for one second. How much time the ESP will stay up before going again to the deep sleep? Is there a way to configure the time that the ESP wil...
by Gilles
31 Aug 2018, 15:27
Forum: ESP Easy: Hardware
Topic: Paper-mail with email project
Replies: 17
Views: 4660

Re: Paper-mail with email project

yes, you are right.
I think so, but how/where to configure the time the esp will be up, these 10 or 15 seconds that I need for the ESP to boot, connect to the network and send the email?
by Gilles
31 Aug 2018, 15:10
Forum: ESP Easy: Hardware
Topic: Paper-mail with email project
Replies: 17
Views: 4660

Re: Paper-mail with email project

I am working on the same project with my mailbox. My question is: As the open/close lasts around one second, how much time the esp07S will be powered ? I know that I can configure a static ip to save time, but it still needs some time anyway to connect to the ssid and to send a mail. I have applied ...
by Gilles
10 Feb 2018, 19:00
Forum: ESP Easy: Software
Topic: only first email notification is sent
Replies: 12
Views: 4725

Re: only first email notification is sent

@ Kayombo
I have attached 2 JPG:
- Rule
- Notification
notification.JPG
notification.JPG (60.04 KiB) Viewed 3494 times
The attachment notification.JPG is no longer available
Sorry it is a french mail server.
IMPORTANT : The Domain and the smtp Server are those used by my Internet provider (internet box at home), not those from my email addresses(laposte.net)

Gilles
by Gilles
08 Feb 2018, 17:40
Forum: ESP Easy: Software
Topic: Is there a version for an ESP07 with 512K flash?
Replies: 1
Views: 867

Is there a version for an ESP07 with 512K flash?

By mystake, I have ordered and received 5 x ESP-07 (not ESP-07S). IMG_20180120_1411452.jpg As they have 512KB flash, I cannot use the recent Espeasy versions. Is there an old espeasy version supported by these ESP07 devices that I could play with or any other solution or do I have to put them to the...
by Gilles
07 Feb 2018, 08:25
Forum: ESP Easy: Projects / Applications
Topic: Post mailbox to email notifier.
Replies: 18
Views: 7388

Re: Post mailbox to email notifier.

Thanks for the info. My bad. I have missed the extra "S" in your recommandation of using a ESP-07 instead of a ESP-12. I also will have a look at your project to check the wiring. I have just ordered 5 ESP07-S to a chinese site. btw, would you know an european site where to order parts and avoid wai...
by Gilles
06 Feb 2018, 11:44
Forum: ESP Easy: Projects / Applications
Topic: Post mailbox to email notifier.
Replies: 18
Views: 7388

Re: Post mailbox to email notifier.

Hi Shardan & Psy0rz, I have just read a recent post titled : "Need help flashing ESP-07" in the hardware section. It says that I cannot use the ESPEASY software with the ESP07 because it has only 512K memory, and that I should buy the ESP07-S instead. Is that true? I have followed the guidances from...
by Gilles
06 Feb 2018, 11:20
Forum: ESP Easy: Projects / Applications
Topic: Post mailbox to email notifier.
Replies: 18
Views: 7388

Re: Post mailbox to email notifier.

Hello,
Any comment or error in my diagram ?

Do you think/confirm that the cabling is the right one? I am not a specialist so any advice is good to me.

I have ordered 3 more ESP07. They may be helpful if I am wrong.

Gilles
by Gilles
30 Jan 2018, 14:06
Forum: ESP Easy: Software
Topic: would need to add date and some variables in the email notification
Replies: 10
Views: 3674

Re: would need to add date and some variables in the email notification

I don't use gmail, but I think that you should configure your internet provider smtp server and domain instead of the gmail ones. There are a lot of posts about this.
Gilles
by Gilles
29 Jan 2018, 15:36
Forum: ESP Easy: Projects / Applications
Topic: Post mailbox to email notifier.
Replies: 18
Views: 7388

Re: Post mailbox to email notifier.

I would like to submit you the results of my searchs. Could you have a look at the attached Word diagram and comment it? It is the sum of what I have collected after reading a lot of things. Please tell me if I am right or if something is missing or is incorrect. I understand that I will need someth...
by Gilles
27 Jan 2018, 19:06
Forum: ESP Easy: Software
Topic: would need to add date and some variables in the email notification
Replies: 10
Views: 3674

Re: would need to add date and some variables in the email notification

nothing to add. Just to allow me to tick the "Notify me when a reply is posted" :)
by Gilles
27 Jan 2018, 19:05
Forum: ESP Easy: Software
Topic: would need to add date and some variables in the email notification
Replies: 10
Views: 3674

Re: would need to add date and some variables in the email notification

It works, congrat Here is the configuration that I use : THE RULE SECTION: On AL do gpio,12,1 notify 1 EndOn THE NOTIFY SECTION: Subject: %sysname% a été activée %sysday% %sysmonth% %sysyear% %systime% Body : La prise 2 a été activée The subject of the mail that I receive is :"Prise2 - Bureau a été ...