Http get request

Moderators: grovkillen, Stuntteam, TD-er

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

Re: Http get request

#11 Post by grovkillen » 29 Jan 2018, 20:51

And your rule?
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:

mr-varga
Normal user
Posts: 22
Joined: 29 Jan 2018, 18:41

Re: Http get request

#12 Post by mr-varga » 29 Jan 2018, 20:53

Is the one I have write before.
Attachments
sss.PNG
sss.PNG (26.51 KiB) Viewed 18879 times

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

Re: Http get request

#13 Post by grovkillen » 29 Jan 2018, 21:02

Have you really studied the wiki?

Especially this section :
https://www.letscontrolit.com/wiki/inde ... rial_Rules
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:

mr-varga
Normal user
Posts: 22
Joined: 29 Jan 2018, 18:41

Re: Http get request

#14 Post by mr-varga » 29 Jan 2018, 21:09

I try tom re read all the guide and try to understand...

mr-varga
Normal user
Posts: 22
Joined: 29 Jan 2018, 18:41

Re: Http get request

#15 Post by mr-varga » 30 Jan 2018, 15:26

I have partialy solved, but I still have one problem, on the dummy device I'am not able to assign name to the 3 an 4 value. Why??
Attachments
dddd.PNG
dddd.PNG (60.94 KiB) Viewed 18849 times

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Http get request

#16 Post by toffel969 » 30 Jan 2018, 16:45

mr-varga wrote: 30 Jan 2018, 15:26 I have partialy solved, but I still have one problem, on the dummy device I'am not able to assign name to the 3 an 4 value. Why??
There are different types of dummy device. You must chose something with quadruple value.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

mr-varga
Normal user
Posts: 22
Joined: 29 Jan 2018, 18:41

Re: Http get request

#17 Post by mr-varga » 30 Jan 2018, 18:02

toffel969 wrote: 30 Jan 2018, 16:45
mr-varga wrote: 30 Jan 2018, 15:26 I have partialy solved, but I still have one problem, on the dummy device I'am not able to assign name to the 3 an 4 value. Why??
There are different types of dummy device. You must chose something with quadruple value.
I have tried also with quad or triple bus the last two is no way to name it... Also if I create a new Dummy no one of the 4 value is nominable...

mr-varga
Normal user
Posts: 22
Joined: 29 Jan 2018, 18:41

Re: Http get request

#18 Post by mr-varga » 31 Jan 2018, 19:21

I have solve the issue with the firmware update. ;)

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Http get request

#19 Post by toffel969 » 01 Feb 2018, 12:38

mr-varga wrote: 29 Jan 2018, 20:42Now Yes....
Please post your entire rules
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Marko91
New user
Posts: 2
Joined: 24 Mar 2018, 19:17

Re: Http get request

#20 Post by Marko91 » 24 Mar 2018, 19:20

mr-varga wrote: 31 Jan 2018, 19:21 I have solve the issue with the firmware update. ;)
Hello, I've been trying to connect easayesp with WU for a long time ...
Please, could you publish your solution?

mr-varga
Normal user
Posts: 22
Joined: 29 Jan 2018, 18:41

Re: Http get request

#21 Post by mr-varga » 18 Apr 2018, 19:18

Dear all, sorry for the delay but I not have received the notification for the new post....
By the way, now all working correctly and this is my complete situation:
meteo.PNG
meteo.PNG (64.6 KiB) Viewed 18387 times
And this is the two rules I use to converting the value and send all to wu:
Rule 1
on T6H#Temperature do
TaskValueSet 4,1,[T6H#Temperature]*1.8+32
TaskValueSet,4,3,[T6H#Temperature]-(100-[T6H#Humidity])/5
TaskValueSet,4,4,([T6H#Temperature]-(100-[T6H#Humidity])/5)*1.8+32
endon

Rule2
on PR#Pressure do
if [PR#Pressure]>800
if [PR#Pressure]<1100
Publish %sysname%/PR/Pressure,[PR#Pressure]
TaskValueSet 4,2,[PR#Pressure]*0.0295301
SendToHTTP weatherstation.wunderground.com,80,/weatherstation/updateweatherstation.php?ID=XXXXX&PASSWORD=XXXXX&dateutc=now&tempf=[TF#TemperatureF]&humidity=[T6H#Humidity]&baromin=[TF#PressureI]&dewptf=[TF#Dewptf]&action=updateraw
endif
endif
endon

Now I have another problem, but I have to made a new post for this.... See you in next post...

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: Http get request

#22 Post by danmero » 06 May 2018, 01:09

mr-varga wrote: 29 Jan 2018, 19:53 The firs think I have to do, is to create a Dummy Device who convert a °C in Fahrenheit, because the wu strung need Fahrenheit.
I create a Single DummyDevice with value called TemperatureF. In the rules I wrote this:
TaskValueSet 4,1,[T6H#Temperature]*9+32
No dummy or conversion required , just use the formula ( %value%*1.8+32 )on value to convert from C to F.
Next just post the value of device as is.

Regards,

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests