Hello, I am newbie trying to do that when the weather of the plugin (Wunderground Weather Plugin) corresponds with any of the listed send a message to eventgosht but does not work, it gives me error when I test the script
local t = luup.variable_get(“urn:upnp-micasaverde-com:serviceId:Weather1”, “ConditionGroup”, 7)
if (t == “rain”)
then
local status, result = luup.inet.wget(“http://192.168.0.1:80/?TEST1”, 5) (Send me the message TEST1 to eventgosht, if i try alone works perfectly)
else
local status, result = luup.inet.wget(“http://192.168.0.1:80/?TEST2”, 5) (Send me the message TEST2 to eventgosht, if i try alone works perfectly)
end
Sorry for my bad english XD
Thanks!!!