Search found 144 matches

by rayE
11 May 2019, 02:04
Forum: ESP Easy: General Discussion
Topic: rules disable in AP mode
Replies: 4
Views: 3126

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by rayE
21 Apr 2019, 02:14
Forum: ESP Easy: General Discussion
Topic: ThingSpeak MQTT
Replies: 0
Views: 2244

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_Inf...
by rayE
19 Mar 2019, 14:56
Forum: ESP Easy: Software
Topic: dummy Octal
Replies: 5
Views: 3645

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

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

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

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

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

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 ...
by rayE
04 Feb 2019, 07:57
Forum: ESP Easy: Software
Topic: Mega web GUI
Replies: 5
Views: 3118

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
by rayE
04 Feb 2019, 07:40
Forum: ESP Easy: Software
Topic: Mega web GUI
Replies: 5
Views: 3118

Re: Mega web GUI

So i can just comment out the menu items i do not need here? else if (varName == F("menu")) { static const __FlashStringHelper* gpMenu[8][3] = { // See https://github.com/letscontrolit/ESPEasy/issues/1650 // Icon, Full width label, URL F("⌂"), F("Main"), F(&qu...
by rayE
04 Feb 2019, 07:17
Forum: ESP Easy: Software
Topic: Mega web GUI
Replies: 5
Views: 3118

Re: Mega web GUI

Many thanks, ill take a look.
by rayE
04 Feb 2019, 06:57
Forum: ESP Easy: Software
Topic: Mega web GUI
Replies: 5
Views: 3118

Mega web GUI

Hi All,
I need some advice on making changes to WebServer.ino so that the web GUI ONLY displays the "Config" page, all other menu buttons are not shown as i do not want users to mess around with the units settings. Any pointers to this are most welcome :-)

Regards
Ray
by rayE
04 Feb 2019, 05:53
Forum: ESP Easy: Software
Topic: AP mode slow web interface
Replies: 2
Views: 1875

Re: AP mode slow web interface

TaskDisable,<tasknumber>,<1/0> you mean? Yes that is something we're planning on adding.
Yes, exactly!
by rayE
04 Feb 2019, 02:16
Forum: ESP Easy: Software
Topic: AP mode slow web interface
Replies: 2
Views: 1875

AP mode slow web interface

Hi All, I thought I would share this as it may be useful to some. I have had many problems in the past with configuring wifi settings whilst the unit is in AP mode. I have experienced very sluggish behaviour of the AP web interface and also the unit reconnecting to a pre-configured network without w...
by rayE
02 Sep 2018, 13:19
Forum: ESP Easy: Software
Topic: Write to a local file
Replies: 3
Views: 3158

Write to a local file

Hi All,
Is there anyway to write to a local file onboard the ESP unit? I want to log some data once a month that may accumulate up to 10Kb in total, the idea is to write this to a local text file onboard the ESP unit, im guessing config.dat serve's a similar mechanism?

Thanks
Ray
by rayE
02 Sep 2018, 05:55
Forum: ESP Easy: General Discussion
Topic: Custom HTML page for management
Replies: 12
Views: 8825

Re: Custom HTML page for management

Any updates on this topic?
by rayE
21 Aug 2018, 13:19
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

Using a slightly modified plugin 076, running on a heavily modified SonOff POW with a 100A current clamp for the current input. Using very rough calibration of V+I it's looking pretty good, +/- 5%. This is monitoring the main power feed into a site with 5 apartments and 3 small houses in the Philipp...
by rayE
20 Aug 2018, 03:00
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

So would this mean 2 plugin's are required or can this be done in one? One thing missing from the drawing is the update timer already present in the plugin, this fits between the re-entry to the loop.........or better still we loose the "bottom" rules timer on the drawing and make the upda...
by rayE
20 Aug 2018, 01:21
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

So is it possible to run a timer from within the plugin? I also notice from the HLW8012.cpp file that it uses _voltage_pulse_width = pulseIn(_cf1_pin, HIGH, _pulse_timeout) , i take it this is a software method? if so then this will also cause blocking on low frequency signals. All that being said, ...
by rayE
19 Aug 2018, 09:43
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

I have no experience with the build process but i guess ill learn, i just followed the tutorial here. https://www.letscontrolit.com/wiki/index.php/Tutorial_Arduino_Firmware_Upload This is what iv done so far. 1. Added this to the first line of ESP.ino file "#define PLUGIN_SET_SONOFF_POW" t...
by rayE
18 Aug 2018, 14:36
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

OK, it's now working. I bit the bullet and compiled my own version using arduino. There are some issues maybe down to timing differences and calibration differences between HLW8012 (the plugin im using) and the CSE7759 (the VI chip in the V2.0 SonOff units i have). I will try to work through these i...
by rayE
17 Aug 2018, 23:13
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

I can confirm the following regarding the V2.0 board. Sensor chip = CSE7759, Looking at the data sheet this looks the same as the HLW8012 chip but there will be calibration differences. RAM = 32mbit = 4mbyte ESP8266? im sure it is as it has external memory and works with some 8266 builds. I tried to...
by rayE
17 Aug 2018, 22:45
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

IMG_5785.JPG
IMG_5785.JPG (645.73 KiB) Viewed 8367 times
by rayE
17 Aug 2018, 22:40
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

I cannot see the number on the ESP chip but it has and external 4mb memory so i assume it's an 8266. Also it all seems ok running the ESP_Easy_mega-20180815_dev_ESP8266_4096.bin. The problem is this build does not have the required device i need. Here is a dump of the system information. Also a pic ...
by rayE
17 Aug 2018, 20:54
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

Re: SonOff POW V2.0

Hi Thomas,
I have tried ESP_Easy_mega-2018nnnn_hard_SONOFF_POW.bin from a few different builds but it causes my unit to constantly reboot, im guessing it's a memory difference?

Thanks
Ray
by rayE
17 Aug 2018, 10:22
Forum: ESP Easy: Hardware
Topic: SonOff POW V2.0
Replies: 13
Views: 8710

SonOff POW V2.0

Hi All, I have a couple of SonOff POW V2.0 (not revision 2) units and im trying to find a pre-built bin file to test these out. The power sensor chip in these units is a CSE7759 that i believe from data sheets is very similar to the HLW8012 chips found in the V1.0 units, both are VI to frequency con...
by rayE
08 Nov 2017, 08:29
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

Re: %sysday% not working?

Hi, Well i went down the build path and followed the instructions exactly................Atom/Platformio is the MOST BUGGY and HORRIBLE installation i have EVER performed (Win7 64). It took 3 attempts before it "felt" like it "may" be working, Even the uninstall procedure is pret...
by rayE
07 Nov 2017, 23:56
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

Re: %sysday% not working?

Thanks for the help from you BOTH. I will go down the "build" road today and fix the issue.

@ Vandar, Having never used GTI or compiled my own version of ESP Easy the question i posted may have seemed DUMB but we have all been there at one point, correct!

Anyway thanks again.
Ray
by rayE
07 Nov 2017, 14:59
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

Re: %sysday% not working?

Hi,
Yes NTP is enabled and i can get %systime%. I have searched all the source files in V2.0.0 dev12 and can find no reference to the non working sys names. Im guessing %sysdate% etc is supposed to be in Misc.ino file?

Ray
by rayE
07 Nov 2017, 13:46
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

Re: %sysday% not working?

AH self compiled version :-)

