Fix confirmed and pushed to the repository. Thanks all for your help with finding/testing this.
Read the statement by Michael Teeuw here.
Posts made by nimasmi
-
RE: MMM-repeating-schedule
-
RE: MMM-repeating-schedule
Pleased to hear it. I’ll check independently, and update the repo when I can.
-
RE: MMM-repeating-schedule
@shashank I noted a difference in the name of the module at https://github.com/nimasmi/MMM-repeating-schedule/blob/master/MMM-repeating-schedule.js. In the JS code it’s
MMM-weekly-schedule
compared to in the README, where it’sMMM-repeating-schedule
. I haven’t had chance to test properly whether it is fixed by making these references consistent.The discrepancy is due to a last-minute name change before first posting here, in order to better to communicate the purpose of the module. I don’t have an actual magic mirror, and haven’t used this module since first writing it, so apologies for the oversight. I’ll update and feed back when I can.
-
RE: MMM-repeating-schedule
@lucallmon, there’s a screenshot at https://github.com/nimasmi/MMM-repeating-schedule
I should say though that this is definitely aimed at repeating events, such as a weekly schedule of clubs, meals, local recycling days or regular meetings, rather than one-off calendar events. Namely the sort of thing that you might not put in a calendar, because it would clutter up your usual view of special events.
-
RE: MMM-repeating-schedule
@strawberry-3.141’s format is correct. My file looks like this:
var weekOne = [ 'Jacket Potato with cheese or Tuna Mayonnaise (V) or Margherita Pizza (V)<br />Sweetcorn, Spaghetti Rings<br />Raspberry Iced Smoothie', 'Pork (or vegetarian) Sausages with Mashed Potato<br />Mixed Seasonal Vegetables<br />Chocolate Sponge with Pears & Custard', 'Roast Chicken (or Quorn)<br />Yorshire Pudding, Roast Potatoes & Gravy<br />Melting Moments', 'Beef Spahgetti Bolognaise or Vegetarian Bolognese<br />Garlic Bread, Green Beans, Sweetcorn<br />Fruit Cheesecake', 'Breaded Fish or Pink Salmon Nuggets with Chips, or Pasta or Mixed Bean Korma with Rice (V)<br />Baked Beans, Peas<br />Strawberry Jelly with Peach Slices' ]; var weekTwo = [ 'Ham & Cheese Pizza or Margherita Pizza (V)<br />Sweetcorn, Baked Beans<br />Oaty Apple Crumble with Custard', 'Beef Meatballs or Veggie Meatballs (V)<br />Freshly-made Tomato Sauce or Rich Tasty Gravy, Pasta or Rice, Mixed Broccoli & Cauliflower<br />Orange Cake', 'Roast Pork (or Quorn)<br />Yorkshire Pudding, Roast Potates & Gravy, Green Beans, Carrots<br />Shortbread Biscuit with Orange Wedge', 'Cheese Whirl with New Potatoes or Jacket Potato with Baked Beans or Tuna Mayonnaise<br />Broccoli, Sweetcorn<br />Sticky Ginger Cake with Custard', 'Battered Fish Fillet with Chips or Pasta or Chille con Veggie with Rice or Chips<br />Baked Beans, Peas<br />Chocolate Ice Cream', ]; var weekThree = [ 'Pepperoni Pizza or Margherita Pizza<br />Baked Beans, Sweetcorn<br />Strawberry Mousse', 'Pasta with Tomato Sauce or Macaroni Cheese<br />Mixed Seasonal Vegetables<br />Sticky Cake with Custard', 'Roast Chicken (or Quorn)<br />Yorkshire Pudding, Roast Potatoes & Gravy, Savoy Cabbage, Carrots<br />Banana Cake', 'Chicken & Sweetcorn Pie with New Potatoes or Potato-Topped Vegetarian Pie<br />Broccoli, Peas<br />Cheese & Crackers with Apple Wedge or Mixed Grapes', 'Fish Fingers or Veggie Sausage Roll<br />Chips or Pasta, Sweetcorn, Baked Beans<br />Chocolate Crispy Cake', ]; var config = { port: 8080,
etc.
Your code example that you say doesn’t work uses curly quotes, which are not valid characters for JS code (they are valid in strings, but not to demarcate a string literal). It may be just an artefact of the way you’ve cut and pasted your code example here. Nonetheless, ensure your config.js file uses straight single and double inverted commas.
-
MMM-repeating-schedule
I’ve made a module, https://github.com/nimasmi/MMM-repeating-schedule. The README gives more details, and a lengthier rationale, but the main aim is to make it possible to show a calendar-like display of events, but without the faff of configuring a repeating event through Google Calendar.
I made it to show my kids’ school dinner menus.
Comments welcome.