Search found 122 matches

by rayE
13 Jul 2019, 14:03
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

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 sure the re...
by rayE
10 Jul 2019, 11:58
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6723

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: 756

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: 100
Views: 6723

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: 756

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: 756

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: 100
Views: 6723

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: 756

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_Info#Pcount]&field5...
by rayE
03 Jul 2019, 00:15
Forum: ESP Easy: Software
Topic: Compiling from source under arduino - IR Plugin
Replies: 12
Views: 1186

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: 1186

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: 1186

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: 1186

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: 1186

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: 5
Views: 1718

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 text like ...
by rayE
08 Jun 2019, 01:08
Forum: ESP Easy: General Discussion
Topic: EspEasy sends data to Thingspeak in odd time intervals
Replies: 8
Views: 2550

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: 8
Views: 2550

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: 5
Views: 2565

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: 2673

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: 3187

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: 3187

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: 476

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: 476

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: 476

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: 3
Views: 253

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: 1080

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: 75
Views: 25239

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
by rayE
11 May 2019, 02:04
Forum: ESP Easy: General Discussion
Topic: rules disable in AP mode
Replies: 4
Views: 330

Re: rules disable in AP mode

Many thanks and sorry for the dumb question..................it works great.
by rayE
10 May 2019, 16:09
Forum: ESP Easy: General Discussion
Topic: rules disable in AP mode
Replies: 4
Views: 330

Re: rules disable in AP mode

But how do i know the device is in AP mode to issue the command rules,0?
by rayE
10 May 2019, 12:47
Forum: ESP Easy: General Discussion
Topic: rules disable in AP mode
Replies: 4
Views: 330

rules disable in AP mode

Hi All, Is there a way to disable rules when the device is in AP mode? Maybe there is there a system flag available that indicates if the device is in AP mode? Im asking as i have a rule that does a periodic ping to check for internet connection, if ping fail is > x then i reboot the unit. If the de...
by rayE
07 May 2019, 20:32
Forum: ESP Easy: General Discussion
Topic: Newbie questiom.
Replies: 2
Views: 366

Re: Newbie questiom.

You could send the data to the cloud and use an IOT service such as https://thingspeak.com. This will provide you with a maximum of 8 data fields that can be updated simultaneously from your device (minimum update time for the free service is 15 seconds per update). You can set things up on the ESPE...
by rayE
02 May 2019, 16:19
Forum: ESP Easy: General Discussion
Topic: What firmware release to use?
Replies: 14
Views: 877

Re: What firmware release to use?

For me i do the following......................... 1. Pick an off the shelf bin that includes the plugins i need. 2. Configure and test all the required plugins work that i need for my particular app. 3. Make sure there are no reboots by logging the update time. 4. Make sure the network is stable to...
by rayE
27 Apr 2019, 09:20
Forum: ESP Easy: General Discussion
Topic: System Time does not show up under Main menu
Replies: 1
Views: 254

Re: System Time does not show up under Main menu

Maybe a corrupted flash? Try loading a blank bin then load espeasy again.
by rayE
25 Apr 2019, 04:32
Forum: ESP Easy: Software
Topic: Cannot connect to CloudMQTT
Replies: 7
Views: 2592

Re: Cannot connect to CloudMQTT

Did you ever found it out how to connect with CloudMQTT?
by rayE
23 Apr 2019, 15:26
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 586

Re: Energy Meter HLW8012 Breakout Board voltage issue

I haven't calibrate yet but I think it will not a solution because values are very diffret to calibrate see board show that 5 V voltage but actually it must be around 220 V
You need to calibrate the thing before ANYTHING else! Do this first before wasting time chasing your tail :-)
by rayE
23 Apr 2019, 14:38
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 586

Re: Energy Meter HLW8012 Breakout Board voltage issue

Try Mega 20190202 Sonoff build, this works for me then do a calibration. Below is my pin state buffer.
by rayE
22 Apr 2019, 20:58
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 586

Re: Energy Meter HLW8012 Breakout Board voltage issue

Hi,
You did not answer point 1+4? Here is my setup using Mega 20190202. If this still does not work TRIPLE check the connections from breakout PCB to your esp8266, are they connected to the right pins?
by rayE
22 Apr 2019, 00:57
Forum: ESP Easy: Hardware
Topic: High Current Relay Suggestion
Replies: 9
Views: 526

Re: High Current Relay Suggestion

