waaren wrote: ↑Monday 04 January 2021 22:03
rgroothuis wrote: ↑Monday 04 January 2021 21:31
I get the following error message in the Domoticz error log:
The message does arrive on the Telegram. Why do I get this error? And how can I resolve this?
- do you also see this message when sending a test message from the notification setting screen?
- and when you send domoticz.notify('test', 'test', domoticz.PRIORITY_HIGH) from you script?
- what is your domoticz version?
- when did you first noticed this error?
- were there any recent changes on your system / network
All good questions, let me answer them one by one.
When sending the test message I don't see that error message in the log file.
This is the code I used to send the Telegram notification message:
Code: Select all
local VoorDeurSlot = domoticz.devices('Voordeur Status')
local DateTimeEvent = os.date("%X %d/%m/%Y")
domoticz.notify(VoorDeurSlot.name, DateTimeEvent .. ": Front door status is now: \"" .. VoorDeurSlot.state .. "\".", domoticz.PRIORITY_HIGH)
The Domoticz version is 2020.2 from 26-04-2020, the stable version.
I didn't made any significant changes recently. Was playing the the priority level on the Telegram notify but that is all back to PRIORITY_HIGH now.
It is not always happening, not on all Telegram message. Only on some, but I've not discovered the differences yet, if there are any.
I just noticed the following error message in the log:
Code: Select all
2021-01-05 09:23:00.775 Error: HTTP: Internal Server Error
2021-01-05 10:02:00.742 Error: HTTP: Internal Server Error
I will do also a reboot of Domoticz, maybe that solves the problem.
Could it have something to do with the amount of Telegram messages sent in a short time interval?