Search found 497 matches

by papperone
05 Aug 2017, 11:34
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

HI, I will be back home tomorrow and I'll look into the plugin based on your comments to fix bugs (like the one that calibration is nor surviving a reset/power down). About the "Active Power" of course if you calibrate with a resistive load then you try to measure a reactive load the value...
by papperone
23 Jul 2017, 04:08
Forum: ESP Easy: Hardware
Topic: Generic Relay (active low)
Replies: 6
Views: 8117

Re: Generic Relay (active low)

with inverted logic of it works just the wrong way around. By default and "common sense" driving an input high would actuate the relay but unfortunately these common relais you see everywhere are driven with input low.. There are reasons and i do believe this "inverted logic" is...
by papperone
17 Jul 2017, 12:13
Forum: ESP Easy: Software
Topic: relay state after reboot
Replies: 26
Views: 18646

Re: relay state after reboot

Can you try like this:

Code: Select all

on System#Boot do
  Event TurnOff1
  Event TurnOff2
  Event TurnOff3
  Event TurnOff4
  Event Toggle2
  Event Toggle3
endon
I can imagine your toggle events get confused when you set channels manually On at boot so above should work properly
by papperone
17 Jul 2017, 12:05
Forum: ESP Easy: Software
Topic: Flashing Sonoff Wifi Modules / not working
Replies: 36
Views: 45251

Re: Flashing Sonoff Wifi Modules / not working

Esp is on the other side i guess, can you send bottom picture as well?
Only thing i can think of is tgat maybe itead changed from esp8266 to another mc
by papperone
17 Jul 2017, 12:03
Forum: ESP Easy: Software
Topic: How to use Syslog?
Replies: 10
Views: 10696

Re: How to use Syslog?

Drum wrote: 16 Jul 2017, 22:45 I have a QNAP NAS which has syslog server. I was never able to get it working properly on my RaspberryPI but really easy on the QNAP.
Can you share more info on the QNap syslog install & setup?
Thanks!
by papperone
13 Jul 2017, 08:10
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

good to hear it works for you!! now maybe we can wait at least some more users to confirm as well in order to make sure it's at least not a coincidence :mrgreen: anyhow I'll be out 3 weeks for my summer vacation, bringing the family to Japan, so I will not be able to work on further development / b...
by papperone
12 Jul 2017, 23:08
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

good to hear it works for you!! now maybe we can wait at least some more users to confirm as well in order to make sure it's at least not a coincidence :mrgreen: anyhow I'll be out 3 weeks for my summer vacation, bringing the family to Japan, so I will not be able to work on further development / bu...
by papperone
12 Jul 2017, 23:06
Forum: ESP Easy: Hardware
Topic: ESP12E & Wired Ethernet
Replies: 15
Views: 20120

Re: ESP12E & Wired Ethernet

Well, having a wired ETH cable (which I suppose is coming from your router or AP/switch) running from your home lan to somewhere in your garden is anyhow dangerous :) Having said that then I would explore either an RF gateway or even experiment with LoRa (something which is tempting me for a while b...
by papperone
12 Jul 2017, 17:03
Forum: ESP Easy: Hardware
Topic: ESP12E & Wired Ethernet
Replies: 15
Views: 20120

Re: ESP12E & Wired Ethernet

If you can bring wired ETH and not wifi I would install a WiFi router (AP) using the wired ETH cable. This will help you with easy configuration and if you need to run more than one ESP you can still do it via WiFi... ...and you can enjoy WiFi in your whole garden (I have a big garden as well and th...
by papperone
12 Jul 2017, 16:57
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

you are sending the URL not correctly, it shoudl be: xxx.xxx.xxx.xxx/control?cmd=hlwcalibrate,VVV,AAA,WWW as well can you try to send the commands via the WEB interface: Capture.JPG in both cases calibration parameters are saved automatically, and this you can verify looking at the device configurat...
by papperone
12 Jul 2017, 09:54
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

I don't have a clamp, but do have two multimeters. I'll put both of them to work to measure (V) and (I) at the same time... A 60W light bulb should do the trick being the load. surely you can, I do have a clamp and it's easier :) but you can do it with 2 multimeter of course. I tested with both 100...
by papperone
12 Jul 2017, 07:32
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

good to hear reboot issue is confirmed fixed!! about your points: 1) Even the ElectroDragon reads around 200/210 without calibration and default multipliers 2) You did not have controller setup for the AC Current sensor plugin so it's normal data are not sent out In order to calibrate I do as follow...
by papperone
11 Jul 2017, 07:21
Forum: ESP Easy: Hardware
Topic: New Itead based Wall Switch
Replies: 28
Views: 33879

Re: New Itead based Wall Switch

PCB tracks for AC are ridiculous on those units you just posted pictures; I won't install them in my house!! My philosophy si different and my system is designed to work differently, surely it requires more rewiring and is more exepnsive but I truly believe is safer. I'll post some pictures / info a...
by papperone
10 Jul 2017, 17:59
Forum: ESP Easy: Hardware
Topic: New Itead based Wall Switch
Replies: 28
Views: 33879

Re: New Itead based Wall Switch

hi drbrains, I've flashed espurna on it, I can turn on/off the touch from espurna webpage, but the switch status is not updated if I manually turned the the switches off/on. Can you share how you configured it? Are you still talking about the discontinued "Touch" 2 channel switch? I saw I...
by papperone
10 Jul 2017, 17:41
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

I think I've found the bug, which was my fault and not the "SaveCustomSettings" function :shock:
PullRequest submitted, please let me know if now it works as it shoudl :)
by papperone
10 Jul 2017, 13:39
Forum: ESP Easy: Hardware
Topic: Problem of flash/start on D1 Mini Pro
Replies: 7
Views: 11218

Re: Problem of flash/start on D1 Mini Pro

D1 Mini PRO has 16Mb and not 4Mb si I suspect the issue is that you need to compile the firmware with the right settings and not to use a precompiled one...

EDIT: why your are flashing an ESP8266 with ESP8285 compiled??
by papperone
08 Jul 2017, 16:08
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

PS: I saw you put just 5 characters on the OLED text, can you please try to put like 30 characters on each line and try to save it ?
by papperone
08 Jul 2017, 16:06
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Didnt' get yet home to do further test/checks but as that function does work on a 4Mb ESP8266 and on a WemosD1 Mini (which is as well 4Mb) I can only think something is related to POW unit. The function "SaveCustomTaskSettings" works with pointer and size (in bytes) so it shouldn't matter ...
by papperone
08 Jul 2017, 08:51
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

It looks like something in here is horribly wrong: SaveCustomTaskSettings(event->TaskIndex, (byte*)&hlwMultipliers, sizeof(hlwMultipliers)); It causes the function to abort, i suspect that the reboot is due to the fact that you're saving a local function variable pointer in a global area... thi...
by papperone
07 Jul 2017, 23:08
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

