Search found 221 matches

by iron
05 Feb 2019, 14:43
Forum: ESP Easy: Software
Topic: Looping the Loop without getting dizzy
Replies: 7
Views: 4539

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....
by iron
26 Jan 2019, 21:42
Forum: ESP Easy: General Discussion
Topic: ESPEasy Security - SSL/TLS, MQTT over TLS and certificates
Replies: 6
Views: 10696

Re: ESPEasy Security - SSL/TLS, MQTT over TLS and certificates

I do not want to host an MQTT server in my house, and in every friend's house that I recommend / install ESPEasy h/w at. Although I agree that SSL is a good thing, and this would be very useful in ESPEasy, I would never use a public MQTT server, and i would not recommend to anyone, who is capable t...
by iron
26 Jan 2019, 20:55
Forum: ESP Easy: General Discussion
Topic: ESPEasy Security - SSL/TLS, MQTT over TLS and certificates
Replies: 6
Views: 10696

Re: ESPEasy Security - SSL/TLS, MQTT over TLS and certificates

Is MQTT TLS not achievable ? I noticed a few other ESP8266 solutions (tasmota, mongoose, and the likes) that support MQTT TLS I do not want to host an MQTT server in my house, and in every friend's house that I recommend / install ESPEasy h/w at. Publishing sensitive information to the cloud un-encr...
by iron
25 Jan 2019, 20:05
Forum: ESP Easy: Projects / Applications
Topic: MQTT control IRsend plugin ?
Replies: 2
Views: 5357

Re: MQTT control IRsend plugin ?

https://espeasy.readthedocs.io/en/latest/Reference/Command.html#commands-listed <MQTT subscribe template>/cmd with payload: <command> So /BarIR/TeacAmp/cmd with payload IRSEND,NEC,3CC302FD,32 This works for me when toggling GPIOs but never tested it with IR. Please test it and post back. -D
by iron
19 Jan 2019, 21:34
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

%sysname%/#/ is what it takes to report properly... that last / made the difference I guess that it is working now as needed. :) The PING payload is implemented in the latest commit, this is the only reliable way i found to check if the MQTT connection is opened and usable. gpio command is located ...
by iron
19 Jan 2019, 18:31
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

%sysname%/#/ is what it takes to report properly... that last / made the difference

-D
by iron
19 Jan 2019, 18:21
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

I s the cmd supported ? %sysname%/#%valname%/cmd with payload a command such as : gpio,<pin>,<state> Yes, but the above will not work. If you use this in the "Command topic" %sysname%/#%valname%/ Or even this: %sysname%/#%valname%/set Then the controller will watch for: %sysname%/cmd and ...
by iron
19 Jan 2019, 11:07
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

Indeed, my need was not very clear. In fact for publish topic I use %sysname%/%valname% for all my ESPEasy devices (ie without %tskname%). This was mainly for my home automation system (Jeedom with MQTT plugin) to avoid automatic creation of sub-devices. I also find it easier to read though this me...
by iron
17 Jan 2019, 16:46
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

Hello,

' Password1# ' seemed to be the issue.. changing it to ' Password1 ' (no ' # ' at the end) now works in the RPIeasy.

Parsing issue ?

-D
by iron
17 Jan 2019, 16:25
Forum: ESP Easy: General Discussion
Topic: endif vs endon
Replies: 2
Views: 4498

Re: endif vs endon

Hello,

Endon ends an "On event"
Endif ends and If

on <trigger> do
if <test>
<action>
<action>
endif
endon

More here :

https://espeasy.readthedocs.io/en/lates ... Rules.html

-D
by iron
17 Jan 2019, 10:02
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

I need to send the system for a reboot every time I make any changes to the MQTT settings to get rid of the "issues". Gets connected... stays connected... no disconnects... no user/pass warnings... This is so far for the non secure... moving along with a TLS connection... will report back...
by iron
16 Jan 2019, 15:31
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

