Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#1 Post by EDsteve » 24 Oct 2019, 14:41

Hello,

i try to send data from Dust Sensor to Domoticz via these rules:

Code: Select all

On Rules#Timer=2 do
    SendToHTTP 192.168.8.167,8080,/json.htm?type=command&param=udevice&idx=41&nvalue=0&svalue=[dust#PM1.0]
    SendToHTTP 192.168.8.167,8080,/json.htm?type=command&param=udevice&idx=42&nvalue=0&svalue=[dust#PM10]
    SendToHTTP 192.168.8.167,8080,/json.htm?type=command&param=udevice&idx=43&nvalue=0&svalue=[dust#PM2.5]
 GPIO,12,1
  timerSet,1,10
endon
But in the log it looks like this:

Code: Select all

1159762: ACT : SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=42&nvalue=0&svalue=58
1159772: Command: sendtohttp
1159796: ACT : SendToHTTP 192.168.8.167,8080,/json.htm?type=command¶m=udevice&idx=43&nvalue=0&svalue=46
1159806: Command: sendtohttp
Look how command&param looks like in the log. So of course nothing arrives at Domoticz. Any idea what that might be?

Cheeers
ED

P.S.: I am using ESP_Easy_mega-20191003_test_ESP8266_4M_VCC.bin
Last edited by EDsteve on 24 Oct 2019, 18:43, edited 1 time in total.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules

#2 Post by TD-er » 24 Oct 2019, 16:22

That's a thing caused by the Javascript and/or the browser when viewing the logs in the web log viewer.
If you look at the logs via another medium (e.g. serial port) you don't see it.

Maybe the Javascript should add something to mark the text as "verbatim" text or whatever it is called in HTML.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules

#3 Post by EDsteve » 24 Oct 2019, 16:52

So then i am not sure what i am doing wrong. :?
SendToHTTP is just not working. When i put this in the browser it works:
34.196.204.67:80/update?api_key=XXXXXXXXXXXXX&field4=55

But why not from the rules? Hmm

Code: Select all

On System#Boot do    //When the ESP boots, do
   timerSet,1,10      //Set Timer 1 for the next event in 10 seconds
 endon
 
 On Rules#Timer=1 do  //When Timer1 expires, do

SendToHTTP 34.196.204.67,80,/update?api_key=TOPSECRET&field4=[dust#PM1.0]
SendToHTTP 192.168.8.167,8080,/json.htm?type=command&param=udevice&idx=41&nvalue=0&svalue=[dust#PM1.0]
timerSet,1,15
endon

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules

#4 Post by TD-er » 24 Oct 2019, 16:59

SendToHTTP is just not working. When i put this in the browser it works:
I have also looked into it and cannot see why it is not working.
Someone else also reported the issue.

As far as I can see, it is being processed correct by the rules parser, but I cannot see why it is not working.
I will have another look at the sendtohttp command, but to be honest I don't have a clue what's going on why it is not working.

If you have some more ideas on where to look or perhaps a log on how it is sent to the server, please let me know.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules

#5 Post by TD-er » 24 Oct 2019, 17:31

I have done a simple test:

Code: Select all

sendtohttp 192.168.1.4,80,/json.htm?type=command&param=udevice&idx=123456&nvalue=[rssi#rssi]

Code: Select all

root@htpc-nuc:/var/log/apache2# grep "idx=1234" *
access.log:192.168.1.75 - - [24/Oct/2019:17:28:36 +0200] "GET /json.htm?type=command&param=udevice&idx=123456&nvalue=-49 HTTP/1.1" 400 0 "-" "-"
access.log:192.168.1.75 - - [24/Oct/2019:17:28:37 +0200] "GET /json.htm?type=command&param=udevice&idx=123456&nvalue=-49 HTTP/1.1" 400 0 "-" "-"
access.log:192.168.1.75 - - [24/Oct/2019:17:28:39 +0200] "GET /json.htm?type=command&param=udevice&idx=123456&nvalue=-49 HTTP/1.1" 400 0 "-" "-"
access.log:192.168.1.75 - - [24/Oct/2019:17:28:41 +0200] "GET /json.htm?type=command&param=udevice&idx=123456&nvalue=-49 HTTP/1.1" 400 0 "-" "-"
access.log:192.168.1.75 - - [24/Oct/2019:17:28:43 +0200] "GET /json.htm?type=command&param=udevice&idx=123456&nvalue=-49 HTTP/1.1" 400 0 "-" "-"
Don't see whats wrong.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules

#6 Post by EDsteve » 24 Oct 2019, 17:33

The only thing i can tell for now is that it happened once that the data was sent. One out of 200 requests. I have no clue why. Will investigate further and report here if i have any clues.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules

#7 Post by EDsteve » 24 Oct 2019, 17:57

a log on how it is sent to the server, please let me know.
If you can tell me quickly how to get that. I will do :)

I am online via a cheap LTE router in Indonesia. I tried two different routers with two different ISPs already. Hmm.

When i use the hostename api.thingspeak.com in the Thingspeak controller. It won't work either. Only works with IP address. Not sure if that's connected. But i am just mentioning it.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules

#8 Post by EDsteve » 24 Oct 2019, 18:33

I have a update:

I just read the arriving data at thingspeak. Something arrives at thingspeak. But with no data in it:

Code: Select all

2019-10-24 15:58:14 UTC,117,
2019-10-24 15:59:14 UTC,118,
2019-10-24 16:00:14 UTC,119,
2019-10-24 16:01:14 UTC,120,
2019-10-24 16:02:14 UTC,121,
2019-10-24 16:03:14 UTC,122,
2019-10-24 16:04:14 UTC,123,
2019-10-24 16:05:31 UTC,124,
2019-10-24 16:06:14 UTC,125,
2019-10-24 16:07:14 UTC,126,
2019-10-24 16:07:49 UTC,127,
2019-10-24 16:12:49 UTC,128,
Should look like this:

Code: Select all

2019-10-24 15:59:14 UTC,118,44
2019-10-24 16:00:14 UTC,119,48
My Device:
device.png
device.png (16.92 KiB) Viewed 25848 times
And Controller:
controller.png
controller.png (41.54 KiB) Viewed 25848 times
The question remains. Why does it arrive without the sensor readings?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Weird interpretation of the &-Symbols in Rules

#9 Post by grovkillen » 24 Oct 2019, 18:43

ThingSpeak wants you to send in 15s intervals. You need to have the interval set to 15000.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#10 Post by EDsteve » 24 Oct 2019, 18:54

ThingSpeak wants you to send in 15s intervals. You need to have the interval set to 15000.
I tried that before already and tried it again now with 20s. But no success :(

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#11 Post by EDsteve » 24 Oct 2019, 19:14

When i send a empty request to thingspeak from the browser like this:

http://34.196.204.67/update?api_key=TOPSECRET&field4=

In thingkspeak it shows empty as well. But in a different way. Maybe that info helps someone.

Code: Select all

From ESPeasy:
2019-10-24 16:47:27 UTC,136,
2019-10-24 16:52:27 UTC,137,
2019-10-24 16:57:27 UTC,138,
The next lines are from browser:
2019-10-24 17:02:27 UTC,139,""
2019-10-24 17:07:28 UTC,140,""
2019-10-24 17:07:53 UTC,141,""

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#12 Post by TD-er » 24 Oct 2019, 21:20

I did edit your posts to remove the API key :)

I really don't have a clue what is going wrong here.
Can you also test with multiple values in Thingspeak? Just to see if something at the end gets lost or if it is some kind of extra character inserted.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#13 Post by EDsteve » 25 Oct 2019, 03:56

I did edit your posts to remove the API key :)
Thanks :D
Can you also test with multiple values in Thingspeak? Just to see if something at the end gets lost or if it is some kind of extra character inserted.
I tried with three values. And also "hard coded" values. Same problem :(
I just read the arriving data at thingspeak. Something arrives at thingspeak. But with no data in it:
My conclusion is not true!. When Thingspeak gets data for field1 but no data for field2. Then Thingspeak creates an empty entry by itself for field2. So nothing arrives at thingspeak :(

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#14 Post by EDsteve » 25 Oct 2019, 09:17

Today i set up a new Wemos D1 from a different computer and in a different location where they have "wired internet". And from there it worked flawless.
But when i bring the Wemos back home where i only have internet via LTE modem. It won't send any data. The strange thing: One out of about 100 request goes through and thingspeak gets data. It's weird :(
Do i understand that correct, that the data is sent via http and not https, right? Possible to send via https?

Because the ISPs in Indoensia are seriously not right in their heads. They do for example HTTP injection for every user. So when you open a http website on your phone. The ISP generates a advertising pop up in front of that page which you have to look at for 5 seconds before you can close it. Hard to believe. But they do that here :(
Can that be connected to the reason why it's not working?

Any other things i can try? Because that really limits the flexibility of my sensors.

I tried setting up VPN in my router (Germany and Singapore). Doesn't make a difference. DNS over TLS (Cloudflare)... no difference.
I also tried mega-20190926 as i read in this threat: viewtopic.php?f=6&t=7080&p=39754&hilit= ... ttp#p39754

But no success either :(
Last edited by EDsteve on 25 Oct 2019, 11:27, edited 1 time in total.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#15 Post by TD-er » 25 Oct 2019, 10:36

I made a test build last night.
Can you test this one: https://www.dropbox.com/s/7jrwom3mhlusp ... 7.zip?dl=0

See discussion here: https://github.com/letscontrolit/ESPEas ... -546137272

PLease note that this build also contains a lot of other changes I made last week, so please let me know if something else got broken.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#16 Post by EDsteve » 25 Oct 2019, 12:25

I tried the build from your download link. But same problem :(
Just to be sure that the mistake is not on my side:
I write the blank_4MB on the Wemos, then i flash your firmware (ESP_Easy_mega-20191016-11-PR_2667_normal_ESP8266_4M1M) i add the wemos to my wifi and set these rules:

Code: Select all

On System#Boot do
   timerSet,1,10
 endon
 
 On Rules#Timer=1 do
   SendToHTTP 34.226.171.107,80,/update?api_key=SUPERTOPSECRET&field4=1
   timerSet,1,20 
endon
That should work right?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#17 Post by TD-er » 25 Oct 2019, 13:39

I guess so.
Only thing is if you are sending them to ThingSpeak, you may run into another issue.

It is a known issue that Thingspeak does require the http request to wait for a reply.
The sendtohttp command does not wait for a reply, so that may also be the reason it can fail to send data to Thingspeak.

What I did change is to remove any trailing spaces in the path.
You could also wrap the path parameter in quotes just to be sure no other strange characters are present.
Maybe also change the whitespace between the command and the IP address into a comma, just to make sure there is no tab present.

Code: Select all

SendToHTTP,34.226.171.107,80,"/update?api_key=SUPERTOPSECRET&field4=1"
Quotes wrapping a parameter should be removed from the parameter if they are the first and last character (after removing trailing spaces)
So you should see in the (debug) log that the quotes are removed. If they are still present, it means there is something else added.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#18 Post by EDsteve » 25 Oct 2019, 14:21

I tried quotes and also added a command for Domoticz:

Code: Select all

SendToHTTP,192.168.8.167,8080,"/json.htm?type=command&param=switchlight&idx=27&switchcmd=On"
SendToHTTP,34.226.171.107,80,"/update?api_key=SECRET&field4=1"
But no success. I could go crazy :o

But the quotes are still in the debug log:

Code: Select all

1753696 : ACT  : SendToHTTP,192.168.8.167,8080,"/json.htm?type=command&param=switchlight&idx=27&switchcmd=On"
1753706 : Command: sendtohttp
1753707 : SendToHTTP: Host: 192.168.8.167 port: 8080
1753737 : ACT  : SendToHTTP,34.226.171.107,80,"/update?api_key=SECRET&field4=1"
1753749 : Command: sendtohttp
1753751 : SendToHTTP: Host: 34.226.171.107 port: 80
1754453 : ACT  : timerSet,1,20

Jedrunia
Normal user
Posts: 12
Joined: 28 Mar 2019, 09:22

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#19 Post by Jedrunia » 25 Oct 2019, 14:36

Please check controler settings:
Minimum interval 15min
Check answer true

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#20 Post by EDsteve » 25 Oct 2019, 15:09

I didn't set up a controller. It's a blank fresh firmware. I only add the rules to make a http requests every 20 seconds.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#21 Post by TD-er » 25 Oct 2019, 17:05

The log level you're showing here is LOG_LEVEL_INFO.
Please switch to LOG_LEVEL_DEBUG.
The ACT:... log line is showing the rules line verbatim.
The debug log does show the actual values as being parsed for the sendtohttp command.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#22 Post by EDsteve » 25 Oct 2019, 18:10

I tried that already since yesterday, but whatever i do. The Debug-level never changes. These are my settings:
debug.png
debug.png (15.75 KiB) Viewed 25730 times
And this is how my Log looks like:

Code: Select all

15607: MQTT : Intentional reconnect
15651: MQTT : Connected to broker with client ID: ESPClient_5C:CF:7F:AB:81:21
15652: Subscribed to: domoticz/out
15654: EVENT: MQTT#Connected
16131: EVENT: dust#pm1.0=27.00
16153: EVENT: dust#pm2.5=43.00
16173: EVENT: dust#pm10=56.00
32528: WD   : Uptime 1 ConnectFailures 0 FreeMem 17280 WiFiStatus 3
62527: WD   : Uptime 1 ConnectFailures 0 FreeMem 17248 WiFiStatus 3
92527: WD   : Uptime 2 ConnectFailures 0 FreeMem 16904 WiFiStatus 3
122527: WD   : Uptime 2 ConnectFailures 0 FreeMem 17184 WiFiStatus 3
152529: WD   : Uptime 3 ConnectFailures 0 FreeMem 17184 WiFiStatus 3
182527: WD   : Uptime 3 ConnectFailures 0 FreeMem 17184 WiFiStatus 3
191974: EVENT: Rules#Timer=2
191994: ACT  : GPIO,12,1
191997: SW   : GPIO 12 Set to 1
192002: ACT  : SendToHTTP,192.168.8.167,8080,'/json.htm?type=command¶m=switchlight&idx=27&switchcmd=On'
192013: Command: sendtohttp
192014: SendToHTTP: Host: 192.168.8.167 port: 8080
195085: PMSx003 : Packet available
195086: PMSx003 : pm1.0=6, pm2.5=42, pm10=78, pm1.0a=6, pm2.5a=42, pm10a=78
195086: PMSx003 : count/0.1L : 0.3um=0, 0.5um=0, 1.0um=0, 2.5um=0, 5.0um=0, 10um=0
195985: PMSx003 : Packet available
195986: PMSx003 : pm1.0=18, pm2.5=46, pm10=64, pm1.0a=18, pm2.5a=46, pm10a=64
195986: PMSx003 : count/0.1L : 0.3um=0, 0.5um=0, 1.0um=0, 2.5um=0, 5.0um=0, 10um=0
196131: EVENT: dust#pm1.0=18.00
196152: EVENT: dust#pm2.5=46.00
196174: EVENT: dust#pm10=64.00
BTW. I still think that the SendToHTTP is not working because of my ISP here. Because here it doesn't even work with an older version.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#23 Post by TD-er » 25 Oct 2019, 22:07

Well, "debug more" is a bit too much logging.
Are you sure you're running last night's test build?
I don't see the log output describing the parsed parameters of the sendtohttp, but it can be the logging was just flooding all buffers and some log lines got lost.

I will have a new test build in about an hour, which does have some other fixes too, although I doubt those other fixes will be related to this issue you're having.
But maybe best to test the newer build, since we're then sure it has at least all the commits in it I meant to have in it last night. (build started past 3 am, so not sure how clear my head was by then)

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#24 Post by EDsteve » 26 Oct 2019, 05:57

I use a NodeMCU only for these tests now. Wiped all data, flashed the new build. Only edited the rules and changed Log to Debug.

But the log still looks the same and SendToHTTP doesn't work. Here the serial log:

Code: Select all

332497 : WD   : Uptime 6 ConnectFailures 0 FreeMem 18432 WiFiStatus 3
352942 : EVENT: Rules#Timer=1
352957 : ACT  : SendToHTTP 34.226.171.107,80,/update?api_key=TOPSECRET&field4=90
352967 : Command: sendtohttp
352969 : SendToHTTP: Host: 34.226.171.107 port: 80
353112 : ACT  : SendToHTTP,192.168.8.167,8080,"/json.htm?type=command&param=switchlight&idx=27&switchcmd=On"
353123 : Command: sendtohttp
353124 : SendToHTTP: Host: 192.168.8.167 port: 8080
353148 : ACT  : timerSet,1,30
353160 : Command: timerset
Are you sure you're running last night's test build?
Yes. I checked twice:

Code: Select all

Build Time:⋄	Oct 25 2019 03:55:42
Binary Filename:⋄	ESP_Easy_mega-20191016-11-PR_2667_test_ESP8266_4M_VCC.bin
build started past 3 am, so not sure how clear my head was by then
And nobody is paying you more for night shift :roll:

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#25 Post by TD-er » 26 Oct 2019, 11:13

I think the parsing of the rules line is still wrong in your build.

This was the output I got when testing:
37445 : ACT : sendtohttp 192.168.1.4,80,/json.htm?type=command&param=udevice&idx=123456&nvalue=31
37451 : Command: sendtohttp
37452 : SendToHTTP: Host: 192.168.1.4 port: 80
37461 : GET /json.htm?type=command&param=udevice&idx=123456&nvalue=31 HTTP/1.1
Host: 192.168.1.4
User-Agent: ESP Easy/20104/Oct 25 2019 00:00:05
Connection: close


37463 : HTTP : Command_HTTP_SendToHTTP written to client (170/170)
37463 : HTTP : Command_HTTP_SendToHTTP closing connection
Had the log still in one of my Notepad++ tabs, so hence the "old" build timestamp.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#26 Post by TD-er » 26 Oct 2019, 11:53

I did find another inconsistency in the code.
See https://github.com/letscontrolit/ESPEasy/issues/2686

Working on it, so I don't think further testing is very useful right now for you.

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#27 Post by EDsteve » 26 Oct 2019, 12:38

Okay. Thanks for the info. I will wait for a new release i can test.

Tirso
New user
Posts: 5
Joined: 03 Feb 2021, 19:26

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#28 Post by Tirso » 03 Feb 2021, 19:39

Hello,
Something new about this?
Me too I can't use "&" on SendtoHTTP commands

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#29 Post by Ath » 03 Feb 2021, 19:54

Tirso wrote: 03 Feb 2021, 19:39 Hello,
Something new about this?
Me too I can't use "&" on SendtoHTTP commands
Hello, and welcome to this forum.

This problem doesn't exist in current releases of ESPEasy, AFAIK.
What build of ESPEasy do you have installed on your ESP? (name of the bin file please)

NB: The latest release can always be obtained from Github releases page: https://github.com/letscontrolit/ESPEasy/releases (expand the Assets link at the bottom of each set of release notes to find the downloadable files)
/Ton (PayPal.me)

Tirso
New user
Posts: 5
Joined: 03 Feb 2021, 19:26

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#30 Post by Tirso » 03 Feb 2021, 20:26

You are right. In fact this works with ESP12 Mega but not with "20100 - Mega32".
It seems development is stoped on ESP32.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#31 Post by TD-er » 03 Feb 2021, 20:27

Tirso wrote: 03 Feb 2021, 20:26 You are right. In fact this works with ESP12 Mega but not with "20100 - Mega32".
It seems development is stoped on ESP32.
Absolutely not!!!
Please see the link provided in the previous post.

Tirso
New user
Posts: 5
Joined: 03 Feb 2021, 19:26

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#32 Post by Tirso » 03 Feb 2021, 20:45

I don't know where finding a recent release for ESP32.
Si someone can help...
Thanks

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#33 Post by TD-er » 03 Feb 2021, 20:58

Tirso wrote: 03 Feb 2021, 20:45 I don't know where finding a recent release for ESP32.
Si someone can help...
Thanks
See this post, a few posts above: viewtopic.php?p=50116#p50116

Tirso
New user
Posts: 5
Joined: 03 Feb 2021, 19:26

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#34 Post by Tirso » 04 Feb 2021, 20:06

Thanks for help.
I saw the previous post and I was in Github. But I have 2* ESP32 Lolin. I've found and flashed I can flashing ESPEasy32_R20100 and it works except for differents bugs as the "&" character that I can't use in rules.
I'm finding a good new flash but I'm not sure if I can use the releases on thais link for ESP32 LOLIN.
And sorry for my english.
Thanks again for helping.

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#35 Post by Ath » 04 Feb 2021, 20:10

Current ESPEasy builds for ESP32 are just as reliable and stable as the ESP8266 builds, so you can safely flash your Lolin ESP32's with a current release, as that's very much improved over that ancient release you're now using.

The guide for flashing an ESP32 via USB/Serial is here: https://espeasy.readthedocs.io/en/lates ... html#esp32
/Ton (PayPal.me)

Tirso
New user
Posts: 5
Joined: 03 Feb 2021, 19:26

Re: Weird interpretation of the &-Symbols in Rules / SendToHTTP not working

#36 Post by Tirso » 04 Feb 2021, 20:13

I think I've finally found it. I'm donwloading it.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 22 guests