DESCRIPTION FIELD Virtual Network Weather
Hello,
I would like to retrieve data from the Virtual Network Weather to use it in a rule ... The DESCRIPTION field containing CLOUDY, SHOWERS, etc ... interests me particularly. I would like to use it to authorize or not the watering of my lawn ...
It is present in the EVENTS of the Virtual Network Weather but ... I do not see in the rule editor the DESCRIPTION field associated with the WEATHER measurement sensor of the DESCRIPTION field ...
Is it the ICON or CLOUD_COVER field that contains the values SHOWERS or CLOUDY for example? Thank you Regards
in the API
[
{
"uuid": "3ae8dcd3-955e-4052-ab23-f6c6bb2dd5e0",
"value": {
"value": "12.0", TEMP_MIN 1 days forecast
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "166543d3-86f7-4db2-9d3d-1deff1c03f0c",
"value": {
"value": "21.0", TEMP_MAX 1 days forecast
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "7ad01416-c24d-46e0-bf5a-2738d5f24afc",
"value": {
"value": "60.8", ???????
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "06563238-35a3-4f96-90de-d1f13361f624",
"value": {
"value": "963", PRESSURE
"timestamp": "2021-04-26T16:02:37Z"
}
},
{
"uuid": "0d103a05-819d-4186-95a5-c01424397190",
"value": {
"value": "2021-04-26T15:00:00Z",
"timestamp": "2021-04-26T16:02:37Z"
}
},
{
"uuid": "f70fd290-c812-4603-a873-22ecca445452",
"value": {
"value": "7", WIND_SPEED
"timestamp": "2021-04-26T16:02:37Z"
}
},
{
"uuid": "1d4c830f-b856-4daa-a9eb-e8e5072d9e7c",
"value": {
"value": "Cloudy", DESCRIPTION
"timestamp": "2021-04-26T16:02:38Z"
}
},
{
"uuid": "0ac5db99-7085-4b0b-a8f6-d33b2378fa6f",
"value": {
"value": "57", HUMIDITY
"timestamp": "2021-04-26T16:02:37Z"
}
},
{
"uuid": "43b1335f-e45c-4b2d-8b6c-ce52778be71c",
"value": {
"value": "NE", WIND_DIRECTION
"timestamp": "2021-04-26T16:02:37Z"
}
},
{
"uuid": "e8f0df05-33f8-41b0-b627-6c3fbe527da3",
"value": {
"value": "20:43:41", SUNSET
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "bf9a5004-5f53-43cb-837b-a27b6876377c",
"value": {
"value": "06:36:41", SUNRISE
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "f2adbda8-2b70-4ea5-826b-6086c6fb1321",
"value": {
"value": "16.0", TEMPERATURE_C
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "97364f9e-7bd7-4a50-aefc-8abf44d27bef",
"value": {
"value": "11.0", TEMP_MIN 3 days forecast
"timestamp": "2021-04-26T16:22:45Z"
}
},
{
"uuid": "2fd6f559-6852-4f45-b98a-14c7cbdf5196",
"value": {
"value": "14.0", TEMP_MAX 3 days forecast
"timestamp": "2021-04-26T16:22:45Z"
}
},
{
"uuid": "b0aa6d6c-65ba-44bb-9ef0-f80358c026c7",
"value": {
"value": "11.0", TEMP_MIN 2 days forecast
"timestamp": "2021-04-26T16:22:42Z"
}
},
{
"uuid": "a28eee80-61db-4786-b27e-da2fbfa45ffd",
"value": {
"value": "17.0", TEMP_MAX 2 days forecast
"timestamp": "2021-04-26T16:22:42Z"
}
}
]
Greetings,
At the moment you cannot use the virtual weather station in a rule like you described because the system doesn't read the values from that attribute ("Rain", "Showers", etc) so the rule cannot be triggered. Part of the code for the weather widget has to be revised and that is on the to-do list but its not a high priority issue so it will take some time before its fixed.
Regards
Greetings,
At the moment you cannot use the virtual weather station in a rule like you described because the system doesn't read the values from that attribute ("Rain", "Showers", etc) so the rule cannot be triggered. Part of the code for the weather widget has to be revised and that is on the to-do list but its not a high priority issue so it will take some time before its fixed.
Regards
Replies have been locked on this page!