I need to send the system for a reboot every time I make any changes to the MQTT settings to get rid of the "issues". Gets connected... stays connected... no disconnects... no user/pass warnings... This is so far for the non secure... moving along with a TLS connection... will report back....
by iron
16 Jan 2019, 12:46
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

Yet in the log : 19:32:01 Event: GenMQTT#Connected 19:32:07 Unit alive: 3 19:32:07 Unit alive: 3 19:32:07 Unit alive: 3 19:32:14 Unit alive: 1 19:32:14 Unit alive: 1 19:32:14 Unit alive: 1 19:32:26 Unit alive: 2 19:32:26 Unit alive: 2 19:32:26 Unit alive: 2 19:32:26 MQTT connection error: 5 Althoug...
by iron
14 Jan 2019, 18:36
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

FF "solved" the upload issue (Chrome still doesn't) Thank you for this information I can reproduce this bug with Chrome, and created a new issue for it. Connected to : mqtt.gbridge.kappelt.net MQTT server: mqtt.gbridge.kappelt.net MQTT port: 8883 MQTT protocol: Version 3.1 TLS: TLS V1.2 M...
by iron
14 Jan 2019, 12:09
Forum: ESP Easy: General Discussion
Topic: MQTT app of choice
Replies: 1
Views: 1821

MQTT app of choice

What is your favorite MQTT app (on mobile) ?

-D
by iron
12 Jan 2019, 14:44
Forum: ESP Easy: Software
Topic: Strobe light controlled by a rule possible?
Replies: 6
Views: 4211

Re: Strobe light controlled by a rule possible?

gpio 15 is pulled to GND and generally recommended for input only

https://espeasy.readthedocs.io/en/lates ... light=gpio

Try another gpio (preferably 5,6,7)

-D
by iron
11 Jan 2019, 20:47
Forum: ESP Easy: Software
Topic: Strobe light controlled by a rule possible?
Replies: 6
Views: 4211

Re: Strobe light controlled by a rule possible?

Hello,

the best practice is to send an "event" to the device

http://<espeasyip>/control?cmd=event

Then in the Rules catch the event :

On event do
..
Your condition here
...
endon

More in the Rules :

https://espeasy.readthedocs.io/en/lates ... Rules.html

-D
by iron
11 Jan 2019, 19:16
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

I am having difficulty uploading the MQTT cert file via the <ip>/filelist page. I can upload a .jpg and a .txt but not the TLS.pem, file even after I renamed it to TLS.txt I'm opened /filelist just now from RPIEasy hosted by a Raspberry Pi Zero W. (As browser i used a Firefox v63.0 on a desktop Ubu...
by iron
11 Jan 2019, 15:37
Forum: ESP Easy: Hardware
Topic: sensor - hw-611 e/p 280
Replies: 6
Views: 17415

Re: sensor - hw-611 e/p 280

Hello,

BMP280 does only Barometric pressure while the BME280 variant does Barometric, Humidity and Temperature.

The safest way to tell which device you have is by the return values you get.

-D
by iron
11 Jan 2019, 13:19
Forum: ESP Easy: Projects / Applications
Topic: Timer
Replies: 1
Views: 2636

Re: Timer

Andre, https://espeasy.readthedocs.io/en/latest/Rules/Rules.html Clock#Time= Triggered every minute with day and time like: Mon,12:30 or Tue,14:45. You can define triggers on specific days or all days using ‘All’ for days indicator. You can also use wildcards in the time setting like All,**:00 to ru...
by iron
11 Jan 2019, 10:17
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

Alexander, Is HTTPS/ TLS a feature you would consider given the ESP82XX limitations do not exist in this approach ? -D Today's commit on github contains preliminary support for SSL at the Controllers. Needs some testing. I am having difficulty uploading the MQTT cert file via the <ip>/filelist page...
by iron
10 Jan 2019, 19:45
Forum: ESP Easy: Software
Topic: Possible to use previoustate in rules ?
Replies: 4
Views: 6318

Re: Possible to use previoustate in rules ?

How about ? On WaterLevel#Litres>10 and gpio#13=0 do Not even sure if you can you use AND/OR in the event, but you can try and let us know. If not : On WaterLevel#Litres>10 do If gpio#13=0 gpio,13,1 //status LED gpio,14,0 // status LED Pulse,4,1,500 // pulse solenoid valve 1 endif endon On WaterLeve...
by iron
10 Jan 2019, 19:19
Forum: ESP Easy: Software
Topic: Possible to use previoustate in rules ?
Replies: 4
Views: 6318

Re: Possible to use previoustate in rules ?

Hello,

gpiotoggle,<pin#>

will toggle the state of the pin if this is what you are asking ?

-D
by iron
10 Jan 2019, 11:17
Forum: ESP Easy: Software
Topic: Rules not working and "how to send data to 3rd party"
Replies: 7
Views: 5656

Re: Rules not working and "how to send data to 3rd party"

grovkillen wrote: 09 Nov 2018, 17:09 I'm not up to date with the generic http controller. Must look into that.
Being able to pass user_name / password in the SendtoHttp will make a nice "MQTT to HTTP gateway" in the Rules, for devices within the network that do not support MQTT

-D
by iron
08 Jan 2019, 19:43
Forum: ESP Easy: General Discussion
Topic: Help you create the device rules for the following requirements
Replies: 16
Views: 13882

Re: Help you create the device rules for the following requirements

On mcp#5 do
Publish,/%sysname%/MCP/5,%eventvalue%
endon

This seems to work...

-D
by iron
08 Jan 2019, 19:33
Forum: ESP Easy: General Discussion
Topic: Help you create the device rules for the following requirements
Replies: 16
Views: 13882

Re: Help you create the device rules for the following requirements

(I am working on MCP,5) This works : on system#boot do monitor,mcp,5 endon On mcp#5=1 do Publish,/%sysname%/MCP/5,1 endon On mcp#5=0 do Publish,/%sysname%/MCP/5,0 endon Wondering if it is possible to post the value of MCP#5 directly, instead of conditioning ? On mcp#5 do Publish,/%sysname%/MCP/5, <m...
by iron
08 Jan 2019, 14:13
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

asuz wrote: 08 Jan 2019, 12:53 Yes I have a few 18b20 with soldered 4.7k and test it at esp8266 that runs esp easy firmware
Test the specific ones that you are having trouble with RPIEasy just to verify they are functional.

-D
by iron
08 Jan 2019, 11:25
Forum: ESP Easy: General Discussion
Topic: Help you create the device rules for the following requirements
Replies: 16
Views: 13882

Re: Help you create the device rules for the following requirements

Yes you can do it using rules. Not super simple (not like a setting) but very much workable. I am thinking something like : on <gpio> do Publish,%sysname%/<gpio>/<pin>,<state> endon So every time any gpio pin changes for any reason from any source, the Rule posts its new value Not sure if this even...
by iron
07 Jan 2019, 20:30
Forum: ESP Easy: General Discussion
Topic: Help you create the device rules for the following requirements
Replies: 16
Views: 13882

Re: Help you create the device rules for the following requirements

Ok I understand, but consider using my suggested change in the rule. It'll make it easier to maintain. Is there an option for GPIOs (gpio/pcfgpio/mcpgpio) to publish their state w/o being declared as input switch in the Tasks ? /%sysname%/GPIO/<pin#>, <payload 0 or 1> changes the state of the pin w...
by iron
07 Jan 2019, 17:20
Forum: ESP Easy: General Discussion
Topic: GUI system info not showing the GIT version
Replies: 3
Views: 3774

Re: GUI system info not showing the GIT version

Woks for me... I used the precomplied image. https://lh3.googleusercontent.com/ykGAcFc8Cf9PXe-2gZ0Es0-FFATylPVkN2BX62ZvZjhTKZO-jckrcWFFTv2bIfPBx1K3y-XZSWlMKuKkQKWN6EfS-CHEW0BONwNM_jDVJj7OSLKTCZeFxKMXTWw4AfhdnQ0qMTdgIlPvpPWs54V9CWLO6Gg7OjUTBxpycXgzqJ9ASaxsgY8O_DUtg1ugG9sWhTgtRMRsUDHADsbIBOmDjgFeKd5-S...
by iron
05 Jan 2019, 15:53
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

How can I make ESP auto restart if I reboot PI? Does it work with diet pi? https://lh3.googleusercontent.com/XeUnWdIFfxpeRCDFYgCH7bOepVTCjzVGiwOX-4QhBoQv4Dd1pg9v0TDi4g21PLbMmF6VQzdMsX3yOg0wZqMIYyvEkjt9_yoV_qpTjOf7JXYB8AcvRDRG6XdFHgYLjqJah_FA5-gFswoDdsI4kDYiypZUY-VcQ5_tvV9p9pjW8DXb7gDA85qC26EF683i5o...
by iron
04 Jan 2019, 16:37
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 7908

Re: Fallback SSID

Let me ask you this: Is there a way to define an IP address for the device when the base SSID address might be different. For example, say I want the device to have a fixed IP nnn.nnn.nnn.19 but my primary SSID hands out 10.0.0.nnn address and my fallback SSID hands back IP of 192.168.1.nnn? I was ...
by iron
30 Dec 2018, 21:59
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

Alexander,

Is HTTPS/ TLS a feature you would consider given the ESP82XX limitations do not exist in this approach ?

-D
by iron
30 Dec 2018, 20:37
Forum: ESP Easy: General Discussion
Topic: NODEmcu and PIR
Replies: 6
Views: 4013

Re: NODEmcu and PIR

Check the log (tools tab) when the PIR fires shows there in (almost) real time

-D
by iron
30 Dec 2018, 20:28
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

On a VM for now, going on an OPi0 tomorrow. -D I forgot to mention, that ESPEasy P2P controller need to be enabled, to join the network, but as i see, it is obvious. :) And as you see, i missed sorting in the unit list, adding it to the issues. Also the "Type" only shows up on RPIEasy nod...
by iron
30 Dec 2018, 18:58
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

