Search found 103 matches

by iron
27 Mar 2020, 11:12
Forum: ESP Easy: General Discussion
Topic: How to communicate between two esp8266
Replies: 8
Views: 230

Re: How to communicate between two esp8266

Unless you do not want to involve MQTT and enable the ESPEasy P2P Networking. You will have 2 units 1 and 2 Unit 2 : on System#Boot do monitor,mcp,1 endon on mcp#1=1 do sendTo,1,LichtgrHalleVorne,1 endon Unit 1: on LichtgrHalleVorne=1 do mcpgpio,1,0 endon here: https://www.letscontrolit.com/wiki/ind...
by iron
26 Mar 2020, 18:38
Forum: ESP Easy: General Discussion
Topic: First time query gpio status not working
Replies: 7
Views: 141

Re: First time query gpio status not working

Hello,

From what I remember this is specific to one GPIO (0?)

Have you tried the same on a different GPIO ?

-D
by iron
21 Mar 2020, 16:10
Forum: ESP Easy: Projects / Applications
Topic: Home Automation Refresh...
Replies: 10
Views: 487

Re: Home Automation Refresh...

martinus - normal user

Who would have thought :)

-D
by iron
21 Mar 2020, 14:29
Forum: ESP Easy: Software
Topic: nodemcu with 8input and 8output (pcf8574)
Replies: 16
Views: 1069

Re: nodemcu with 8input and 8output (pcf8574)

1. You do not realy need to monitor the mcp gpio in your application. 2. on gpio#0 do This condition is met twice given you have a push button so it will return. (once when gpio,0 goes high when you press it and then again when it goes low when you release it) You can catch the action only once by :...
by iron
19 Mar 2020, 18:58
Forum: ESP Easy: Software
Topic: nodemcu with 8input and 8output (pcf8574)
Replies: 16
Views: 1069

Re: nodemcu with 8input and 8output (pcf8574)

another question, is it possible withput a task for the pushbutton, use insede the rules the longpress action? //short press on SW1#state=0 do .... //long press on SW1#state=10 do .... That's were you need to start monitoring the MCP pins on boot on System#Boot do monitor,mcp,1 monitor,mpc,2 monito...
by iron
19 Mar 2020, 13:54
Forum: ESP Easy: Software
Topic: nodemcu with 8input and 8output (pcf8574)
Replies: 16
Views: 1069

Re: nodemcu with 8input and 8output (pcf8574)

Hello,

For output (mcpgpio,x,y) does not require to be set on any TASK you can just trigger it on demand.

For input you can set them on task but even that is not required if you monitor the pin on boot

monitor,mcp,#

-D
by iron
18 Mar 2020, 15:28
Forum: ESP Easy: Software
Topic: nodemcu with 8input and 8output (pcf8574)
Replies: 16
Views: 1069

Re: nodemcu with 8input and 8output (pcf8574)

Hello

RST : connect it to EPS gpio only if you have any reason to reset the MCP board. I never had the need.
ITA, ITB those are interrupt pins. You can safely ignore them.

A1 A2 A0 : are for the I2C address. No need to do anything if you only have 1 x MCP in the same I2C bus.

-D
by iron
15 Mar 2020, 16:35
Forum: ESP Easy: General Discussion
Topic: Wifi password
Replies: 18
Views: 3178

Re: Wifi password

@TD-er

You might as well flip it around anyways ;-)

-D
by iron
07 Mar 2020, 15:12
Forum: ESP Easy: General Discussion
Topic: Wifi password
Replies: 18
Views: 3178

Re: Wifi password

@TD-er

Go easy on Jimmy. His first day today ;-)

-D
by iron
30 Jan 2020, 18:02
Forum: ESP Easy: Projects / Applications
Topic: How to log fridges temp remotely and send mail if alarm ?
Replies: 7
Views: 3234

Re: How to log fridges temp remotely and send mail if alarm ?

3 years ago I installed a DS18B20 temp sensor in my wife's florist shop main fridge. ESP Easy device publishes the data to thingspeak https://thingspeak.com/channels/177708 Then I enabled the thingspeak React (Apps/React) to tweet me in event temp is lower than x or higher than Y Every once in a whi...
by iron
06 Jan 2020, 16:51
Forum: ESP Easy: Software
Topic: status,mcp,0
Replies: 1
Views: 1937

status,mcp,0

Using mcp23017 we get 16 GPIOs (A0-A7 / B0-B7). Under mcpgpio we can trigger pins 1 to 16 as expected. Monitoring the pins we can get the status of those pins as well. For some reason I can get the status of "mcpgio,0" { "log": "", "plugin": 9, "pin": 0, "mode": "input", "state": 0 } I assume this i...
by iron
22 Dec 2019, 18:30
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 5980

