A notification send by a device SolarEdge Status causes errors Failed to send Email notification!
However after 5 error an email is send properly. Also a test mail by the test button is working OK as well.
All 3 events use the same email configuration in Domoticz. Is there a difference in an email notification alert and errors send as notification?
Anybody has a clue?
The error log with status from the error mail and the test mail
Code: Select all
2024-06-16 18:34:57.586 Status: Notification: SolarEdge Status notification!
2024-06-16 18:35:07.596 Error: SMTP Mailer: Error sending Email to: <[email protected]> !
2024-06-16 18:35:07.596 Error: libcurl: (28)
2024-06-16 18:35:07.596 Error: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
2024-06-16 18:35:07.596
2024-06-16 18:35:07.596 Error: Failed to send Email notification!
2024-06-16 18:36:11.377 Error: SMTP Mailer: Error sending Email to: <[email protected]> !
2024-06-16 18:36:11.377 Error: libcurl: (28)
2024-06-16 18:36:11.377 Error: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
2024-06-16 18:36:11.377
2024-06-16 18:36:11.377 Error: Notification failed (Email)
2024-06-16 18:37:12.183 Status: Notification sent (Email)
2024-06-16 18:45:02.141 Status: Notification: Domoticz test
Code: Select all
return
{
on =
{
devices = { 'SE - Status'}
},
execute = function(domoticz, item)
if item.text ~= 'Sleeping' and item.text ~= 'Producing' then
domoticz.notify('SolarEdge Status notification!',
'SolarEdge Status is now: ' .. item.text,
domoticz.PRIORITY_HIGH)
end
end
}