https://lh3.googleusercontent.com/qvogIGNutv-2sVJ0iKOg6M4mXn748KT8zc7J0-VHNEfZDfsBWIbWXKoqOrgSE7zcolxVWNLvSzc_TjMkxLj2rrCoM6JxyJbXuJ7rIPwfa3ca_9A-UC8ZELzRgLT0MP08AbqTXh-zAZUSAiJ8raZuA1jwZjSHPUB4Zk0lWNm3nV6XXCvMnrO6z46Q6iteehUGXRVB4_asFAtoi7YxxEKqllE-_Av88kVngP8Sbg6W8nhhU-PUeZf-FFdh_aMtgdcO2RHouV0N4...
by iron
30 Dec 2018, 18:40
Forum: ESP Easy: General Discussion
Topic: NODEmcu and PIR
Replies: 6
Views: 4013

Re: NODEmcu and PIR

Which NodeMCU module are you using ? I have yet to see one w/o 5v support !!

-D
by iron
30 Dec 2018, 12:13
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 510500

Re: RPIEasy

Good job !!!

-D
by iron
28 Dec 2018, 10:40
Forum: ESP Easy: Software
Topic: Very simple Temperature rule from Wiki not working?
Replies: 4
Views: 4411

Re: Very simple Temperature rule from Wiki not working?

