@BKeyport : the structure of the token is not the same
The "E" in "Javascript" stands for "Easy"
is not always true ;/
@BKeyport : the structure of the token is not the same
The "E" in "Javascript" stands for "Easy"
is not always true ;/
Hi,
I haven’t noticed any issues creating tokens.
I don’t use the same method (mine is web app) and I use one credentials file (MMM-GoogleAssuistant credentials) for generate any token (Google Photo, Youtube, …)
This is my Terminal return:
bugsounet@PC-Bugsounet:~/MagicMirror/modules/EXT-GooglePhotos$ npm run token
> EXT-GooglePhotos@1.4.4 token
> installer/token.sh
Welcome to EXT-GooglePhotos Token generator!
Do you want to install/reinstall EXT-GooglePhotos token? [Y/n]
Your choice: y
[GPHOTOS] Check credentials.json...
[GPHOTOS] credentials.json found in /home/bugsounet/MagicMirror/modules/MMM-GoogleAssistant/credentials.json
[GPHOTOS] config: {
CREDENTIALS: '/home/bugsounet/MagicMirror/modules/MMM-GoogleAssistant/credentials.json',
TOKEN: '/home/bugsounet/MagicMirror/modules/EXT-GooglePhotos/tokenGP.json'
}
(node:3839) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[GPHOTOS:AUTH] Opening OAuth URL.
https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary.sharing&prompt=consent&response_type=code&client_id=XXXX&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr
Return here with your code.
> Paste your code: 4/0ATx3LY7fxmvgcDJ2qZrx...........
[GPHOTOS:AUTH] Token is refreshed.
[GPHOTOS] TokenGP is generated.
So I think author have to review his token generator
Hi,
The MMM-Pir
module is a module ported from several EXTs plugins of MMM-GoogleAssistant
Some features are not intentionally recoded inside and unfortunately this is one of them
I prefer to keep exclusives for MMM-GoogleAssistant
, sorry
Thank you however for your interest in MMM-Pir
Really, in photo it’s fine
But… in reality:
This Chinese product scares me!
If the hardware is bad: it would be theft :/
I have done, for my kitchen, the same (and functional) for ~200€ with 24 inch screen and pi5 !
Ce module permet d’afficher le prix des carburants des stations services.
Consultez MMM-PrixCarburants sur GitHub
ah sorry, so exec your code it when all modules are started.
with ALL_MODULES_STARTED
incoming system notification, you can send a notification to node_helper for exec your bash script
For execute it in node_helper, you can use exec
command of child_process
library
See:
node_helper
node_helper
tip: try to use gpiozero ;)
@Freddy_boy said in MMM-MyCalendar install problem:
[2024-05-03 16:05:14.891] [LOG] [MMM-Pir] [LIB] [SCREEN] See you soon !
[2024-05-03 16:05:14.893] [LOG] [MMM-Pir] [LIB] [SCREEN] @bugsounet
Really… I have to delete this…
In all case, I’m happy that’s resolved.
@JeffBuilds said in Screen doesn't turn off:
Pir Error Detected: EINVAL: invalid argument, write
Hi, Generally this error happen with Raspbian 12 (bookworm)
So you can use:
Note: By default bookworm
use wayland compositor
Freebox Testé:
Freebox Non Testé: