Search found 144 matches

by rayE
09 Mar 2022, 00:09
Forum: ESP Easy: General Discussion
Topic: HTTPS secure communications
Replies: 2
Views: 5274

Re: HTTPS secure communications

Thanks
by rayE
08 Mar 2022, 09:27
Forum: ESP Easy: General Discussion
Topic: HTTPS secure communications
Replies: 2
Views: 5274

HTTPS secure communications

This may be a dumb question but i cannot find an answer to it. Does ESP easy on an ESP32 platform support HTTPS SSL?

TIA
Ray
by rayE
23 Mar 2020, 08:54
Forum: ESP Easy: General Discussion
Topic: Plugin help
Replies: 5
Views: 6270

Re: Plugin help

Got it! Looking at plugin 60 helped, this is the fix. Declair the variable that i copy the gui BATTERY_V (PCONFIG_LONG(1)) into as a global. int batteryV; //This needs to be global if using in your own functions outside of PLUGIN_READ Copy the web gui PCONFIG_LONG(1 to my variable in the PLUGIN_READ...
by rayE
22 Mar 2020, 03:47
Forum: ESP Easy: General Discussion
Topic: Plugin help
Replies: 5
Views: 6270

Re: Plugin help

Hi Thomas, Thanks for that detailed walk through and it did help in my understanding of plugin's. It seems that the example you gave is for the plugin output values, i need the following. 1. The battery V textbox is a user INPUT (one time) that indicates the actual battery voltage the system operate...
by rayE
21 Mar 2020, 03:11
Forum: ESP Easy: General Discussion
Topic: Plugin help
Replies: 5
Views: 6270

Plugin help

Hi All, I am modifying the serialProxy plugin to read serial data from battery inverters/UPS systems that support the Megatec serial protocol. It's working but im stuck on one thing. How do i read a value from a text box in the plugin web page and assign it to a variable? The item im interested in i...
by rayE
16 Mar 2020, 00:08
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 34
Views: 30039

Re: 150 days online

Im using NTP and since the early February build i have had zero reboots on my 3 units compared with around one reboot every day using a September (ish) build. It feels to me that the reboot problem is history :-)
by rayE
24 Feb 2020, 10:41
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 34
Views: 30039

Re: 150 days online

Hi All, I have 3 units running a custom build from release 20200204. All 3 units are running VERY WELL with NO reboots in the last 4 days, that is a FIRST for me. Just to note im running NTP and a modified domoticz MQTT controller to work with ThingsBoard IOT. Iv got a gut feeling you at "lets ...
by rayE
03 Feb 2020, 03:38
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210290

Re: Hardware Watchdog Reboots

Hi All, Im just checking back into the forum after a while away and it looks like some roads have been built to a stable version. Im doing my own builds using Arduino can i ask for advice on which core version and other Arduino settings to use. Im planning on using mega_20191208 source code for my b...
by rayE
16 Nov 2019, 04:46
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

Thanks TD-r. Ill report back on this with my chosen solution, it could be handy for others.
by rayE
15 Nov 2019, 13:52
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

Is writing to very top of Flash safe? so if i have 4M, 1M spiffs where would i write to safely? Or i just write to a dummy var?
by rayE
15 Nov 2019, 13:34
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

I should have added, the simple circuit i attached will also have a BOD before the diode and attached to a D/I pin on the esp through a potential divider. This will alert the ESP that the main supply has gone down and to enter emergency save to flash mode. In my location we have a brown out once a d...
by rayE
15 Nov 2019, 13:26
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

Understood, iv used FRAM many years back on a PIC application. Cheaper today BUT overkill for my application, If it's just a few bytes you need to store once in a while on a certain trigger.
by rayE
15 Nov 2019, 12:11
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

Simple HW implementation...............The AT tiny dotted stuff is the 3V3 regualator if using a ESP module without a regulator. attachment=0]download.jpg[/attachment] Loose the LED, wasted power. Also from the data sheet the flash memory has a write limitation of 10K, after this that part of flash ...
by rayE
15 Nov 2019, 12:01
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

This really does sound pretty cool. I have seen lots of posts regarding "states" after a reboot...................problem solved?
by rayE
15 Nov 2019, 11:48
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

