Search found 41 matches

by gregoinc
24 Mar 2019, 23:15
Forum: ESP Easy: Software
Topic: Newbie ESPEasy to Grafana Question
Replies: 14
Views: 692

Re: Newbie ESPEasy to Grafana Question

Why use telegraf when you are on ESP_Easy this can inject directly into Influx. Influx <> Grafana is the easy part I agree the Influx / Grafana part should be easy, the problem I am dealing with is how to inject the data into Influx that makes it easier to setup Grafana. At present I am mostly focu...
by gregoinc
24 Mar 2019, 23:10
Forum: ESP Easy: Software
Topic: Newbie ESPEasy to Grafana Question
Replies: 14
Views: 692

Re: Newbie ESPEasy to Grafana Question

pppp33 wrote:
24 Mar 2019, 11:01
But, how do you inject directly data from ESPEasy's MQTT into Influx, without using NodeRed ?
I was wondering the same thing?
by gregoinc
22 Mar 2019, 06:57
Forum: ESP Easy: Software
Topic: Newbie ESPEasy to Grafana Question
Replies: 14
Views: 692

Re: Newbie ESPEasy to Grafana Question

Excuse my lack ofknowledge, but what application would Telegraf replace?
by gregoinc
22 Mar 2019, 05:15
Forum: Introduce yourself
Topic: Hello from North Carolina, USA
Replies: 1
Views: 162

Re: Hello from North Carolina, USA

Greetings from Australia.
by gregoinc
21 Mar 2019, 22:28
Forum: ESP Easy: Software
Topic: Newbie ESPEasy to Grafana Question
Replies: 14
Views: 692

Re: Newbie Grafana Question

Update!! So I managed to get Grafana to display the temperature data. Had to 'hack' the query to get it to work... see below. Not pretty, and Grafana tries to change it back when I edit. SELECT * FROM "OutTemp" I am thinking my problems are coming from how the data is presented to the Influx databas...
by gregoinc
21 Mar 2019, 09:13
Forum: ESP Easy: Software
Topic: Newbie ESPEasy to Grafana Question
Replies: 14
Views: 692

Newbie ESPEasy to Grafana Question

I know I should probably place this question in a Grafana forum, but I am posting it here first because I trust the members and advice in this forum. I have worked hard to setup the ESPEasy NodeMCU to send temperature data to Node Red via MQTT and into an InfluxDB. The data is arriving into the Infl...
by gregoinc
15 Feb 2019, 11:30
Forum: ESP Easy: Software
Topic: Weird Log Entries causing issues - help please!
Replies: 4
Views: 286

Re: Weird Log Entries causing issues - help please!

<facepalm> Argh... :oops: how does below look? On System#Boot do timerset,1,30 endon On Rules#Timer=1 do if [Temp1#Temperature] > 25 Event,StartHP endif if [Temp2#Temperature] < [Temp1#Temperature] and [Temp2#Temperature] < 17 Event,StopHP endif timerset,1,30 endon On StartHP Do If [counter#dummy]=0...
by gregoinc
15 Feb 2019, 09:46
Forum: ESP Easy: Software
Topic: Weird Log Entries causing issues - help please!
Replies: 4
Views: 286

Weird Log Entries causing issues - help please!

Hi Folks, I am hopeful someone has seen this issue before, as I cannot find a reason for it happening? If you look at the 3938027 log entry, immediately afterwards the log changes to 8287, and after that the system proceeds to change the value of counter#dummy from 1.00 to 0.00 and I dont understand...
by gregoinc
05 Feb 2019, 22:57
Forum: ESP Easy: Software
Topic: Looping the Loop without getting dizzy
Replies: 7
Views: 456

Re: Looping the Loop without getting dizzy