i don't suppose you could be a real star and share your compiled version with me? im a newby and have not gone down the "build road" yet. If you could id send you a "virtual" cold beer :-)

Ray
by rayE
07 Nov 2017, 13:43
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

Re: %sysday% not working?

newString.replace(F("%sysname%"), Settings.Name); newString.replace(F("%systime%"), getTimeString(':')); newString.replace(F("%syshour%"), getHourString()); newString.replace(F("%sysmin%"), getMinuteString()); newString.replace(F("%syssec%"), getSec...
by rayE
07 Nov 2017, 12:11
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

Re: %sysday% not working?

Hi Vadar,
Are you using v2.0.0-dev12?

Thanks
Ray
by rayE
07 Nov 2017, 09:39
Forum: ESP Easy: Software
Topic: %sysday% not working?
Replies: 17
Views: 13904

%sysday% not working?

Hi All, %systime% works OK and returns HH:MM:SS but i get nothing back with %sysday% or %sysmonth% GIT version: v2.0.0-dev12 Triggered from timer1 in system boot. Rule below. On Rules#Timer=1 do // When Timer1 expires, do GPIO,5,1 // Turn SerialIRQ ON $Time=%systime% // Send this comment out to seri...
by rayE
05 Nov 2017, 11:28
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19736

Re: Flow sensor reboots ESP E12

And what about DEBOUNCING TIME ?
Im sure i would have set debounce time to a minimum setting as the pulse comes from a hall element therefore the waveform is clean. Debounce is only realy needed for things like relays and switches where you get mechanical bouncing of the contacts.
by rayE
05 Nov 2017, 11:16
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30945

Re: Solar Power Supply for ESP ??

0.1uF (or 100nF) both are the same value.
by rayE
04 Nov 2017, 10:07
Forum: ESP Easy: Projects / Applications
Topic: Flow sensor reboots ESP E12
Replies: 26
Views: 19736

Re: Flow sensor reboots ESP E12

The above diagram is the way im using the flow sensor. Vcc is 3.3V, decoupling capacitor is 0.1uF ceramic and pull up resistor is 10K. Looking at the pulse O/P on a scope it is VERY clean and works on a PIC MCU with no problems. Here is the sensor https://www.google.com.ph/search?q=flow+sensor&s...
by rayE
04 Nov 2017, 01:45
Forum: ESP Easy: Hardware
Topic: Solar Power Supply for ESP ??
Replies: 35
Views: 30945

Re: Solar Power Supply for ESP ??

This is how i wire a bare ESP12-E module using solar and TP4056 PCB.
ESP Battery Mon.png
ESP Battery Mon.png (28.13 KiB) Viewed 26341 times