Search found 93 matches

by iron
06 Jan 2020, 16:51
Forum: ESP Easy: Software
Topic: status,mcp,0
Replies: 1
Views: 339

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 175
Views: 24527

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: 175
Views: 24527

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: 175
Views: 24527

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: 175
Views: 24527

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: 175
Views: 24527

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

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: 175
Views: 24527

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: 175
Views: 24527

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: 175
Views: 24527

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: 175
Views: 24527

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

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

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

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: 175
Views: 24527

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

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

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

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

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

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

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

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

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

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

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