Careful on your choice of ultra cheap SSR! i purchased some from ebay a while back and it turned out they were fakes, labeled as 30A but were more like 10A!
by rayE
21 Apr 2019, 06:33
Forum: ESP Easy: General Discussion
Topic: Comments on the new UI?
Replies: 17
Views: 1312

Re: Comments on the new UI?

This makes it a VERY nice front end for different projects, Thank you, Keep up the great work.
by rayE
21 Apr 2019, 02:53
Forum: ESP Easy: General Discussion
Topic: Comments on the new UI?
Replies: 17
Views: 1312

Re: Comments on the new UI?

Great work!

Can the GUI be edited by the user to take out some of the menu options?
by rayE
21 Apr 2019, 02:22
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 586

Re: Energy Meter HLW8012 Breakout Board voltage issue

Hi, 1. Does ESPeasy read current and power correctly? 2. Do you need to set up the GPIO pins as input/output under the "Hardware" tab in the GUI? 3. Also try setting "pre defind pin settings" in the device to "SonOff POW (R1)" 4. Calibration? https://espeasy.readthedocs.io/en/latest/Plugin/P076.html...
by rayE
21 Apr 2019, 02:14
Forum: ESP Easy: General Discussion
Topic: ThingSpeak MQTT
Replies: 0
Views: 265

ThingSpeak MQTT

Hi All, My project currently sends 8 data fields to Thing speak using the REST API at 30 second intervals, example below. SendToHTTP api.thingspeak.com,80,/update?key=yourWriteAPIkey&field1=[HLW_Accu#V]&field2=[HLW_Accu#A]&field3=[HLW_Accu#W]&field4=[HLW_Accu#Count]&field5=[S_Info#WiFi]&field6=[S_In...
by rayE
19 Mar 2019, 14:56
Forum: ESP Easy: Software
Topic: dummy Octal
Replies: 5
Views: 397

Re: dummy Octal

Maybe im misunderstanding something here from my tests...............If i have 1 or more device's (quad dummy variables) sending data to a controller like Thingspeak then the first device seems to has a priority over the other devices i.e the other devices do NOT transmit their variable data in ONE ...
by rayE
18 Mar 2019, 02:20
Forum: ESP Easy: Software
Topic: dummy Octal
Replies: 5
Views: 397

Re: dummy Octal

OK, so woke with a fresh head today and found 2 things. 1. Problem in plugin code (updated code below) 2. This line in Globals.h (changed from 4 to 8) //#define VARS_PER_TASK 4 #define VARS_PER_TASK 8 //RAE All appears to be running OK, system details looks very similar to before i added the Octal p...
by rayE
17 Mar 2019, 12:55
Forum: ESP Easy: Software
Topic: dummy Octal
Replies: 5
Views: 397

dummy Octal

Hi All, Iv been using send to HTTP to send all 8 variables to Thingspeak (TS). Iv noticed there are a quite a few occasions when the data does not get to TS even though pinging TS says it is OK. My send data rate is every 30S. I just started to use the TS controller BUT it seems you cannot send all ...
by rayE
09 Feb 2019, 06:56
Forum: ESP Easy: Software
Topic: Compile error Mega latest
Replies: 2
Views: 365

Re: Compile error Mega latest

This work was done on source code from mega_20190202.
by rayE
09 Feb 2019, 06:54
Forum: ESP Easy: Software
Topic: Compile error Mega latest
Replies: 2
Views: 365

Re: Compile error Mega latest

OK i think i figured this out, changes below. Added this to top of Custom.h file ####################################################################################################### You can basically ovveride ALL macro defined in ESPEasy.ino. Don't forget to first #undef each existing #define tha...
by rayE
06 Feb 2019, 11:55
Forum: ESP Easy: Software
Topic: Compile error Mega latest
Replies: 2
Views: 365

Compile error Mega latest

Hi All, Platform: SNOFF POW Compiler: Ardunio 1.8.8 Source: ESPEasy_mega-20190202 OS: Widows 7.0 Im getting the following error when P076 is included in define_plugin_sets.h Arduino: 1.8.8 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), 2, v2 Lower...
by rayE
04 Feb 2019, 07:57
Forum: ESP Easy: Software
Topic: Mega web GUI
Replies: 5
Views: 440

Re: Mega web GUI

Got it! Ill make a donation in the near future to you guys toward your continuing work on this excellent project.
Keep up the good work and Many thanks