microsoftToDo
-
oki pas de soucis merci quand meme
par contre je rencontre le meme soucis avec le module MMM-Newsfeed. j’ai refias une capture pour te montrer.
-
Pour MicrosoftToDo :
J’ai utilisé ce module par le passé, que dit le terminal ? As tu bien réalisé la procédure sous Azure ?
Enfin, je ne sais pas si tu y as fait attention mais dorénavant les services Azure sont en partie payant au bout de 12 mois :
https://learn.microsoft.com/fr-fr/azure/cost-management-billing/manage/create-free-servicesSi tu cherches un modules de ToDoList gratuit, je te conseille celui là : https://github.com/cbrooker/MMM-Todoist, après quelques ajustements (passage api en v9), il fonctionne bien chez moi.
-
Pour Newfeeds :
Le journal de l’inspecteur t’indique que le module a bien démarré, maintenant, peux tu nous faire une copie de ton config.js ? -
@diappollo
bonjour,
voila mon module{
module: “MMM-NewsFeed”,
position: “bottom_bar”,
configDeepMerge: true,
config: {
debug:false,
update: “15m”,
speed: “15s”,
maxItems: 150,
flux: [
{
from: “Le soir - Fil info”,
url: “https://www.lesoir.be/rss/81857/ledirect”,
},
{
from: “Le soir - La une”,
url: “https://www.lesoir.be/rss2/2/cible_principale”,
},
{
from: “Le soir - Société”,
url: “https://www.lesoir.be/rss2/31868/cible_principale”,
},
{
from: “Le soir - Monde”,
url: “https://www.lesoir.be/rss2/10/cible_principale”,
},
{
from: “Le soir - Culture”,
url: “https://www.lesoir.be/rss2/14/cible_principale”,
},
{
from: “Le soir - Média”,
url: “https://www.lesoir.be/rss2/31895/cible_principale”,
},
{
from: “Le soir - Techno”,
url: “https://www.lesoir.be/rss2/16/cible_principale”,
},
{
from: “iphonetweak”,
url: “http://feeds.feedburner.com/Iphonetweak”,
},
{
from: “iphosoft”,
url: “https://feeds.feedburner.com/iphonesoft”,
},
],
personalize: {
Name: “NewsFeed”,
NameField: true,
NameColor: “#FFF”,
NameBackground: “#414141”,
ArticleColor: “#000”,
ArticleBackground: “#AAA”,
DescriptionColor: “#000”,
DescriptionBackground: “#FFF”,
QRCode: true,
fontSize: “100%”
},
vertical: {
useVertical: false,
width: “450px”,
imageMaxWidth: “20vw”,
imageMaxHeight: “20vh”
}
}
},j’avais aussi installé le module microsoftToDo il y a un moment aussi et celui la fonctionnait jai repris les meme code et j’ai meem recommencer les tokens. je pense que je vais essayer le module que tu m’as conseiller. merci a toi !
-
Je ne vois ce module dans le log.
Uniquement newsFeed (default module) -
voila le log est la mais le module ne s’affiche pas lorsque je lance le magicmirror
-
en fait quand je lance npm start je vois plusieur erreur qui s’affiche.
022 20:22.00.597] [LOG] [FEED] MMM-NewsFeed Version: 1.2.0
[14.12.2022 20:22.00.598] [LOG] Sockets connected & modules started …
[14.12.2022 20:22.01.055] [LOG] Launching application.
[28832:1214/202218.930941:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[28832:1214/202227.967194:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[28832:1214/202230.780914:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[14.12.2022 20:22.32.413] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/flaviomarchione%40gmail.com/public/basic.ics - Interval: 300000
[14.12.2022 20:22.33.193] [LOG] [DETECTOR] All needed @bugsounet library loaded !
[14.12.2022 20:22.33.194] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[14.12.2022 20:22.33.211] [ERROR] (node:28798) UnhandledPromiseRejectionWarning: Error: Porcupine failed to initialize
at pvStatusToException (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/errors.js:40:13)
at new Porcupine (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/index.js:116:7)
at PORCUPINE.init (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:112:22)
at Class.initialize (/home/pi/MagicMirror/modules/EXT-Detector/node_helper.js:94:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
(Useelectron --trace-warnings ...
to show where the warning was created)
[14.12.2022 20:22.33.212] [ERROR] (node:28798) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)plus loin j’ai
079] [INFO] Checking git for module: EXT-Welcome
[14.12.2022 20:22.37.264] [LOG] [DETECTOR] Starts listening. 0 Models
[14.12.2022 20:22.37.268] [ERROR] (node:28798) UnhandledPromiseRejectionWarning: Error: Porcupine failed to initialize
at pvStatusToException (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/errors.js:40:13)
at new Porcupine (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@picovoice/porcupine-node/index.js:116:7)
at PORCUPINE.init (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:112:22)
at PORCUPINE.start (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/porcupine/index.js:117:37)
at Class.activate (/home/pi/MagicMirror/modules/EXT-Detector/node_helper.js:117:22)
at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/EXT-Detector/node_helper.js:38:33)
at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
at Socket.emit (node:events:390:28)
at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:465:39
at processTicksAndRejections (node:internal/process/task_queues:78:11)
[14.12.2022 20:22.37.269] [ERROR] (node:28798) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[14.12.2022 20:22.37.300] [INFO] Checking git for module: MMM-CalendarExt2
[14.12.2022 20:22.37.441] [INFO] Checking git for module: MMM-WeatherOrNot
[14.12.2022 20:22.37.764] [INFO] Checking git for module: MMM-Buienradar
[14.12.2022 20:22.38.143] [ERROR] (node:28798) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading ‘replace’)
at FeedMe.<anonymous> (/home/pi/MagicMirror/modules/MMM-NewsFeed/node_helper.js:109:41)
at FeedMe.emit (node:events:390:28) -
c’est corrigé
-
ca venait? pas de chez moi? est ce que je pourrais savoir ce qui n’allait pas par curiosité.
Merci a toi!!
-
[14.12.2022 20:22.38.143] [ERROR] (node:28798) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading ‘replace’)
at FeedMe.<anonymous> (/home/pi/MagicMirror/modules/MMM-NewsFeed/node_helper.js:109:41)l’erreur est situé a la ligne 109 de node_helper.js
cette ligne effectue une transformation de la description de l’article
a condition que : cette description existe… j’ai considéré qu’elle doit toujours exister… (ça me parait logique)
des fois il y a l’air qu’il sont féniassent … ils en mettent pas !
donc: on ne peux pas modifier quelque chose qui n’existe pas
donc crashj’ai donc check si il y a une description et mis une regle
-
oki super mais tu penses que je dois redermarrer le raspberry parce que meme apres avoir fait un pm2 stop et relancer je n’ai toujours l’affichage des news.