Why just =21 ? What will happen if for some/any reason Temp2 drops to 19 prior to getting in the event ? -D Hi Iron, You are correct, and to be honest I am still finding my way forward, which is why I sought feedback. In a nutshell, the code... if [Temp2#Temperature] < [Temp1#Temperature] and [Temp...
by gregoinc
04 Feb 2019, 10:28
Forum: ESP Easy: Software
Topic: Looping the Loop without getting dizzy
Replies: 7
Views: 456

Re: Looping the Loop without getting dizzy

Hi Grovkillen, Thank you. One section of the code I wanted to improve is this area below... On Temp2#Temperature do if [Temp2#Temperature] < [Temp1#Temperature] and [Temp2#Temperature] = 21 Event,StopHP endif endon - I wanted to perform the temperature check as a range instead of just 21 degrees i.e...
by gregoinc
04 Feb 2019, 06:36
Forum: ESP Easy: Software
Topic: Looping the Loop without getting dizzy
Replies: 7
Views: 456

Re: Looping the Loop without getting dizzy

Hi Grovkillen, The non-elegant reference was a critique of my coding skills, not in any way being critical of the rules engine (which has been the best I've found for low level beginners like me). I thought my efforts were average at best, which is why I posted seeking some guidance. Apology for any...
by gregoinc
04 Feb 2019, 03:24
Forum: ESP Easy: Software
Topic: Looping the Loop without getting dizzy
Replies: 7
Views: 456

Looping the Loop without getting dizzy

Hello, Have been developing the rules code below to activate an air conditioner. I have limited exposure to ESPEasy, and I am not totally comfortable with the various if, then, else type loops. The code below works, but I wouldn't say it was an 'elegant' way to do the job. So I am looking for your a...
by gregoinc
04 Feb 2019, 03:19
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

To close this out as Ive not had any other feedback, I found the 'Let' command didn't work for some reason? So I went back to the TaskValueSet with a dummy device which works. Still have some looping challenges to clean up in the rules coding, but will start a seperate thread under the software sect...
by gregoinc
03 Feb 2019, 04:39
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

Cut down the code to this... on Temp2#Temperature do if [Temp2#Temperature] > [Temp1#Temperature] and [Temp1#Temperature] > 25 Event,StartHP endif endon on Temp1#Temperature do if [Temp1#Temperature] > 27 Event,StartHP endif endon On StartHP Do heatpumpir,daikin,1,3,0,24,4,2 EndOn And it works... bu...
by gregoinc
03 Feb 2019, 02:37
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

Had an opportunity to test the code... and in the log when the temperature inside the room reached 25 the StartHP event came up in the log. But... the heatpumpir command appears not to have been sent? I sent the heatpumpir command manually and the air conditioner started. So I am guessing there's an...
by gregoinc
02 Feb 2019, 23:44
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

I modified the code slightly and ran it to test... on Temp2#Temperature do if [Temp2#Temperature] > [Temp1#Temperature] and [Temp1#Temperature] > 25 Event,StartHP else Event,StopHP endif endon on Temp1#Temperature do if [Temp1#Temperature] > 27 Event,StartHP else Event,StopHP endif endon On StartHP ...
by gregoinc
02 Feb 2019, 10:53
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

Looked over the code from Grovkillen (thanks again Grovkillen, couldn't have got here without you) and devised my own rules code to try and replicate my differential logic above... here's my first cut... on Temp2#Temperature do if [Temp2#Temperature] > [Temp1#Temperature] and [Temp1#Temperature] > 2...
by gregoinc
02 Feb 2019, 09:17
Forum: ESP Easy: Hardware
Topic: DS18b20 Weird Behaviour
Replies: 2
Views: 267

Re: DS18b20 Weird Behaviour

Ended up completely rewiring based on feedback from Grovkillen, changing the pullup resistor, and the issue appears to have disappeared. I suspect the root cause was operator error :)
by gregoinc
02 Feb 2019, 02:56
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

grovkillen wrote:
01 Feb 2019, 22:48
Shouldn't matter if it's on a one wire line but if you have a star system they must be of equal length (+/-30cm) to be happy.
Ok, that might be the issue... I'll try changing the cabling. Thanks again :)
by gregoinc
02 Feb 2019, 02:54
Forum: ESP Easy: Hardware
Topic: DS18b20 Weird Behaviour
Replies: 2
Views: 267

Re: DS18b20 Weird Behaviour

As an update... I have noticed intermittent times when the Temp2 sensor is not contactable. Here's the log screen:-
logscreen.png
logscreen.png (51.69 KiB) Viewed 261 times
Thanks, Mark
by gregoinc
02 Feb 2019, 02:32
Forum: ESP Easy: Hardware
Topic: DS18b20 Weird Behaviour
Replies: 2
Views: 267

DS18b20 Weird Behaviour

Hello, I recently setup my NodeMCU with 2 x DS18b20 units based on this wiki page: https://www.letscontrolit.com/wiki/index.php?title=Dallas_DS18b20#Calibrating The 2 x DS18b20 were connected (as per the wiki page) via a short Cat5e cable utilising RJ45 sockets, then each of the DS18b20 had an RJ45 ...
by gregoinc
01 Feb 2019, 22:39
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

Thanks again Grovkillen. Last night I moved one of the DS18b20 to it's final location, and both DS18b20 stopped working. One of the DS18b20 is now on a longer cable, which seems to have upset the NodeMCU? So I need to solve that issue and then get back to the coding. So much fun :lol:
by gregoinc
31 Jan 2019, 22:45
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

Thanks again Grovkillen... I will give it a try. I assume I just add a similar string of code for turning the AC unit off?

Looks like I might be buying you some beers when I am in Sweden later this year :)
by gregoinc
31 Jan 2019, 22:18
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

Hi Grovkillen, When you say variables, I assume you are referring to the TaskValueSet and Dummy Device? With code like... on Temp1#Temperature do if [dummy#var1]=0 TaskValueSet 12,1,0 else if [Temp1#Temperature] > 27 heatpumpir,daikin,1,3,0,24,4,2 TaskValueSet 12,1,1 endif endon Not sure above is ri...
by gregoinc
31 Jan 2019, 12:14
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Re: Differential Control of Air Conditioner

So far I've developed the rules code below and have confirmed it works... and turns the air conditioner ON.. woo hoo!! on Temp1#Temperature do if [Temp1#Temperature] > 27 heatpumpir,daikin,1,3,0,24,4,2 endif endon Only problems... - I am still stuck on the best way to write the code for the rules to...
by gregoinc
31 Jan 2019, 10:36
Forum: ESP Easy: Projects / Applications
Topic: Differential Control of Air Conditioner
Replies: 15
Views: 1005

Differential Control of Air Conditioner

Greetings, I have been reading multiple sources in the forum and decided it was probably best to put together a concise description of what I am trying to achieve in the hope that someone can give me guidance. I am totally new to the Rules concept, so struggling to learn the syntax and values. Once ...
by gregoinc
31 Jan 2019, 07:34
Forum: ESP Easy: Projects / Applications
Topic: Project idea: Digital differential temperature controller ?
Replies: 12
Views: 1582

Re: Project idea: Digital differential temperature controller ?

Haven't progressed much further... looking for some rules advice. I too require a differential calculation approach. I have 2 x DS18b20 sensors on GPIO-14 and an infrared LED on GPIO-12 and would be grateful of some guidance. Here's my setup... Studio_20190131_173242.png The IR is setup based on the...
by gregoinc
31 Jan 2019, 07:19
Forum: ESP Easy: Hardware
Topic: NodeMCU wont boot with GPIO connected
Replies: 2
Views: 256

Re: NodeMCU wont boot with GPIO connected

Hi grovkillen,

That was a huge help, thank you, much appreciated. Problem solved :)

Thanks, Mark
by gregoinc
31 Jan 2019, 03:49
Forum: ESP Easy: Hardware
Topic: NodeMCU wont boot with GPIO connected
Replies: 2
Views: 256

NodeMCU wont boot with GPIO connected

Hello, I have a wierd issue and hope some of you can help me. I have done loads of reading in the forum prior to posting, but if this topic has been covered elsewhere then please me know. I have a NodeMCU running this image: https://github.com/ToniA/ESPEasy/releases and everything seemed fine. Until...
by gregoinc
24 Jan 2019, 11:51
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

Got it, and had already decided to ditch the KY-005 and go with a 5mm 940nm IR Emitter LED Diode. Final question... regarding this string: heatpumpir,panasonic_ckp,1,1,0,22,0,0 I assume there's a syntax legend somewhere on your GitHub site so I can send just the ON and OFF commands? And I assume I r...
by gregoinc
24 Jan 2019, 11:18
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

The led should be off when it's not transmitting. Also, connect the led between GND (led -) and D3 (led +). Thanks Toni, confirmed, plain red LED working. You'll be happy to know my wife gave one of 'those' looks. Don't suppose you could point me somewhere that has a circuit diagram for connecting ...
by gregoinc
24 Jan 2019, 10:55
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

Tried using a plain red LED as suggested by Toni on my NodeMCU... and here's what happened. First experiment LED + pin connected to the 3V pin LED - pin connected to D3 (GPIO0) pin Under devices this was the config:- Device: Heatpump IR transmitter Name: infrared Enabled: (ticked) 1st GPIO: GPIO-0 (...
by gregoinc
23 Jan 2019, 22:47
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

