Aller au contenu

Messages recommandés

Posté(e)

Bonsoir

J'aurais souhaité savoir si l'un de vous aurez dans ses mallettes un VD capable de remonter l'éphéméride?

Si oui, vous serait il possible de partager le code LUA ou le VD?

 

Merci d'avance

Posté(e)

5799282402.png

 

C'est pas super optimisé mais cela fait le travail.

 

Voici le code du Main Loop

 

if (not ephemeris) then
  ephemeris = {
      [1] = {"Jour de l''An","Basile","Geneviève","Odilon","Edouard","Mélaine","Raymond","Lucien","Alix","Guillaume","Pauline","Tatiana","Yvette","Nina","Rémi","Marcel","Roseline","Prisca","Marius","Sébastien","Agnès","Vincent","Barnard","François de Sales","Conversion de Paul","Paule","Angèle","Thomas d''Aquin","Gildas","Martine","Marcelle"},
      [2] = {"Ella","Fête de la Présention","Blaise","Véronique","Agathe","Gaston","Eugènie","Jacqueline","Apolline","Arnaud","Notre Dame de Lourdes","Félix","Béatrice","Valentin","Claude","Julienne","Alexis","Bernadette","Gabin","Aimée","Mercredi des Cendres","Isabelle","Lazare","Modeste","Roméo","Nestor","Honorine","Romain","Auguste"},
      [3] = {"Aubin","Charles le Bon","Guénolé","Casimir","Olive","Colette","Félicité","Jean de Dieu","Françoise","Vivien","Rosine","Justine","Rodrigue","Mathilde","Louise","Bénédicte","Patrice","Cyrille","Joseph","Herbert","Clémence","Léa","Victorien","Karine","Anne","Larissa","Habib","Gontran","Gwladys","Amédée","Benjamin"},
      [4] = {"Hugues","Sandrine","Richard","Isidore","Irène","Marcellin","Jean-Baptiste de la Salle","Julie","Gautier","Fulbert","Stanislas","Jules","Ida","Maxime","Paterne","Benoît-Joseph","Anicet","Parfait","Emma","Odette","Anselme","Alexandre","Georges","Fidèle","Marc","Alida","Zita","Valérie","Catherine de Sienne","Robert"},
      [5] = {"Fête du travail","Boris","Philippe","Sylvain","Judith","Prudence","Gisèle","Armistice de 1945","Pacôme","Solange","Estelle","Achille","Rolande","Matthias","Denise","Honoré","Pascal","Eric","Yves","Bernardin","Constantin","Emile","Didier","Donatien","Sophie","Bérenger","Augustin","Germain","Aymar","Ferdinand","Ferdinand"},
      [6] = {"Justin","Blandine","Kévin","Clotilde","Igor","Norbert","Gilbert","Médard","Diane","Landry","Barnabé","Guy","Antoine de Padoue","Elisée","Germaine","Jean-François Régis","Hervé","Léonce","Romuald","Silvère","Solstice d''été","Alban","Audrey","Jean-Baptiste","Prosper","Anthelme","Fernand","Irénée","Pierre","Martial"},
      [7] = {"Thierry","Martinien","Thomas","Florent","Antoine","Mariette","Raoul","Thibault","Amandine","Ulrich","Benoît","Olivier","Henri","Fête Nationale","Donald","Fête de Notre Dame du Mont Carmel","Charlotte","Frédéric","Arsène","Marina","Victor","Marie-Madeleine","Brigitte","Christine","Jacques","Anne","Nathalie","Samson","Marthe","Juliette","Ignace de Loyola"},
      [8] = {"Alphonse","Julien Eymard","Lydie","Jean-Marie Vianney","Abel","Fête de la Transfiguration","Gaétan","Dominique","Amour","Laurent","Claire","Clarisse","Hippolyte","Evrard","Fête de l''Assomption","Armel","Hyacinthe","Hélène","Jean-Eudes","Bernard","Christophe","Fabrice","Rose de Lima","Barthélémy","Louis","Natacha","Monique","Augustin","Sabine","Fiacre","Aristide"},
      [9] = {"Gilles","Ingrid","Grégoire","Rosalie","Raïssa","Bertrand","Reine", "Sao,te","Fête de la Nativité","Alain","Inès","Adelphe","Apollinaire","Aimé","Fête de la Croix Glorieuse","Roland","Edith","Renaud","Nadège","Emilie","Davy","Matthieu","Maurice","Equinoxe d''Automne","Thècle","Hermann","Côme","Vincent de Paul","Venceslas","Michel","Jérôme"},
      [10] = {"Thérèse de l''Enfant Jésus","Léger","Gérard","François d''Assise","Fleur","Bruno","Serge","Pélagie","Denis","Ghislain","Firmin","Wilfried","Géraud","Juste","Thérèse d''Avila","Edwige","Baudoin","Luc","René","Adeline","Céline","Elodie","Jean de Capistran","Florentin","Crépin","Dimitri","Emeline","Jude","Narcisse","Bienvenue","Quentin"},
      [11] = {"Toussaint","Fête des défunts","Hubert","Charles","Sylvie","Bertille","Carine","Geoffroy","Théodore","Léon","Armistice de 1918","Christian","Brice","Sidoine","Albert","Marguerite","Elisabeth","Aude","Tanguy","Edmond","Présence de Marie","Cécile","Clément","Flora","Catherine","Delphine","Sévrin","Jacques de la Marche","Saturnin","André"},
      [12] = {"Florence","Viviane","François-Xavier","Barbara","Gérald","Nicolas","Ambroise","Fête de l''Immaculée Conception","Pierre Fourier","Romaric","Daniel","Jeanne-Françoise de Chantal","Lucie","Odile","Ninon","Alice","Gaël","Gatien","Urbain","Théophile","Solstice d''Hiver","Françoise-Xavière","Armand","Adèle","Noël","Etienne","Jean","Innocents","David","Roger","Sylvestre"}
  }
end
local m, j = string.match(os.date("%m %d"), "(%d+) (%d+)")
fibaro:call(fibaro:getSelfId(), "setProperty", "ui.ephemeride.value", ephemeris[tonumber(m)][tonumber(j)])

 

Ephéméride.vfib

  • Like 1
  • Upvote 4
  • 9 mois après...
×
×
  • Créer...