Shouldn't it be :

On tempsolar#Temperature>20 do

instead of :

On [tempsolar]#Temperature>20 do

?

-D
by iron
26 Dec 2018, 15:32
Forum: ESP Easy: Software
Topic: Read temperature via web command on D1 with SHT30 installed
Replies: 12
Views: 7536

Re: Read temperature via web command on D1 with SHT30 installed

Do not forget the custom web pages. Just upload an .htm file (http://ip_of_your_device/upload) that returns just the value you want and then call that file within your call url e.g. : http://<ip of you device/return1.htm -D Interesting. I didn't read about this possibility anything. Do you have som...
by iron
26 Dec 2018, 11:04
Forum: ESP Easy: Software
Topic: ESP Easy local control buttons missing?
Replies: 4
Views: 2972

Re: ESP Easy local control buttons missing?

Would be a good idea (if not a necessity) to have a redirect url/file in the options. (e.g /dashboard.esp)

This way a "customer / third party" would get to see the custom web page with the info that is relevant to them when calling the IP, instead of the main page.

-D
by iron
26 Dec 2018, 10:54
Forum: ESP Easy: Software
Topic: Read temperature via web command on D1 with SHT30 installed
Replies: 12
Views: 7536

Re: Read temperature via web command on D1 with SHT30 installed

Do not forget the custom web pages.

Just upload an .htm file (http://ip_of_your_device/upload) that returns just the value you want and then call that file within your call url e.g. :

http://<ip of you device/return1.htm

-D
by iron
26 Dec 2018, 10:46
Forum: ESP Easy: General Discussion
Topic: State not working??
Replies: 22
Views: 13720

Re: State not working??

The "recently" introduced gpio commands : gpiotoggle,<pin number> status,gpio,<pin number> take care of most the issues we used to have in the past given : a. there is no longer a reason to "condition" (if/else) the current state of a pin in order to toggle it gpiotoggle,<pin num...
by iron
01 Nov 2018, 17:34
Forum: ESP Easy: Software
Topic: Get GPIO Status without declaring it as input under devices ?
Replies: 1
Views: 1629

Re: Get GPIO Status without declaring it as input under devices ?

To answer my own Q.

status,gpio,<pin number> returns the status even if it is not declared in the devices as input.

It only returns "?" if the gpio has not been triggered since boot (still in float state ?)

If you call it once either high or low it will then return it's status.

-D
by iron
29 Oct 2018, 08:58
Forum: ESP Easy: Software
Topic: Get GPIO Status without declaring it as input under devices ?
Replies: 1
Views: 1629

Get GPIO Status without declaring it as input under devices ?

status,gpio,<pin number> responds a "?" if the pin is not declared in the devices / tasks.
No problem doing so but this ends up "eating up" one the only 12 available tasks.

Thanx
-D
by iron
26 Jul 2017, 11:28
Forum: ESP Easy: General Discussion
Topic: WiFi Direct Connection
Replies: 17
Views: 13220

Re: WiFi Direct Connection

A standalone AP functionality is needed in case you want to use the ESP as a controller in a location w/o internet. I once had to compare 2 temperatures and turn on/off a circulator pump based on a simple rule. No internet no other nodes just a rule with the unit in AP mode just for management once ...
by iron
15 Jan 2017, 15:29
Forum: ESP Easy: General Discussion
Topic: delete a Device ?
Replies: 5
Views: 6295

Re: delete a Device ?

belgo wrote:thanks a lot !! that's work ;-)
In the espaeasy mega (for 4M devices) there is a 'Disable" checkmark if you want to "temporarily" disable that device w/o deleting it (and loosing the relevant properties)
Screenshot 2017-01-15 at 16.27.24.png
Screenshot 2017-01-15 at 16.27.24.png (57.96 KiB) Viewed 6255 times
by iron
14 Jan 2017, 22:50
Forum: ESP Easy: General Discussion
Topic: delete a Device ?
Replies: 5
Views: 6295

Re: delete a Device ?

In Domoticz / Steup / Hardware

The Delete button will become active once you click on the selected entry

-D
by iron
07 Jan 2017, 17:49
Forum: ESP Easy: General Discussion
Topic: Simple switch issues
Replies: 4
Views: 3678

Re: Simple switch issues

What ESP module are you on ?