Temp works fine.
ESPEasy doesn't send the right JSON yet.
To make it work with ESPEasy, disable the Send to controller for the specific device and;
add a rule in ESPEasy like the following:
Code: Select all
On System#Boot do //When the ESP boots, do
timerSet,1,240 //Set Timer 1 for the next event in 240 seconds
endon
On Rules#Timer=1 do
SendToHTTP,192.168.1.80,8080,/json.htm?type=command¶m=udevice&idx=69&nvalue=0&svalue=[Barometer#Temperature];[Barometer#Pressure];BAR_FOR;ALTITUDE
timerSet,1,240 //Resets the Timer 1 for another 240 seconds
endon
-- Comment: Where Barometer is the name of the device and #Temperature and #Pressure are the valuenames
-- Above will send updates every 4 minutes, hench the timer set
Temperature/barometer
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=TEMP;BAR;BAR_FOR;ALTITUDE
The above sets the parameters for a Temp+Humidity+Barometer device
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
TEMP = Temperature
BAR = Barometric pressure
BAR_FOR = Barometer forecast
ALTITUDE= Not used at the moment, can be 0
Barometer forecast can be one of:
0 = No Info
1 = Sunny
2 = Paryly Cloudy
3 = Cloudy
4 = Rain