There is an EPROM section in the flash, which we do not yet use and I was thinking of using it for special purposes like OTA definitions etc. Now THAT would be a real sexy/useful feature to have, i take it this is NON volatile? how many bytes are available? AND as you say a method of keeping the mo...
by rayE
15 Nov 2019, 11:38
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

Actually, and more important, how is the last boot cause stored?
by rayE
15 Nov 2019, 11:36
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

Does the last boot cause have a timestamp?
by rayE
15 Nov 2019, 11:35
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Re: Brownout detection

No its extra expense, reduced cost of the end product is essential.
by rayE
15 Nov 2019, 11:11
Forum: ESP Easy: Hardware
Topic: Brownout detection
Replies: 15
Views: 13440

Brownout detection

Hi All, Please correct me if im wrong on this, but an 8266 module has NO non volatile RAM? rather you can write to the RTC memory or general purpose flash memory? What i want to do is log the RTC time when there is a power failure and log the time when the power was restored. To accomplish this im t...
by rayE
25 Oct 2019, 14:04
Forum: ESP Easy: Software
Topic: Web wizard page
Replies: 4
Views: 7580

Re: Web wizard page

Many thanks TD-er, it works a treat :-)
by rayE
25 Oct 2019, 13:09
Forum: ESP Easy: Software
Topic: Web wizard page
Replies: 4
Views: 7580

Re: Web wizard page

Im doing this for two reasons. 1. If i set the unit to AP mode it will switch to AP mode but when i log onto it via 192.168.4.1 the interface is very sluggish as it's reporting using 100% CPU time. When i look in the debug window in looks like its constantly trying to connect with whatever credentia...
by rayE
25 Oct 2019, 09:54
Forum: ESP Easy: Software
Topic: Web wizard page
Replies: 4
Views: 7580

Web wizard page

Hi all, Self build 20191003 Im trying to force open the web wizard page using the rules below. //***Set to web wizard page with a 5 second key press*** on switch#switch=10 do GPIO,15,0 //Turn off Blue LED GPIO,12,1 //Turn on Red LED WifiSSID,"" WifiKey,"" save reboot endon The pr...
by rayE
13 Jul 2019, 14:03
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210290

Re: Hardware Watchdog Reboots

And tada.... both nodes are up and running for 3 days now. No more web hangers etc I totally agree, There is a lot of evidence to the underlying problem given the router configuration. This needs to be documented in some kind of on line spread sheet that the "testers" update (maybe), im s...
by rayE
10 Jul 2019, 11:58
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210290

Re: Hardware Watchdog Reboots

My devices are Sonoff POW rev1, i tried what your saying several months back and tested over several weeks BUT after a few days testing it seemed to make little or no difference in the overall average reboots. This one is a tricky one to get to the underlying problem :-) I used to have this old sayi...
by rayE
08 Jul 2019, 00:05
Forum: ESP Easy: General Discussion
Topic: Data being sent to ThingSpeak not in regular intervals
Replies: 9
Views: 12573

Re: Data being sent to ThingSpeak not in regular intervals

From memory i think there is a limit that can be sent in one go. This can be increased, i think it's a setting in the globals file? This requires a change and recompile to the ESP source code.
by rayE
07 Jul 2019, 12:23
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210290

Re: Hardware Watchdog Reboots

It's way to early to be sure but i just had the best uptime from both my devices since they started running continually in February. Ill just focus on one unit for this post. The previous best uptime was 2,434 (minutes). The latest uptime was 4,512 then there was a power outage, so we start again. I...
by rayE
06 Jul 2019, 13:02
Forum: ESP Easy: General Discussion
Topic: Data being sent to ThingSpeak not in regular intervals
Replies: 9
Views: 12573

Re: Data being sent to ThingSpeak not in regular intervals

Good luck with the project, i for one understand the importance of what your doing :-)

If you need any FREE assistance in this project then im an electronics design engineer with programming knowledge, give me a shout at

rayellam@yahoo.com

im semi retired and glad to assist :-)

Ray
by rayE
06 Jul 2019, 12:12
Forum: ESP Easy: General Discussion
Topic: Data being sent to ThingSpeak not in regular intervals
Replies: 9
Views: 12573

Re: Data being sent to ThingSpeak not in regular intervals

