Search found 48 matches

by nick-head
10 Nov 2020, 14:39
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Re: Pulse Counter, does not reset to zero - help

Thanks Thomas, I will look into this.

i just felt a bit stupid as ESP has been about for a few years and no-one has ever complained about this.

So I thought it was just me, but I will give it a go and see what happens,

Regards

nick
by nick-head
08 Nov 2020, 10:26
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Re: Pulse Counter, does not reset to zero - help

Seems like I cannot detect / act on a value of " inf " when the pulse stops.

The log shows inf but the devices displays 0, neither can be used in a formula for some reason
by nick-head
08 Nov 2020, 09:58
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Re: Pulse Counter, does not reset to zero - help

Hi Thomas, Thanks for the reply. I tried the above, did not change a thing. I found that the value in the devices display is 0, but the output of the log is still the last power that was received. I also tried putting it in a Dummy Value, as below,, this is the last one I tried, and I tried a few co...
by nick-head
07 Nov 2020, 23:33
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Re: Pulse Counter, does not reset to zero - help

Below shows Domoticz and ESPEasy
Solar-Power kWh is different as I have been removing the input to see if it changes
p2.JPG
p2.JPG (70.11 KiB) Viewed 11010 times
p1.JPG
p1.JPG (47.57 KiB) Viewed 11010 times
by nick-head
07 Nov 2020, 23:24
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Re: Pulse Counter, does not reset to zero - help

It is not on a re-boot though. If I stop the pulse, the output does not follow, it stays the same value as the last pulses it counted. effectively, the pulse is a continuous low/high, wherever it stopped at that time. So, all I can think of is that a time-out after, say 30 seconds , being about 3 wa...
by nick-head
07 Nov 2020, 22:52
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Re: Pulse Counter, does not reset to zero - help

Sorry about that: No hardware circuit diagram as it is a standard wiring. The circuit works, pulse count is spot on with input pulses No other problems other than the output kWh stays at the last power and does not change to zero if pulse is removed, hence i asked about timeout. ESPEasy_mega-2020091...
by nick-head
07 Nov 2020, 16:15
Forum: ESP Easy: General Discussion
Topic: Pulse Counter, does not reset to zero - help
Replies: 10
Views: 11038

Pulse Counter, does not reset to zero - help

Hi all, I have been at this problem for months and cannot sort it. I have two pulse-counters, one for House Power and one for Solar Power. When either supply drops to zero, the readings always stay at the last power. The input is via an optical sensor counting the flashing pulses. This pulse, when t...
by nick-head
16 Apr 2017, 11:06
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 192300

Re: IR Transmitter ?

How about an IR Repeater ?

Then it doesn't matter about protocols , does it ?

Many of us have lots of ESP's that we can put around the house and utilise a common receiver to control
appliances in a different room.

Or am I being too presumptuous?
by nick-head
08 Feb 2017, 11:02
Forum: ESP Easy: General Discussion
Topic: Sorry, the board attachment quota has been reached.
Replies: 3
Views: 3576

Re: Sorry, the board attachment quota has been reached.

I am getting that as well, have been for a few weeks.
by nick-head
31 Jan 2017, 16:27
Forum: ESP Easy: General Discussion
Topic: upload espeasy with arduino, no AP
Replies: 10
Views: 8311

Re: upload espeasy with arduino, no AP

Unless you are like me and dont have a massive house therefore needing dhcp is not an option..
You dont have mulit-subnet capabilities by the look of it.

For me, a static IP. The choice is yours.
by nick-head
31 Jan 2017, 14:22
Forum: ESP Easy: General Discussion
Topic: upload espeasy with arduino, no AP
Replies: 10
Views: 8311

Re: upload espeasy with arduino, no AP

You have default ip settings as false therefore it will probably default to the 192.168.4.x subnet

Change it to true and recompile.

I dont think an AP will be available as the settings have been modded.
by nick-head
27 Jan 2017, 21:14
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