Re: obscure problem with sendtohtttp (and thingspeak)

Unfortunately sendtohttp (thingspeak) does not work for me now no matter the "SendToHTTP wait for ack:" is enabled or not.
I tested with double quotes, either "Tolerant last parameter:" is enabled or not.

-D
by iron
22 Dec 2019, 17:51
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 5980

Re: obscure problem with sendtohtttp (and thingspeak)

I confirm no issues updating a test device from the 20191208-17-PR_2820 to 20191208-19-PR_2825

-D
by iron
17 Dec 2019, 18:55
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 5980

Re: obscure problem with sendtohtttp (and thingspeak)

I send the following message with Rules to MQTT, using the ESP (openHAB) MQTT controller to set the server, user and password. Do you mean you are using the OpenHAB MQTT Controller and Publish rules to speak to Thingspeak? I didn't know that was supported, so learned something new here. Be sure to ...
by iron
16 Dec 2019, 09:28
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 5980

Re: obscure problem with sendtohtttp (and thingspeak)

I also added a new commit to allow the SendToHttp command to wait for an acknowledgement. For a new test build, see https://www.dropbox.com/s/azwe162gmxptlaz/ESPEasy_mega-20191208-17-PR_2820.zip?dl=0 See the commit: https://github.com/letscontrolit/ESPEasy/pull/2820 I just tested 20191208-17-PR_282...
by iron
14 Dec 2019, 20:31
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 5980

Re: obscure problem with sendtohtttp (and thingspeak)

Is there a " in the string? You can also try one of the other 2 quotes. You can use the ` ' or " Oh and by the way, it can also be a problem with sendtohttp in combination with thingspeak. There are no quotes in the initial string. I tried quoting both single and double quotes, still no go. Makes m...
by iron
14 Dec 2019, 19:44
Forum: ESP Easy: Software
Topic: obscure problem with sendtohtttp (and thingspeak)
Replies: 58
Views: 5980

Re: obscure problem with sendtohtttp (and thingspeak)