Wonderful mate, glad i could be of help. Keep those IOT bees happy as without them the human race is SCREWED :-) Please keep me updated on any progress. I live in the Philippines and honey is a very much liked product here as well as general cross pollination of plants provided by our furry flying f...
by rayE
06 Jul 2019, 03:30
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 210290

Re: Hardware Watchdog Reboots

Not sure if this helps. I have 2 devices running the same application and set up as follows. 1. DHCP using a fixed IP oclet (advanced). Both on the same IP address, with 30, 31 as the last oclet. 2. ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 3. Release 20190202. My laptop is connected...
by rayE
04 Jul 2019, 00:12
Forum: ESP Easy: General Discussion
Topic: Data being sent to ThingSpeak not in regular intervals
Replies: 9
Views: 12573

Re: Data being sent to ThingSpeak not in regular intervals

Hi, The following will write all 8 fields to a public/private channel. Replace write API key and vars with your stuff. Trigger the send from a timer. SendToHTTP api.thingspeak.com,80,/update?key=YourWriteAPIkey&field1=[HLW_Accu#V]&field2=[HLW_Accu#A]&field3=[HLW_Accu#W]&field4=[S_Inf...
by rayE
03 Jul 2019, 00:15
Forum: ESP Easy: Software
Topic: Compiling from source under arduino - IR Plugin
Replies: 12
Views: 13586

Re: Compiling from source under arduino - IR Plugin

Its unlikely you will get support compiling with Ardunio as it's not supported by the developers. Bite the bullet and try out Platformio, i installed it many moons ago on a win7 machine and i EVENTUALLY got it working (the install of platformio/Atom was/is buggy and required many reboots/uninstalls ...
by rayE
02 Jul 2019, 08:46
Forum: ESP Easy: Software
Topic: Compiling from source under arduino - IR Plugin
Replies: 12
Views: 13586

Re: Compiling from source under arduino - IR Plugin

From this line it looks like your not using 20190202. As i already said after this release there are many errors so sorry i cannot help you. If you do figure it out then let me know :-) In file included from C:\Users\WinCycle\Documents\Arduino\ESP EASY\ESPEasy-mega-20190630\ESPEasy-mega-20190630\src...
by rayE
02 Jul 2019, 04:16
Forum: ESP Easy: Software
Topic: Compiling from source under arduino - IR Plugin
Replies: 12
Views: 13586

Re: Compiling from source under arduino - IR Plugin

What source code are you using, 20190202? in my source there is no C0016? try disabling that.
by rayE
29 Jun 2019, 08:58
Forum: ESP Easy: Software
Topic: Compiling from source under arduino - IR Plugin
Replies: 12
Views: 13586

Re: Compiling from source under arduino - IR Plugin

Hi,
Sorry im out on site for the next week with no access to my build computer.

1. Did you follow the build with Arduino guide EXACTLY? https://www.letscontrolit.com/wiki/inde ... are_Upload
2. you need to include this at the top of ESPeasy.ino, #include "Custom.h"
by rayE
28 Jun 2019, 15:27
Forum: ESP Easy: Software
Topic: Compiling from source under arduino - IR Plugin
Replies: 12
Views: 13586

Re: Compiling from source under arduino - IR Plugin

Hi, I use the Arduino compiler to do builds. The last build that i used was 20190202, after this there were many compile errors that i could not figure out. Most people use platformio to compile but it's a real pain to set up and get working for some reason. Check out the following link for Arduino ...
by rayE
17 Jun 2019, 02:31
Forum: ESP Easy: Projects / Applications
Topic: RS485 Serial options?
Replies: 7
Views: 21093

Re: RS485 Serial options?

I did something similar BUT very different many moons ago without any devices/controllers using events in rules. https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3693&p=20179#p20181 To test this you could connect a terminal to the serial input/output on the esp device and send some te...
by rayE
08 Jun 2019, 01:08
Forum: ESP Easy: General Discussion
Topic: EspEasy sends data to Thingspeak in odd time intervals
Replies: 9
Views: 13318

Re: EspEasy sends data to Thingspeak in odd time intervals

I have tried both the thingspeak controller and sendtoHttp methods with thingspeak but both were not 100% reliable, sometimes updates were missed. Thingspeak now supports MQTT so I ended up modifying one of the MQTT controllers to work with thingspeak and this method ROCKS, no missed updates on the ...
by rayE
07 Jun 2019, 09:18
Forum: ESP Easy: General Discussion
Topic: EspEasy sends data to Thingspeak in odd time intervals
Replies: 9
Views: 13318

Re: EspEasy sends data to Thingspeak in odd time intervals

Unless the thingspeak controller has been updated since a couple of months ago then this is the way to do it. 1. Create a quad dummy var. 2. Give this dummy var an IDX of 1, Enable and send to thingspeak controller. The first temp will be field 1 and so on. 3. Copy your 3 temps into this var 4. set ...
by rayE
04 Jun 2019, 10:44
Forum: ESP Easy: Software
Topic: Save data to txt
Replies: 9
Views: 14068

Re: Save data to txt

@ Chprzemo, can you post your findings here? This sounds very useful for posting bulk data to a cloud IOT service.
by rayE
02 Jun 2019, 16:03
Forum: ESP Easy: Hardware
Topic: Broken I2C bus.
Replies: 7
Views: 14746

Re: Broken I2C bus.

Pull up's?
https://learn.sparkfun.com/tutorials/i2 ... ware-level

OR
Tools - Advanced - I2C ClockStretchLimit..................i have absolutely no idea what this does but im guessing it does something??????????? :-)
by rayE
28 May 2019, 02:55
Forum: ESP Easy: General Discussion
Topic: Flashing errors.
Replies: 7
Views: 12069

Re: Flashing errors.

Is the ESP01 1M and not 512? Read the number on the flash chip.
by rayE
28 May 2019, 02:11
Forum: ESP Easy: General Discussion
Topic: Flashing errors.
Replies: 7
Views: 12069

Re: Flashing errors.

Not sure if this will help but first flash a blank 1M bin before flashing the main app.
by rayE
21 May 2019, 01:01
Forum: ESP Easy: General Discussion
Topic: problem with remote control
Replies: 8
Views: 5291

Re: problem with remote control

This follows your original logic without nested if's. If this is not working then check your logic! on IR_RECEIVER#IR do if [IR_RECEIVER#IR]=2049 and [zmienna_1#Switch_1]=0 TaskValueSet 2,1,1 gpio,14,[zmienna_1#Switch_1] endif if [IR_RECEIVER#IR]=2049 and [zmienna_1#Switch_1]=1 TaskValueSet 2,1,0 gp...
by rayE
20 May 2019, 03:40
Forum: ESP Easy: General Discussion
Topic: problem with remote control
Replies: 8
Views: 5291

Re: problem with remote control

Something like this......................?

Code: Select all

// klawisz_1
on IR_RECEIVER#IR do
   if [IR_RECEIVER#IR]=2049 and [zmienna_1#Switch_1]=0
       TaskValueSet 2,1,1
   else 
       TaskValueSet 2,1,0
       gpio,14,[zmienna_1#Switch_1]
   endif
//Delay 1000 
Endon
by rayE
19 May 2019, 13:15
Forum: ESP Easy: General Discussion
Topic: problem with remote control
Replies: 8
Views: 5291

Re: problem with remote control

I believe you cannot nest multiple if statements, only one is allowed. This may be the problem? Look in debug log, im certain you will see one of those nested if's is ignored?

Ray
by rayE
18 May 2019, 03:10
Forum: ESP Easy: Hardware
Topic: HLW8032
Replies: 4
Views: 7503

Re: HLW8032

This looks similar to the CSE7766, maybe the plug-in will work? if not i bet it's an easy(ish) task to modify it.
by rayE
17 May 2019, 13:03
Forum: ESP Easy: Projects / Applications
Topic: Calculating kWh from Amps+Volts
Replies: 10
Views: 10877

Re: Calculating kWh from Amps+Volts

I use SonOff POW so the instantaneous power is already calculated. This is how i calculate kwh........... 1. Take power reading every 5S and store in a dummy var (accumulator) 2. On the next sample add to the dummy var (accumulator). 3. After 6 samples divide the dummy var by the number of samples. ...
by rayE
14 May 2019, 03:11
Forum: Staff Announcements forum
Topic: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]
Replies: 105
Views: 1454790

Re: BIG announcement, the future of ESP Easy. [READ THIS IF YOU LOVE OUR FW]

Hi ESPeasy,
I just sent you some beer money via paypal from sales@boracayapartment.com. Keep up the GREAT work, much appreciated :-)

Regards
Ray