And I have just tried the AA batteries, it doesn't boot. So that's out of the window :(
by nick-head
27 Jan 2017, 20:33
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Are you sure the ttl converter is working ?

Connect the RX to TX pin on the converter and use a comms program to check if it loops back
by nick-head
24 Jan 2017, 10:18
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

OOps, sorry, I think I answered a message to someone else, apologies
by nick-head
24 Jan 2017, 10:12
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

I have , yes. I got bored with it, so I also flashed microPython on it. All they are is an ESP8266 with a few extra bits added. I am also considering upgrading the memory from 1MB to 4MB as I have with my other ESP8266-01's but the flash chip is in between components and I am a bit clumsy with my ho...
by nick-head
22 Jan 2017, 22:16
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

And, that power supply is not the one I have.

Mine is a linear converter not digital.

It has 2 regulators on it, one 5v one 3.3v AMS 1Amp type, never had a problem with these.

The one you showed me is totally different
by nick-head
22 Jan 2017, 22:11
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Yer, Having a ball, = enjoying what I am doing to the limit

Like a production line = making lots of things at once, doing loads of programming , connecting building

I just enjoy messing about

Try some AA batteries if you don't want to use a PSU, 2 fully charged ones should suffice for a hour or so
by nick-head
22 Jan 2017, 00:37
Forum: ESP Easy: Software
Topic: Sendtohttp - domoticz json
Replies: 13
Views: 23086

Re: Sendtohttp - domoticz json

Mine has the same problem but when I see it in the Log it is ok
and all lights switch ok.

Version 147
Sonoff 16A Switch
by nick-head
21 Jan 2017, 23:44
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Yep, will do, Just tried V147 and it does go on a 1MB Sonoff, I dont fancy removing the flash out of one of these and putting it to 4MB. I did it on an ESP-01, that was tricky enough. I was using the experimental "MEGA" revision, I think that requires more flas mem. OK, hope you get it don...
by nick-head
21 Jan 2017, 23:29
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

http://www.ebay.co.uk/itm/1Pcs-New-3-3V ... SwEK9Troaf

This is the type of module I am using, but even the Arduino would suffice
by nick-head
21 Jan 2017, 23:22
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Board: Generic ESP8266 Module Flash Mode DIO Flash Frequency 40Mhz CPU Frequency 80 MHz Flash Size 1M (64k Spiffs) Debug Port Disabled Debug Level None Reset Method ck Upload Speed 115200 (Yours may Differ) Port Com 3 (Yours May Differ) RX - TX TX - RX Sonoff Pinout Reset Button at the top +3.3v Rxd...
by nick-head
21 Jan 2017, 23:15
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

I have just reprogrammed a Sonoff using : A 3.3v external breadboard supply USB-TTL CH340 Adapter Arduino IDE with ESPEasy R120 Settings for IDE are as below. Kept Com Port Closed (top right of IDE) until 100% flash Opened Com Window, watched as the flash Memory is erased and initiated. The baud rat...
by nick-head
21 Jan 2017, 22:38
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Had a look at that PSU, maybe it would work but it is a bit elaborate to get a 3.3v suppply when all that is needed is a 3.3v regulator and maybe a few capacitors to drop the 5v down. The only thing about that PSU I would be concerned about is is may have current regulation, hence specifying that is...
by nick-head
21 Jan 2017, 20:13
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

I think I downloaded the older files from sourceforge.net. Really just to have them.
by nick-head
21 Jan 2017, 20:10
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

ESP R.147 may not go into a Sonoff. May do i will try when I get back. I dont remember where V78 came from. Maybe github.
by nick-head
21 Jan 2017, 20:08
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Right. Back to basics. The Sonoff is not programming at all. If it gave you the three errors then nothing went in. It will not part program. Its all or nothing. In the Arduino IDE did you install the ESP8266 addon? It is a library that you down load. At least I think it is. Has been a long time sinc...
by nick-head
21 Jan 2017, 17:42
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Are you using a separate 3.3v psu, USB - Serial adaptors only supply a small current. You said you had a working Sonoff, just power that up as you would if you were programming it, then try the Com Port to set your wifi settings. Try uploading a different revision i.e 78, as I had a few compile erro...
by nick-head
21 Jan 2017, 13:06
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

You could probably use PUTTY but I don't use it so cannot tell you how to do it in that.
by nick-head
21 Jan 2017, 12:54
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Setup newline/CR/LF at the bottom

Commands I use:



Type "settings" in the send bar press send and it will give you info
by nick-head
21 Jan 2017, 12:52
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Ah right,

when you program your Sonoff, just leave it in place.
Using the IDE, open the Com port on the top right.

Then manually add settings to the Sonoff using the command input routines
by nick-head
21 Jan 2017, 12:15
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

Coolremote, just a quick question.

Why would you need a power supply to power the Sonoff Modules. ?

They are self powered when connected to the mains, I am bemused.

Glad you got them working though.

People on here know their stuff, I am still learning.

Regards

Nick
by nick-head
18 Jan 2017, 23:24
Forum: ESP Easy: Software
Topic: ESPeasy not that easy?
Replies: 60
Views: 49722

Re: ESPeasy not that easy?

I have 4 Sonoff 10A Switches, all programmed with 120 I think, not sure now, but they all work, all gave a wifi AP. The only time I never got that was due to having the ip already programmed into it before I reflashed. I had to do an IP search to find it via my phone Not much info but hey, it's my c...
by nick-head
09 Jan 2017, 10:57
Forum: ESP Easy: General Discussion
Topic: HC-SR04 shows only integer values
Replies: 7
Views: 6630

Re: HC-SR04 shows only integer values

So then Klaus, did it work ?
by nick-head
01 Jan 2017, 23:19
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2095100

Re: Nextion display plugin

That has cured the <100 problem Bert, works absolutely fine now.

now I have to find something to do with it now.

Thanks Bert, your a star.

Regards

Nick
by nick-head
01 Jan 2017, 22:56
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2095100

Re: Nextion display plugin

No problem Bert, I have only been experimenting with the plugins for a few days and I have learnt a few things. I have great respect for any developers who commit their time to produce "free" software based on ideas generated by many people. I am using ESPeasy in my home automation system ...
by nick-head
01 Jan 2017, 21:52
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2095100

Re: Nextion display plugin

Nice one Bert, I am just in the process of uploading to the ESP. Right, uploaded. Had to remove original plugin as it has redefinitions of SoftwarSerial and other things. OK, done. Can't find RX/TX as before. Can't even make it produce anything on the screen. Totally different interface. Will have t...
by nick-head
01 Jan 2017, 19:03
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2095100

Re: Nextion display plugin

Anyone found out why this is happening ?
by nick-head
01 Jan 2017, 10:45
Forum: ESP Easy: General Discussion
Topic: HC-SR04 shows only integer values
Replies: 7
Views: 6630

Re: HC-SR04 shows only integer values

Hi Klaus,

All I used was the Arduino IDE on Windows 7.

I just loaded the source code of ESPEasy and edited the _P013_HCSR04.ino plugin.

Then recompile and send it to the ESP.

Just found out it is not the Mega Version, just V147
by nick-head
01 Jan 2017, 00:54
Forum: ESP Easy: General Discussion
Topic: HC-SR04 shows only integer values
Replies: 7
Views: 6630

Re: HC-SR04 shows only integer values

I had the same as you at the beginning, but I edited the plugin to see what happens.

I don't know what I am doing or wether it should be done but I got it to display decimals.

[img]
SR04 Modded.JPG
SR04 Modded.JPG (76.37 KiB) Viewed 6594 times
[/img]
by nick-head
27 Dec 2016, 22:59
Forum: ESP Easy: General Discussion
Topic: ESPEasy Mega - Pulse counter values
Replies: 6
Views: 6820

Re: ESPEasy Mega - Pulse counter values

Iv'e changed it over to Plugin P012 now, so it can run with P003.
If anyone wants to mess about with it and make it better.
by nick-head
27 Dec 2016, 20:45
Forum: ESP Easy: General Discussion
Topic: ESPEasy Mega - Pulse counter values
Replies: 6
Views: 6820

Re: ESPEasy Mega - Pulse counter values

I am using the ESPEasy-Mega Version 147 Experimental. This code replaces the original Pulse Counter within the source code. I am not even sure I modified it in the correct way / legal code and the like, however it is working as I want it for now, don't know about long term, but it's the best I can d...
by nick-head
27 Dec 2016, 18:34
Forum: ESP Easy: General Discussion
Topic: ESPEasy Mega - Pulse counter values
Replies: 6
Views: 6820

Re: ESPEasy Mega - Pulse counter values

Yay, finally, and it talks to Domoticz as I intended to do in the first place.
espowermeter.jpg
espowermeter.jpg (44.37 KiB) Viewed 6791 times
These forums are good arn't they .
by nick-head
27 Dec 2016, 16:49
Forum: ESP Easy: General Discussion
Topic: ESPEasy Mega - Pulse counter values
Replies: 6
Views: 6820

Re: ESPEasy Mega - Pulse counter values

Thanks for the help.

Had to do a re-write on the source-code, but, it works.
[img]
ESPPower.JPG
ESPPower.JPG (50.74 KiB) Viewed 6803 times
[/img]
by nick-head
27 Dec 2016, 12:28
Forum: ESP Easy: General Discussion
Topic: esp to domoticz
Replies: 2
Views: 3638

Re: esp to domoticz

I just tried

SendToHTTP 192.168.0.100,8070,/json.htm?type=command&param=switchlight&idx=114&switchcmd=On

and it works, so it looks like you missed a / off at the json.htm? bit.

Maybe too late but, hey , at least you got a working reply.
by nick-head
27 Dec 2016, 11:59
Forum: ESP Easy: General Discussion
Topic: ESPEasy Mega - Pulse counter values
Replies: 6
Views: 6820

ESPEasy Mega - Pulse counter values

Hi All, Does anyone know if you can send separate time values to Domoticz that were obtained by the Pulse Counter. I see Delta, Delta/Total/Time and Total only. I need the Time values only and can't find how to do it. I have tried all combinations but no luck, I may be missing something really simpl...
by nick-head
13 Dec 2016, 20:52
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2095100

Re: Nextion display plugin

Well,

Just tried it with ESPEasy 147 on a nodemcu v 1.0 and it does the same.

Can't understand this a tall
by nick-head
13 Dec 2016, 18:56
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2095100

Re: Nextion display plugin

Hi, I am using the previously mentioned Nextion Plugin (104) and came across a problem. I cannot output to a n? number if it's below 100, unless I put zero's in front to make a 3 digit number. Like 001, 073 etc. Any idea what I am doing wrong ? Regards Nick PS, I am using an ESP8266 NodeMCU V0.9. Th...