This works fine on a 20190805 unit SendToHTTP,api.thingspeak.com,80,/update?api_key=<mykey>&field1=[Thermometer#Temperature]&field2=[Thermometer#Humidity] When I upgrade the same unit to 20191208 the same does not work. 1. Enabled /disabled the the parsing tolerance option : does not work allthough ...
by iron
04 Dec 2019, 10:48
Forum: ESP Easy: Software
Topic: Can I get a value from an external web server
Replies: 9
Views: 3162

Re: Can I get a value from an external web server

I'm trying to get an ESP to check an external server for a value but I don't know how (or if) I can receive responses? ...snip... Obviously I don't want to expose the ESP to the internet directly but if the request comes from the ESP then is safer. Hello, If the server is "external" how will this s...
by iron
23 Oct 2019, 19:03
Forum: ESP Easy: Hardware
Topic: ESP8266 Name
Replies: 3
Views: 5360

Re: ESP8266 Name

grovkillen wrote:
23 Oct 2019, 12:51
Upload latest version instead.
FYI last version : Release mega-20191016 does not include binaries (again)

-D
by iron
09 Oct 2019, 16:23
Forum: ESP Easy: Software
Topic: new firmware with new ui and curl commands
Replies: 5
Views: 3464

Re: new firmware with new ui and curl commands

Sounds exciting you guys !!!

-D
by iron
08 Oct 2019, 16:23
Forum: ESP Easy: Software
Topic: new firmware with new ui and curl commands
Replies: 5
Views: 3464

Re: new firmware with new ui and curl commands

Seems like the "Download new UI" button has been removed in the last release ? or has it been moved elsewhere ?

-D
by iron
06 Oct 2019, 21:03
Forum: uPyEasy: Hardware
Topic: esp adaptor board?
Replies: 8
Views: 5211

Re: esp adaptor board?

If you want to make sure all boot state pins are correctly set, you can also use the ESP-12S. These have the pull-up (ESP-EN, GPIO-0, GPIO-2) and pull-down (GPIO-15) set. What does bother me is that these boards apparently have 2 resistors for pull-up/down, so I would expect GPIO-0 and -2 are not s...
by iron
05 Oct 2019, 12:41
Forum: uPyEasy: Hardware
Topic: esp adaptor board?
Replies: 8
Views: 5211

Re: esp adaptor board?

If you want to make sure all boot state pins are correctly set, you can also use the ESP-12S. These have the pull-up (ESP-EN, GPIO-0, GPIO-2) and pull-down (GPIO-15) set. What does bother me is that these boards apparently have 2 resistors for pull-up/down, so I would expect GPIO-0 and -2 are not s...
by iron
20 Sep 2019, 12:22
Forum: ESP Easy: General Discussion
Topic: Trying to send Sauna temp to Thingspeak
Replies: 12
Views: 6461

Re: Trying to send Sauna temp to Thingspeak

mine works...

https://thingspeak.com/channels/33034

Code: Select all

On Thermometer#Temperature do
SendToHTTP,api.thingspeak.com,80,/update?api_key={myAPIkey]&field1=[Thermometer#Temperature]&field2=[Thermometer#Humidity]
endon
-D
by iron
01 Sep 2019, 17:13
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 20
Views: 9384

Re: Feedback required: New sets of plugins/controllers

Hello,

Something similar to this will work the best :

https://nodemcu-build.com/

User can choose their components and system will provide the image.

-D
by iron
05 Aug 2019, 15:21
Forum: ESP Easy: Software
Topic: SendToHTTP usgae ?
Replies: 4
Views: 1091

Re: SendToHTTP usgae ?

This is my exact (api key changed) working syntax for posting temp and humidity values to thingspeak On Thermometer#Temperature do SendToHTTP,api.thingspeak.com,80,/update?api_key=XXXXXXXXXXXXXXXXXXXX&field1=[Thermometer#Temperature]&field2=[Thermometer#Humidity] endon https://thingspeak.com/channel...
by iron
03 Aug 2019, 18:13
Forum: ESP Easy: Hardware
Topic: Sonoff Basic R3 additional flash on U6
Replies: 3
Views: 7236

Re: Sonoff Basic R3 additional flash on U6

I wonder if it is just as simple as soldering on the chip...
by iron
03 Aug 2019, 11:29
Forum: ESP Easy: Hardware
Topic: Sonoff Basic R3 additional flash on U6
Replies: 3
Views: 7236

Sonoff Basic R3 additional flash on U6

Tasmota guy, arendst , posted the following : "...As the ESP8285 uses DOUT SPI flash comms, GPIO9 (pin 18 = pin 7 of U6) and GPIO10 (pin 19 = pin 3 on U6) are available for user connections. No other SPI signals can be used as they are connected to the internal flash...." Meaning the U6 can be popul...
by iron
20 Feb 2019, 14:37
Forum: ESP Easy: Projects / Applications
Topic: Problem with SendToHTTP
Replies: 15
Views: 2019

Re: Problem with SendToHTTP

SendToHTTP,url.com,80,/xyz is the syntax

you have space instead of coma after SendToHTTP

-D
by iron
14 Feb 2019, 22:17
Forum: ESP Easy: General Discussion
Topic: Averaging measurements...
Replies: 2
Views: 644

Re: Averaging measurements...

Also need to filter out off values. e.g ds18b20 often gets either a max (120?) or min (-60?) *C. Might want to filter those out as they will bump your 10 point avrg significantly

-D
by iron
13 Feb 2019, 12:27
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 74
Views: 14988

Re: Reboot inside rules?

It is still strange that the bin file listed as 1M, does not fit into a 1M memory... :oops: If you do it Over The Air the target device has to has enough room to operate from the existing 1M file and store the new 1M file, so physically impossible. If you do it over serial then you simply over-writ...
by iron
05 Feb 2019, 19:05
Forum: ESP Easy: Software
Topic: erase all settings
Replies: 4
Views: 692

Re: erase all settings

riker1 wrote:
05 Feb 2019, 17:49
Hi
I tried to erase all setting because I had a constant wifi problem with the robotDyn d1r2

even after flashing bare 4 mb minimum wifi config is retained.

but how?

how to delete everything?

Thanks T
Tools / Factory Reset

OR

http://<ip>/factoryreset

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

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

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

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

Re: MQTT control IRsend plugin ?

https://espeasy.readthedocs.io/en/lates ... nds-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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

Re: RPIEasy

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

-D
by iron
19 Jan 2019, 18:21
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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 executes p...
by iron
19 Jan 2019, 11:07
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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. I am ver...
by iron
16 Jan 2019, 15:31
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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.

-D
by iron
16 Jan 2019, 12:46
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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 MQTT.fx con...
by iron
14 Jan 2019, 12:09
Forum: ESP Easy: General Discussion
Topic: MQTT app of choice
Replies: 1
Views: 561

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

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

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 208
Views: 51696

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