DateTime Formatting Bug?

Richard,

I’m currently writing this in the message section of a standard vera alert notification: {DateTime(CurrentTime,%A %B %d, %Y at %H:%M)}
However, when I save the scene, run it, it says this, literally: {DateTime(CurrentTime, f i, d at m:>)}

When I go back in and check the scene, it looks like: {DateTime(CurrentTime, f i, d at m:>)}

{DateTime(CurrentTime %H:%M)} turns into {DateTime(CurrentTime s:h)}

I am on firmware version 1.7.3015 with VeraPlus. The weirdest thing is that I have this working on another scene, but I’m too afraid to start editing it because I may be in the same boat after I tinker with it. This all started a few days ago when I removed a little bit of text from the alert and saved.

Any thoughts?

I updated to the latest firmware. Still have the same issue. Now when I go to create a new scene with this DateTime format string in it, they don’t even show up on the scenes tab.

When I entered this into a vera alert notification: {tone:2}{BGColor:Green}Welcome home, Nathaniel. The local time is {DateTime(CurrentTime %H)}

This is what I got when I tailed /var/log/cmh/LuaUPnP.log:

01 02/27/18 19:49:14.100 sbrk JobHandler_LuaUPnP::HandleActionRequest Problem with getnameinfo <0x77285520>
08 02/27/18 19:49:14.101 JobHandler_LuaUPnP::HandleActionRequest device: 43 service: urn:richardgreen:serviceId:VeraAlert1 action: SendAlert <0x77285520>
08 02/27/18 19:49:14.101 JobHandler_LuaUPnP::HandleActionRequest argument Message={tone:2}{BGColor:Green}Welcome home, Nathaniel. The local time is {DateTime(CurrentTime e)} <0x77285520>
08 02/27/18 19:49:14.101 JobHandler_LuaUPnP::HandleActionRequest argument Recipients=nathaniel <0x77285520>
08 02/27/18 19:49:14.102 JobHandler_LuaUPnP::HandleActionRequest argument HouseModeMask= <0x77285520>
06 02/27/18 19:49:14.453 Device_Variable::m_szValue_set device: 43 service: urn:richardgreen:serviceId:VeraAlert1 variable: LastMsgSent was: 19:46:41 Tue Feb 27 now: 19:49:14 Tue Feb 27 #hooks: 0 upnp: 0 skip: 0 v:0x12d3348/NONE duplicate:0 <0x77e36320>
04 02/27/18 19:49:14.465 <0x77e36320>

Richard, are you alive, buddy? Got any words of wisdom for me?

I entered your time strings into “Send Alert Now” from Vera Alerts … all worked as expected.

The Send now function it works fine, Richard. Try creating a scene with it.

Richard, try creating an actual scene with it. It works fine in the “Send Alert Now,” but not in scenes.

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules