Search found 247 matches

by JR01
07 Apr 2020, 21:28
Forum: ESP Easy: General Discussion
Topic: syslog - any chance of configurable port?
Replies: 2
Views: 50

Re: syslog - any chance of configurable port?

Okay, I bumped it..... let’s see.
by JR01
07 Apr 2020, 16:58
Forum: ESP Easy: General Discussion
Topic: syslog - any chance of configurable port?
Replies: 2
Views: 50

syslog - any chance of configurable port?

What about configurable port? For security reasons and using Docker syslog servers, there might be a reason to use a different port than the standard 514 syslog port.

Does anybody else have this requirement?
by JR01
14 Mar 2020, 05:46
Forum: ESP Easy: General Discussion
Topic: Rules - if power out, and power comes on at night, switch on lights
Replies: 2
Views: 1120

Re: Rules - if power out, and power comes on at night, switch on lights

Ohhh, was late when I tried it.... thank you, should have seen it.
by JR01
14 Mar 2020, 00:02
Forum: ESP Easy: General Discussion
Topic: Which flash for SONOFF Basic
Replies: 1
Views: 1068

Which flash for SONOFF Basic

Hi - have not flashed some Sonoff's since 2018-11 - probably time. But do not feel like taking them out the wall again to do it. On it's front page it says: Free Mem: 14200 (12272 - sendContentBlocking) Free Stack: 3520 (1696 - parseTemplate3) Will this flash work OTA for it? ESP_Easy_mega-20200310_...
by JR01
13 Mar 2020, 23:52
Forum: ESP Easy: General Discussion
Topic: Rules - if power out, and power comes on at night, switch on lights
Replies: 2
Views: 1120

Rules - if power out, and power comes on at night, switch on lights

Hi, we have lots of power outs in South Africa now, sometimes after dark. I currently have a rule which switches on after sunrise, and off before sunrise. But this does not work if the power comes up inbetween these two events - and thus lights are off. How can I make the below additional rule work?...
by JR01
17 Dec 2019, 11:18
Forum: ESP Easy: General Discussion
Topic: EdgeX - What is this?
Replies: 4
Views: 3301

Re: EdgeX - What is this?

It's an open source framework, and code, for edge computing, and an open IoT framework. The framework uses lots of different open source standards, protocols, and open sourced applications and servers, and covers the application needs for edge computing. Typically, the domain of processing is for in...
by JR01
17 Oct 2019, 14:04
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 20
Views: 9466

Re: Feedback required: New sets of plugins/controllers

After help from td-er on vs code, platformio in other posts, I have it running on Mac and a Linux Mint notebook, I am very happy with both.
by JR01
16 Oct 2019, 20:58
Forum: ESP Easy: Software
Topic: Rules - command to print a value to the Log?
Replies: 2
Views: 3724

Rules - command to print a value to the Log?

Is there such a command? Got an illusive problem with a sprinkler system. ------------------ My problem is below, when it gets to Rules#Timer=6 - it does not evaluate the if statement, I want to know what INT#!'s value is.... ----- On Clock#Time=All,"[Vars1#startHr#D2]:[Vars1#startMin#D2]" do // On ...
by JR01
12 Oct 2019, 09:13
Forum: ESP Easy: Software
Topic: new homie controller & plug-in (C014 & P086)
Replies: 4
Views: 4733

Re: new homie controller & plug-in (C014 & P086)

This could work, but this tread is about the controller for homie and plugin for homie that will do all you did now with rules automatically, following the homie standard.
by JR01
10 Oct 2019, 22:08
Forum: ESP Easy: Software
Topic: Any way to trap failing Devices with Rules?
Replies: 2
Views: 3933

Any way to trap failing Devices with Rules?

Hi, I get in Logs:

Code: Select all

DHT : Protocol Timeout
Any way to trap this with rules - so I can construct an action - for instance to warn with an mqtt message?
by JR01
10 Oct 2019, 21:48
Forum: ESP Easy: Software
Topic: Rules: (Relay On / wait) x 4.
Replies: 7
Views: 3968

Re: Rules: (Relay On / wait) x 4.

Nope,
Instead of [VAR#1] use [INT#1]. That way you don't need to use the formatting.
It does not work.

This :

Code: Select all

event,L[INT#1]
produces

Code: Select all

event,L 1
, with a space between the L and the 1.

Reverting back. But why a space?
by JR01
08 Oct 2019, 19:09
Forum: ESP Easy: Software
Topic: Rules: (Relay On / wait) x 4.
Replies: 7
Views: 3968

Re: Rules: (Relay On / wait) x 4.

Here is what is working, I had to use your new Rules formatting, for leg event,L1 . My 1st time I am using formatting rules !!! Thank you ! On Clock#Time=All,06:00 Do Let,1,0 Event,LoopDeLoop=[Vars#durLegRest] EndOn On LoopDeLoop Do if [Vars#Auto]=1 Let,1,[VAR#1#D1.0]+1 event,L[VAR#1#D1.0] timerSet,...
by JR01
07 Oct 2019, 21:20
Forum: ESP Easy: Software
Topic: Rules: (Relay On / wait) x 4.
Replies: 7
Views: 3968

Re: Rules: (Relay On / wait) x 4.

Ahhhh, smart !

Let me try that.
by JR01
07 Oct 2019, 19:49
Forum: ESP Easy: Software
Topic: Rules: (Relay On / wait) x 4.
Replies: 7
Views: 3968

Re: Rules: (Relay On / wait) x 4.

This is how I have done it now, not sure yet if it will work - (testing tomorrow morning), is this the most efficient way to do it? Seams daft... On Clock#Time=All,%sunrise+15m% do if [Vars#Auto]=1 event,L1 timerSet,6,[Vars#durLegRest] endif endon on Rules#Timer=6 do if [Vars#Auto]=1 event,L2 timerS...
by JR01
07 Oct 2019, 19:40
Forum: ESP Easy: Software
Topic: Rules: (Relay On / wait) x 4.
Replies: 7
Views: 3968

Rules: (Relay On / wait) x 4.

Hi, struggling with Rules, for a Sprinkler system. I have a some working rules that switches on a boreholepump together with the specific leg, of which I have 4. When set on Auto mode, a dummy variable, Vars#Auto I want it to start 15min after sunrise, sprinkle for 13min on Leg1, then wait for 20min...
by JR01
24 Sep 2019, 21:30
Forum: ESP Easy: Software
Topic: new homie controller & plug-in (C014 & P086)
Replies: 4
Views: 4733

new homie controller & plug-in (C014 & P086)

, just inquiring on how you are doing with the new versions. Just to tell you, I am really looking forward to it - in the process of building a ESP_Easy / shelly / other --> homie --> homeBridge --> Messenger controller on Node-Red. Wishing you well with the coding! Will be watching for changes her...
by JR01
16 Sep 2019, 20:09
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock#Time - possible to compare with a variable?

Wow, this is can be good for Rules.... Assume it will end up https://espeasy.readthedocs.io/en/latest/ here?
by JR01
15 Sep 2019, 12:26
Forum: ESP Easy: Software
Topic: Homie Receiver P086 ~ Can I use their stored variables in formulaes?
Replies: 2
Views: 4629

Re: Homie Receiver P086 ~ Can I use their stored variables in formulaes?

Thank you Chris, no but I'm not sure if the current version can do this - in my tests does not work. Per your reply to my other post, I also need the variables to not be stored in float by default, but if I pass the var as integer, which I need in the clock event. Thank you, looking forward to the p...
by JR01
15 Sep 2019, 12:00
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock#Time - possible to compare with a variable?

There will be an updated version soon showing floats and other values correctly with many bugfixes and improvements
Cannot wait!! Thank you.
by JR01
03 Sep 2019, 08:00
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock#Time - possible to compare with a variable?

Ahh, less code ! The if works, so this will work as well. Thank you.
by JR01
02 Sep 2019, 20:28
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock#Time - possible to compare with a variable?

okay, that can work, with an if statement to check if the number is smaller than 10....

Let me try that.
by JR01
02 Sep 2019, 18:53
Forum: ESP Easy: Software
Topic: Storing a file with a json string - as variables for use in Rules
Replies: 1
Views: 3092

Storing a file with a json string - as variables for use in Rules

Hi, still struggling with my complex requirements for a Sprinkler system. See my release 1.0 https://github.com/IoTPlay/sprinklersystem/tree/Sprinkler_1.0#notes-on-solution-components . I am trying to make the ESP8266 not only a dumb slave to a Controller (Node-RED & MQTT), but to be given a mandate...
by JR01
02 Sep 2019, 18:22
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock Time - possible to compare with a variable?

Maybe you could add an issue for it on Github, so the original author of that plugin can look at it? Thank you TD-er, will do this, at least you have been able to confirm my suspicions. I moved away from trying the Homie plugins, to the stock standard ones. It works ....., to push a variable via MQ...
by JR01
26 Aug 2019, 22:10
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock Time - possible to compare with a variable?

Just as a test, you may try to store the value in a dummy plugin which does output a long type. Let's hope this is not somewhere in the code converted to a float.... Tested with Dummy values - pushed from mqtt as well, and it does not add .00 to the values. So, the problem must be as you stated - i...
by JR01
18 Aug 2019, 18:33
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Re: Rules: Clock Time - possible to compare with a variable?

I cannot get this to work, the problem is - when I send a message with mqtt (from Node-RED) - say payload: 12 - does not matter if I choose to send it as a String, or a number, and also does not matter if I Register the homie Received device as a Parameter Type integer, or float, or string, it alway...
by JR01
18 Aug 2019, 16:15
Forum: ESP Easy: Software
Topic: Rules (old engine) Rules Set 1/2/3/4
Replies: 4
Views: 3791

Re: Rules (old engine) Rules Set 1/2/3/4

+1

And to send an mqtt msg to enable / dis enable
by JR01
18 Aug 2019, 13:00
Forum: ESP Easy: Software
Topic: Rules (old engine) Rules Set 1/2/3/4
Replies: 4
Views: 3791

Rules (old engine) Rules Set 1/2/3/4

I can not get in any docs the purpose of Rules Set 1 vs 2..4

Q: Are all rules sets active, can I use all 4 of them, each for 2048 characters ?
by JR01
18 Aug 2019, 08:59
Forum: ESP Easy: Software
Topic: Compile for ESP8266 with a Controller & Module using vscode
Replies: 9
Views: 4441

Re: Compile for ESP8266 with a Controller & Module using vscode

Thank you, and the code of pre_extra_script.py aboce, why do I still see all plugins in drop down?
by JR01
17 Aug 2019, 22:05
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 6364

Rules: Clock#Time - possible to compare with a variable?

Hi, how would I use variables to compare to clock time, ie. rather than: On Clock#Time=All,18:25 do // every day at 18:25 hours do ... gpio,14,0 endon What about something like below?: // --- variables for ie. the time 20:15 Let,1,20 Let,2,15 On Clock#Time=All,[VAR#1]:[Var#2] do gpio,14,0 endon
by JR01
17 Aug 2019, 21:27
Forum: ESP Easy: Software
Topic: Homie Receiver P086 ~ Can I use their stored variables in formulaes?
Replies: 2
Views: 4629

Homie Receiver P086 ~ Can I use their stored variables in formulaes?

Hi, thanks for the Homie Receiver - it works well. I can set their values (if not String) with a mqtt message, an example - sending a 1 to homie/ESP62DEV/homieRec3/durLeg1/set I would like the use the variables from the Receiver in Rules, but it does not seam to work: on homieRec3#durLeg1 do // code...
by JR01
17 Aug 2019, 16:39
Forum: ESP Easy: Software
Topic: Compile for ESP8266 with a Controller & Module using vscode
Replies: 9
Views: 4441

Re: Compile for ESP8266 with a Controller & Module using vscode

Working very well, some more advise please, regarding to changes to my pre_extra_script.py file in ESPEasy folder, I changed it as per below. I want only the Devices listed in the list. Per your instructions, I cloned latest github of espeasy to local, changed file pre_extra_script.py per below, com...
by JR01
16 Aug 2019, 19:42
Forum: ESP Easy: General Discussion
Topic: Rules "Let" variables, any way to set & change them with mqtt?
Replies: 1
Views: 5466

Rules "Let" variables, any way to set & change them with mqtt?

Hi, for a sprinkler system use case, I want to use the Let,1,[VAR#1] variables to drive the functions of the sprinkler system. For instance, want to update the daily schedule, if the system should be in Auto / or manual mode, which legs to sprinkle today, how long, etc. The rules will then execute t...
by JR01
11 Aug 2019, 18:34
Forum: ESP Easy: Software
Topic: Compile for ESP8266 with a Controller & Module using vscode
Replies: 9
Views: 4441

Re: Compile for ESP8266 with a Controller & Module using vscode

Fantastic - its working, got the platformio upload command as well. I am in Linux, had to install 99-platformio-udev.rules to make platofrmio upload tools work in vscode.

Thank you.
by JR01
11 Aug 2019, 16:11
Forum: ESP Easy: Software
Topic: Compile for ESP8266 with a Controller & Module using vscode
Replies: 9
Views: 4441

Re: Compile for ESP8266 with a Controller & Module using vscode

It works, will now load the firmware, to see if it works. Can I do that from vscode?
by JR01
06 Aug 2019, 22:37
Forum: ESP Easy: General Discussion
Topic: Platformio questions
Replies: 9
Views: 11071

Re: Platformio questions

Thank you - trying it.
by JR01
06 Aug 2019, 22:33
Forum: ESP Easy: Software
Topic: Compile for ESP8266 with a Controller & Module using vscode
Replies: 9
Views: 4441

Compile for ESP8266 with a Controller & Module using vscode

Hi, I am struggling to find documentation / or even any pointers of how to compile my own code for a target ESP8266 (say Wemos 4mb), using vscode, (with platformio extention?), where do I uncomment what I want in my code for a controller / modules, and then compile? I want to compile firmware with o...
by JR01
03 Aug 2019, 07:26
Forum: ESP Easy: General Discussion
Topic: Platformio questions
Replies: 9
Views: 11071

Re: Platformio questions

N.B. I also created a "custom" build which uses a pre_extra_script.py.
Please have a look at that one and get some very cool ideas on how to define your own build :)
Where do I find it?
by JR01
03 Aug 2019, 06:58
Forum: ESP Easy: General Discussion
Topic: Platformio questions
Replies: 9
Views: 11071

Re: Platformio questions

I finally installed vscode, as when I did a new install of pllatformio in Atom, it asked to rather use vscode 8-(. Then when I opened the .ino in vscode, it said I must convert to cpp, as it cannot do ino. Have not put in effort to understand how yet....
by JR01
01 Aug 2019, 12:33
Forum: ESP Easy: General Discussion
Topic: Platformio questions
Replies: 9
Views: 11071

Re: Platformio questions

I see all are using VS Code.

Too heavy for me, will all wok, with platformio on Atom?
by JR01
31 Jul 2019, 19:27
Forum: ESP Easy: General Discussion
Topic: Reconfig Release code with Arduino - instructions?
Replies: 3
Views: 5937

Re: Reconfig Release code with Arduino - instructions?

Thank you for the reply.
I think we really should make a tutorial for this, since lots and lots of people keep asking how to start developing and coding
- yes please - when you get time.
vs code ?
- I use Atom, hope it will work there as well.
by JR01
30 Jul 2019, 22:17
Forum: ESP Easy: General Discussion
Topic: Reconfig Release code with Arduino - instructions?
Replies: 3
Views: 5937

Reconfig Release code with Arduino - instructions?

Hi, I want to add C014 (homie) controller - using Arduino. The readme.md file in the releases points to links - this is the only one explaining how to do it - https://www.letscontrolit.com/wiki/index.php/ESPEasy#Source_code_development but it seams its old - still refers to using platform.io - or am...
by JR01
19 Apr 2019, 06:46
Forum: ESP Easy: Software
Topic: What can users do to make ESPEasy more attractive.
Replies: 16
Views: 2477

Re: What can users do to make ESPEasy more attractive.

From IoTPlay, too. Usd 10 per month.

Come on guys and girls, I challenge you, do it.

https://www.patreon.com/GrovkillenTDer
by JR01
28 Jan 2019, 22:56
Forum: uPyEasy: General Discussion
Topic: Future of uPyEasy
Replies: 7
Views: 3325

Re: Future of uPyEasy

Makes sense!
by JR01
20 Jan 2019, 12:31
Forum: RFLink: Development and announcements
Topic: RFLink Wifi ESP
Replies: 8
Views: 10602

Re: RFLink Wifi ESP

Nice!
by JR01
09 Jan 2019, 21:33
Forum: ESP Easy: Hardware
Topic: Atlas scientific EZO circuits
Replies: 5
Views: 2687

Re: Atlas scientific EZO circuits

Hello, were any of you able to read DO with ESP?
by JR01
07 Jan 2019, 20:02
Forum: uPyEasy: General Discussion
Topic: Future of uPyEasy
Replies: 7
Views: 3325

Re: Future of uPyEasy

Thank you for the update Lisa, will the code be available to us as well, and under what licence?
by JR01
30 Dec 2018, 10:37
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 220
Views: 52589

Re: RPIEasy

Well done!!!