WOW...very disappointing, indeed it looks like it crashes as soon as the HLW is inited :(
Let me know your findings, and let's see what can be done, as on a 4Mb ESP8266 it is working flawlessly...
by papperone
06 Jul 2017, 17:19
Forum: ESP Easy: Projects / Applications
Topic: Keypad support
Replies: 10
Views: 10928

Re: Keypad support

not sure if the right place, but I've seen few plugins in the playgournd supporting keypad units/IC.... those plugins (asaik) handle only one key-press, while a typical usage of those keypad is to "enter codes", so would it be possible to have the plugin to handle this feature? maybe defin...
by papperone
06 Jul 2017, 17:15
Forum: ESP Easy: Hardware
Topic: PIR sensor wiring ??
Replies: 7
Views: 7074

Re: PIR sensor wiring ??

Those shoudl be AS312 PIR (you can check this removing the white plastic and look at the text engraved on the sensor). then the connection is the one reported by Shardan but please check if the PIR has a voltage regulator as it's supposed to work at 3.3V and not 5V!! See below the schematic I've fou...
by papperone
06 Jul 2017, 14:06
Forum: ESP Easy: General Discussion
Topic: I2C Pins
Replies: 7
Views: 6518

Re: I2C Pins

I agree Shardan, my statement was just to asnwer that GPIO9/10 are still available as a choice as far as user aknowledge there are limitations (as well i can confirm I've no module that can work with GPIO9/10 but I've read here in the forum with older modules it is possible)
by papperone
06 Jul 2017, 14:00
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

I think the problem could be related to the fact that to save the parameters as they are "DOUBLE" I am forced to save them to SPIFF memory but I was able to test it only with 4Mb module. I am not sure I can simulate a 1Mb module just compiling it with different paramentes, I will check. @L...
by papperone
06 Jul 2017, 08:49
Forum: ESP Easy: General Discussion
Topic: I2C Pins
Replies: 7
Views: 6518

Re: I2C Pins

as I wrote it's been reported that in some old boards GPIO9 (and maybe 10) can work without any issue, while in the majority of the current modules (Wemos D1 Mini 100% sure) it causes reboot if used
by papperone
05 Jul 2017, 23:45
Forum: ESP Easy: General Discussion
Topic: I2C Pins
Replies: 7
Views: 6518

Re: I2C Pins

As far as I know GPIO9/10 are used to access SD memory and cannot be used for anything else otherwise the ESP will quite surely reset (just some old boards seems to be ok to use those pins)... If you don't use I2C you can always leave those 2 "empty" in the hardware tab and all will work a...
by papperone
03 Jul 2017, 10:50
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Ok I will test it with latest GIT this evening and let you know... As POW has a relay maybe you can't have any reading as the relay is probably cutting the Live before the HLW8012 chip. Did you try it? PS: Delay of 1 sec. can kill the ESPEasy performaces.... Please also check out my update: Update:...
by papperone
03 Jul 2017, 09:55
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Ok I will test it with latest GIT this evening and let you know...
As POW has a relay maybe you can't have any reading as the relay is probably cutting the Live before the HLW8012 chip. Did you try it?

PS: Delay of 1 sec. can kill the ESPEasy performaces....
by papperone
03 Jul 2017, 08:43
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

As well the GUI is slightly different (probably in the latest GIT you are using they did some changes) as I do have the "delay" value in the bottom after the Controller (no big deal). Can you try as well to setup the delay to some values? The pluing is supposed to read the values at a give...
by papperone
03 Jul 2017, 08:38
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

that's weird, as the first time the plugin init itself it shoudl be saving the calibration values if they are equal to zero. Can you try to send the command "HLWCalibrate" to calibrate manually and recalculate the multipliers? By the way the default multipliers must be: Power Mult: 1034361...
by papperone
30 Jun 2017, 12:10
Forum: ESP Easy: Software
Topic: NTP seems not to survive reset - either manual or from a crash
Replies: 4
Views: 3071

Re: NTP seems not to survive reset - either manual or from a crash

Can you provide more details, with such post it close to mission impossible to help? Here NTP works flawlessy on all release I do have for DEV and TEST environment, from R148 to 2.0-dev10. I have several Wemos D1 Mini, Sonoff single and personal development boards. All of them are setup to use "...
by papperone
27 Jun 2017, 16:11
Forum: ESP Easy: General Discussion
Topic: In a Shoebox
Replies: 7
Views: 5756

Re: In a Shoebox

I think those small ones are useless for NodeMCU/Wemos usage leaving no advatages as they are not allowing anythign else to be connected on the breadboard itself... You can still solder female connectors facing up instead of male ones on the Wemos (for example) and connect jumpers directly to it. I ...
by papperone
27 Jun 2017, 15:48
Forum: ESP Easy: Hardware
Topic: EspEasy support Sonoff RF with 433MHZ control?
Replies: 11
Views: 18490

Re: EspEasy support Sonoff RF with 433MHZ control?

I think he wants to keep using the RF remote to switch on/off the relay no the button on the SONOFF itself... am I correct?
by papperone
26 Jun 2017, 12:57
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 9303211

Re: Support for PZEM 004T Energy monitor

papperone , You already very long wait... Since January 2017. :) June already comes to an end... ;) Somebody can already has made support ? Can developers will add support PZEM-004T in the next release ESPEasy? I know, oredered from China, usually 2/3 months but this was was probably lost and reord...
by papperone
26 Jun 2017, 12:35
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 9303211

