Daily Reminder and Message Rotator Tile Device - Possible Tweak?

Hi @thebearmay - I'm using both your Message Rotator Tile Device and Daily Reminder app. Message Rotator is used for a notification text tile on my dashboards and Daily Reminder is being used for a couple of sports schedules (World Superbike, MotoGP and Middlesbrough Football fixtures).

With Daily Reminder I'm using the 'optional switch to turn on' setting. The switch triggers a rule, that in turn puts the scheduled race/game onto my dashboard tile using Message Rotator Tile. By using both the device and app, this allows me to get all notifications and events rotating on the same tile.

I've got an issue with 'null' being displayed. I occasionally get these anyway but a sure fire way to get one, is when I have multiple events in Daily Reminder on the same day. For instance today there's both a World Superbike and MotoGP meeting and so a switch in each of the Daily Reminder instances triggered its rule at 00:00 to put the text on the Message Rotator Tile Device. I think the 'null' occurs due to both happening at the same time...

I wondered whether there was a way of getting the code to add some random number of seconds to the 'optional switch to turn on' in the Daily Reminder app, as I think that would reduce a lot of the 'null' events I get in Message Rotator Tile? I realise my setup might be a bit niche.

Been a while since I looked at this code. I changed it to use a single threaded model to force collisions to queue up instead of trying to update simultaneously - v0.0.8

1 Like

Ahh thanks - I've just checked the code and it looks as though I'm still on 0.0.7 for the Message Rotator Tile Device with Daily Reminder on 0.1.2. I'll update the device driver. I do have it in Hubitat Package Manager but it's not seeing an update so I'll try it manually.

It sometimes takes HPM or Github a few minutes to make the update available. Try doing a repair.

I've just this moment got the revised code and pasted it from your GitHub but will try the repair if ever that happens again, thanks.

1 Like

@thebearmay - I've had the 'null' occur again today in Message Rotator... Initially I thought it was due to two Daily Reminder instances triggering their respective virtual switches and then my individual RM rules at the same time. My setup works like this:

  • Daily reminder instance per sports schedule using 'optional switch to turn on'
  • Virtual switch per sports schedule (turned on by above option)
  • Each Virtual Switch triggers its own RM Rule to populate the Message Rotator device via a hub variable.

I decided to add a small delay in the RM rule to avoid a clash....which is when I realised my dumb ■■■ mistake! One of my RM rules was referencing a non existant hub variable - %Racing% (it should've been %MotoGP%) and so the 'null' was visible in the RM actions. So it looks as though this was screwed up by me some time ago. I'll try adding a couple of clashing Daily Reminders with associated rules to whether that results in a 'null' or not.

1 Like

:joy: Been there a time or two (million) myself. Glad you found it.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.