• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pushover unformatted timestamp
#1
Hi,

when I try to put the time stamp into an messsage in a pushover action I just get it as text (DATE_FORMAT(date-time, %c)). Doing the same with mailing I get the correct time stamp. So ist it a bug or does the syntax differ?

Code:
"mail-on": {
    "rule": "IF PCPing.state IS connected THEN pushover TITLE PC is online! MESSAGE PC is online since DATE_FORMAT(date-time, %c)! TOKEN 123456 USER 123456",
    "active": 1
    },
"mail-off": {
    "rule": "IF PCPing.state IS disconnected THEN sendmail TO post@box.net SUBJECT PC is offline since DATE_FORMAT(date-time, %c) MESSAGE .",
    "active": 1
    },
 
Reply
#2
Fixed in latest development code.
 
Reply
#3
Thank you.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Pushover no longer working Alex 6 753 07-09-2018, 06:25 AM
Last Post: curlymo
  action: pushover Niek 36 16,635 12-03-2017, 11:13 AM
Last Post: Alex

Forum Jump:


Browsing: 1 Guest(s)