Re: Support for PZEM 004T Energy monitor

still waiting mine to arrive and then I'll code a plugin, no worries, just be patient :)
by papperone
26 Jun 2017, 06:34
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

I mean, is it possible to send readings to Thingspeak https://thingspeak.com Directly from ESPEasy it should be possible.but not sure how much ram it will eat. I do lots of Thingspeak data logging but I use my Raspberry PI via Node Red which is much simpler and not hard coded into ESPEasy. Like thi...
by papperone
26 Jun 2017, 06:15
Forum: ESP Easy: General Discussion
Topic: ESPEasy SPIFFS(?) Security Issue
Replies: 1
Views: 2423

Re: ESPEasy SPIFFS(?) Security Issue

If you read the wiki it should be written that alla configuration files are saved into SPIFF so as far as you don't completely wipe the memory ESPEasy will keep finding those files and use them. If you search there should be plenty of "how to"s on the web
by papperone
26 Jun 2017, 06:08
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

kniazio wrote: 26 Jun 2017, 06:01 What is sending data to Thingspeak?
What? My plugin is not using any data logging. That's not in its scope....
by papperone
25 Jun 2017, 07:37
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

_P170_HLW8012.ino into the playground.
Waiting for feedback if it works on an original Sonoff POW; instructions on previous posts...
by papperone
23 Jun 2017, 19:17
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Well to be openly honest I did a mistake during the test even myself, and swapped Live and Neutral... As a results at next power up of the module small sparks and 2 resistors on the module got burnt (all ok after I replaced them!). Nobody was killed and I can oly balme myslef that overlooked the con...
by papperone
23 Jun 2017, 13:14
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Prior to release first ALPHA version into the Plugin Playground I'd like to collect some feedback and inputs. As i design the plugin it shoudl be able to work both with ITEAD POW, ElectroDragon HLW8012 module and virtually any HLW8012 module as far as pinout is compatible. The Plugin requires to kno...
by papperone
23 Jun 2017, 10:48
Forum: ESP Easy: Hardware
Topic: [Fixed!] Strange relay behaviour, not switching on/off on GPIO 0/1 command.
Replies: 17
Views: 28718

Re: Strange relay behaviour, not switching on/off on GPIO 0/1 command.

May I ask you which type of PSu are you using? In a friend of mine setup he had similar issue despite the "beefy" PSU (1.5A) but at the end the final solution was to replace it for another one! I provided him a 700mA PSU which I normally use for all my project (HLK-PM01) mounted on a small...
by papperone
22 Jun 2017, 23:54
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 244126

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

under testing... hope to relase it during the weekend ;)
Capture.JPG
Capture.JPG (39.9 KiB) Viewed 86525 times
by papperone
21 Jun 2017, 10:13
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 651011

Re: Yewelink/Tuya WiFi Touch wall light switch

thanks, looking closely at the pictures, the only components that I cannot identify is IC1 (the small 8 pin chip in the bottom); will you be able to read his data on top?
by papperone
20 Jun 2017, 23:53
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 651011

Re: Yewelink/Tuya WiFi Touch wall light switch

Great Job! As I'd like to learn on this devices, do you know if by chance schematic and/or PCB are available?? Thank you! I have asked API-s (or any documentation) from the ebay seller and also the manufacturer Yewelink, with no success. There are some PCB and general information on https://docs.tu...