Search found 53 matches

by gregoinc
23 Sep 2020, 00:14
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 173

Re: Set Variable on Remote ESPEasy

Hi TD-er, I think I understand what you are saying... how does below look? On Rules#Timer=1 do if [%eventvalue3%] = 1 Event,StartFan endif endon I also want to ensure if the air conditioner is running on ESP1, then the fan relay connected to ESP2 doesn't trigger the fan to start. So I was looking at...
by gregoinc
22 Sep 2020, 05:37
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 173

Re: Set Variable on Remote ESPEasy

Hi TD-er, Thanks for the reply. So if I understand correctly... I should be able to use the following examples to update a variable on ESP2 On ESP1 I would have the following code... On UpdateVar do sendTo 2,let,3,1 endon Then on ESP2 I should be able to use... On Rules#Timer=1 do if [var#3]=1 Event...
by gregoinc
21 Sep 2020, 12:59
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 173

Re: Set Variable on Remote ESPEasy

Whilst we're on the subject of ESPEasy p2p controller, here's a weird 'bug' I have been trying to fix for some time. Here is the Devices screen for the Generic - Dummy Device on ESP1 (GregoInc1) ESP1-Generic.jpg And here is the Generic - Dummy Device on ESP2 ESP2-Generic.jpg What I have never been a...
by gregoinc
21 Sep 2020, 01:17
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 173

Re: Set Variable on Remote ESPEasy

Hi TD-er, I do have the ESPEasy p2p controller running and it works fine. I am unclear how to use the ESPEasy p2p controller for setting a variable... apology, it is probably due to my lack of knowledge. So as I said, I have the ESPEasy p2p controller working... so do you have examples of how I migh...
by gregoinc
20 Sep 2020, 23:39
Forum: ESP Easy: General Discussion
Topic: Set Variable on Remote ESPEasy
Replies: 7
Views: 173

Set Variable on Remote ESPEasy

Hello, I have two ESPEasy devices running on NodeMCU units. The ESP1 device controls an air conditioner via the infrared library, and the other ESP2 controls a fan which blows cool air from the outside (during times when the air conditioner is not required). ESP1 has a temperature sensor inside and ...
by gregoinc
15 May 2020, 05:26
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 18
Views: 8758

Re: mqtt cant receive gpio command

In an effort to tie this off, I managed to find a solution... which once found appeared embarrassingly simple. In an effort to share information for those of you that are stuck like me here is what I found. Here is the NodeRed inject node I created to simulate a command to start the air conditioner....
by gregoinc
13 May 2020, 08:43
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 22
Views: 4136

Re: Problem with SendToHTTP

Any further ideas on above appreciated The OP's SendToHTTP statement did not work because the rules parser coverts the statement to lower case letters. That caused the OP's mixed-case password credentials to fail. I see that your example HTTP URL has some uppercase in it: http://admin:12345678@192....
by gregoinc
13 May 2020, 08:22
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 18
Views: 8758

Re: mqtt cant receive gpio command

Feels like I am forever asking questions on old threads... apology if this has been answered elsewhere. My situation... I have several NodeMCU units running Mega and communicating with Mosquito MQTT, with Node Red capturing information and forwarding to Blynk app. A one way information transfer. I w...
by gregoinc
13 May 2020, 01:49
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 22
Views: 4136

Re: Problem with SendToHTTP

Any further ideas on above appreciated :D
by gregoinc
10 May 2020, 02:29
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 22
Views: 4136

Re: Problem with SendToHTTP

I guess it depends on the host, if nothing is passed in the header and the host expects the authorization to be in there (not only in the URL) I guess the host will deny access. This is the syntax of the HTTP command directly from the user manual: http://admin:12345678@192.168.0.50/Set.cmd?CMD=SetP...
by gregoinc
09 May 2020, 14:16
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 22
Views: 4136

Re: Problem with SendToHTTP

Thank you very much for the prompt reply, but it doesn't work. I tried SendToHTTP "user:Password@192.168.69.15",80,/api/device/fsb/buttonPressed?buttonId=fs SendToHTTP "user:Password@192.168.69.15,80",/api/device/fsb/buttonPressed?buttonId=fs SendToHTTP 'user:Password@192.168.69.15',80,/api/device/...
by gregoinc
17 Dec 2019, 01:40
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78695

Re: ESPEasy to control air conditioners / heat pumps

Hey all, I have this a/c unit mounted in my room. I'm not in good relations with the coding, so can someone explain to me if it possible to integrate with it? Thanks Greetings, Assuming the AC unit you are considering has IR control then I understand the library can be used, or you can 'capture' th...
by gregoinc
24 Mar 2019, 23:15
Forum: ESP Easy: Software
Topic: Newbie ESPEasy to Grafana Question
Replies: 16
Views: 5770

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: 16
Views: 5770

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: 16
Views: 5770

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

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: 16
Views: 5770

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: 16
Views: 5770

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 889 times
Thanks, Mark
by gregoinc
02 Feb 2019, 02:32
Forum: ESP Easy: Hardware
Topic: DS18b20 Weird Behaviour
Replies: 2
Views: 895

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

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

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

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

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

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

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

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

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: 159
Views: 78695

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: 159
Views: 78695

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: 159
Views: 78695

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: 159
Views: 78695

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: 159
Views: 78695

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: 159
Views: 78695

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: 159
Views: 78695

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: 159
Views: 78695

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 ...