ToniA wrote:
23 Jan 2019, 16:59
Also you can visually check if it's working by using any visible light led instead. The led should blink briefly when it's transmitting.
Thanks Toni, fantastic tip. I am mindful these are seriously low level questions, so appreciate the patience of you and the other folks that have responded.
by gregoinc
23 Jan 2019, 11:26
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

RobertM wrote:
23 Jan 2019, 11:05
Must have transistor ! - too little output current !
Thanks Robert, you are absolutely correct. Appreciate your feedback.
by gregoinc
23 Jan 2019, 10:53
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

Hi Toni, I flashed the NodeMCU V3 with the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases and the flashing went to plan. The command heatpumpir,panasonic_ckp,1,1,0,22,0,0 appears to execute and I get the response Heatpump IR code transmitted but the Infrared LED doesn't ap...
by gregoinc
21 Jan 2019, 23:39
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

Hi Toni, one last question. I noted in some of your doco to capture IR codes from an AC remote you recommend using an Arduino. I have an old arduino uno, so I assume that would work? Can you recommend a firmware to use on the uno that would contain your code for capturing the IR codes? I am going to...
by gregoinc
21 Jan 2019, 22:39
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

You can use the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases This implements also a new command called 'heatpumpir', so if you go to 'Tools', you should be able to execute commands like this (see https://github.com/ToniA/ESPEasy/blob/HeatpumpIR/src/_P115_HeatpumpIR.ino ...
by gregoinc
21 Jan 2019, 22:33
Forum: ESP Easy: Projects / Applications
Topic: Project idea: Digital differential temperature controller ?
Replies: 12
Views: 1582

Re: Project idea: Digital differential temperature controller ?

Forgot about regulator plugin and write it completely via rules. Hi kimot... thanks for the reply. Yep, using rules seems to be the general thinking. I'll see if I can track down some documentation on the rules i.e. for syntax, functions, etc. I figure rules can support mathematical equations so so...
by gregoinc
21 Jan 2019, 06:40
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 148
Views: 42379

Re: ESPEasy to control air conditioners / heat pumps

Greetings, At the risk of sounding like a complete newby (guilty) I am going to ask a dumb question as my first post. I have spent loads of time reading but cannot work it out... so please be gentle in your replies. If this is not the place then politely tell me and I will try to find the answer els...
by gregoinc
21 Jan 2019, 06:25
Forum: ESP Easy: Projects / Applications
Topic: Project idea: Digital differential temperature controller ?
Replies: 12
Views: 1582

Re: Project idea: Digital differential temperature controller ?

Greetings, I am in a similar situation, but coming from a very low knowledge base having never used ESP8266 previously. In essence I have a wall mounted split system AC unit and I would like a simple way of turning the AC unit on and off (only) via infrared. Being new to the forum if adding my comme...