I’m working around for v4

Best posts made by bugsounet
-
2023 Planning !
Hi, since now 3 days. i have some new plan !
last year, you have discover
MMM-GoogleAssistant
v4,Gateway
and EXTsIn 2023:
Better way, i think, Is working with Google
I have planed to code (with google ?):- an real MM³ device with control with any google assistant [under Coding: EXT-SmartHome]
- real cast device [with google helping]: youtube, netflix, windows desktop, , amazon …
- all others google service what i can add
Close or send some modules that I have don’t many time to maintened !
- MMM-Weather
- MMM-Pronote
- MMM-XBox
- MMM-AirParif
- MMM-FranceInfo
- MMM-Ecowatt
- MMM-Freebox
- MMM-FreeBox4G
- MMM-Netatmo-Thermostat
- MMM-NewsFeed
- MMM-PrixCarburants
- MMM-Saint
- MMM-Shom
- MMM-SpeedTest
- MMM-Tools
MMM-TelegramBot will be embed as an EXT
Yes… You have read !
@bugousnet will code exclusively with Google in 2023 for MM² -
Gateway v2 is scheduled to be released on 2022-06-01
Hi guys,
I have some good news for you
I’m really like you… I lazy for update … I’m lazy for configure too
For auto updating modules and plugins, yeah I have coded
EXT-UpdateNotification
!
But I have not coded something for configure kindly your EXT pluginsIt will be solved soon will
Gateway
v2 !Gateway will be able to install and configure your EXT plugins !
Kindly ? how ?
You don’t have to connect to your pi !
Gateway v2 will have an web app for doing job !
This web app will be reachable from all device from your local network
So Gateway will be available from an http link
Naturally, it will be protect with an username and passwordThis app will detect:
- actual MM config
- actual EXT plugins installed (in MM)
- actual EXT plugins configured (in config)
I have planned this:
- [Done] create an entire module config (module, position, disabled, configDeepMerge, config)
- [Done] make a real interface to configure it !
- [Done] make description of all features !
- [Done] install EXT plugin need with an (fake) terminal callback
- [Done] save new config to MagicMirror (with old config saving)
- [Done] modify config of an EXT
- [Done] restart your mirror
- [95% Done] add multi-language
Add callback for EXT-Alert (login/ bad login)will not be coded- [Done] add nologin feature
- [Done] manage config of Gateway with setting
- [Done] move all callbacks (error/success) to top navbar
- make an safe app to load last best conf?
- [Done] finish to Code all EXT schema/template
- code some post install needed for EXT
- [Done] check if webwiew code is enabled in MM Config
You want to follow my job ?
Try the
Gateway v2 branch
for beta testing (during coding !)cd ~/MagicMirror/modules/Gateway git checkout -f v2 npm run update
follow the link offer in console, something like this:
[23.04.2022 12:09.52.198] [LOG] [GATEWAY] Start listening on http://192.168.0.167:8081
default login and password:
admin
You want to quit this version and go to master branch:
cd ~/MagicMirror/modules/Gateway git checkout -f master npm run update
Notes:
- Tell me what do you think about this
- Any help is welcome !
- There is an nighlty build (everyday ?)
config: (since rev 22/05/07)
{ module: "Gateway", config : { debug: false, // debug mode ? port: 8081, // connecting port for HTML username: "admin", // your username for connecting password: "admin", // your prefered password usePM2: false, // if you use pm2 app for start MagicMirror set it to `true` ! PM2Id: 0 // ID of the pm2 app [ `pm2 status` can help to define it ] } },
It can be changed directly in the app !
Update:
use
npm run update
inGateway
directory
Naturally if you useEXT-UpdateNotification
: You have nothing to do, It’s automatic ! -
EXT-Pages coding
Hi,
I think, you know
MMM-pages
andMMM-page-indicator
I purpose to edward-shen to maintened his module because it’s actually abandonned.
Purpose conditions are not really good for me and not in accord tobugsounet coding
.I decide to import this projects and refresh/recoding with new cool feature
In some days, you will discover this new version
Wait and see!
-
RE: [Coded for GA v4] Google assistant need permission.
Confirmed:
It will be fixed on v4
-
Just test:
show photos
,add calendar event
,add to shopping list
-
Not working: no spotify link on natural search,
-
Not really wotking: sometime natural seach have some youtube links
-
Works: home automation
Can’t do better actually
-
-
RE: Please be thoughtful and grateful,
Good evening, guys, I’m glad to see that you have the same point of view as me.
Indeed, ‘I try’ to solve the problems encountered and it is not obvious
Also tell you that I have my main job and coding is just a hobby
I have slowly put in place “effective” tools that allow me to “solve” most of the problems
If I did it is indeed for you because the endless command lines are not obvious for most users
so I creatednpm run ...
commands.Regarding the donation, it makes the server live (and not myself!)
It’s always nice to receive a few € in reward for the work doneIn all cases,
Happy use to you!
@bugsounet -
RE: Gateway v2 is scheduled to be released on 2022-06-01
2022/05/13:
- Done: schema validation and translate of all plugins
- Fix: EXT-Detector model rules (initial / modify config)
2022/05/12:
- Add: 2 new button in EXT config modification:
- Reload default config
- Merge default config with actual config
- Add: translate/ add/ update schema validation of
- EXT-GooglePhotos
- EXT-Governor
- EXT-Internet
- EXT-Librespot
- EXT-MusicPlayer
- EXT-Photos
- EXT-Pir
- EXT-RadioPlayer
- EXT-Screen
- EXT-ScreenManager
- EXT-Spotify
- EXT-UpdateNotification (needed review)
-
RE: EXT-Pages coding
What’s Planned ?
- Review
edward-shen
code and correct some bug - Merge page indicator
- add new feature for animate In/Out module
- Full Integrate to
Gateway
What’s is done Actually:
- Major bug corrected
- page indicator Merged
- Forced Animated In/Out on all modules for testing (it’s really impressive !!!)
Video of this result part of code
Notes:
- It’s still some bugs… it’s the result of original mmm-pages module so I will apply some new rules
- Animation are forced but we can define it in config for each modules
- Review
-
RE: [Coded for GA v4] Google assistant need permission.
@bmachina : naturally yes
GA v4 will be coded for all RPI
-
RE: [Coded for GA v4] Google assistant need permission.
Just finish to code it for GA v4
this new part of code will create a device in Google Home app (
Jarvis
)
the first time GA v4 will ask permission, so you will have to open your phone and enter the device name =>Jarvis
and allow personal result and it’s done -
RE: Is webserver access mandatory to generate the token?
Note: I will try to create Tokens directly with Gateway app without the “googleassistant” website soon
-
EXT-Volume v2
Hi, I just pushed
EXT-Volume
v2What’s new:
- configuration is now simplified
- used
pulse
audio for volume control - add Recorder (Mic) volume control
- add
/record
command in TelegramBot - prefered mic level and speaker sound level is now set at boot of MM² (needed Gateway)
for more information read wiki
-
RE: EXT-Pages coding
rev: 221010 is launch in dev
What’s new:
- Now all notification start
EXT_
- correct and check is value is an number (or string number or Array number accepted)
EXT_PAGES-CHANGED
can accept no value (aska no param) to go in page 0- check if value of
EXT_PAGES-CHANGED
is not < 0 or > of total pages number - Correct TB pages function for checking total pages number
- Add
EXT-Alert
notification for displaying any error - Send out going notification
EXT-PAGES_NUMBER_IS
on each new page displayed with object{ Actual: <actual page>, Total: <total pages> }
- Send
Hello
to Gateway (mark asEXT-Pages
is installed and ready to use) [But need to code Gateway now !!!) - Update ReadMe
Know bugs:
@bugsounet(sorry)
- if you use
EXT-Screen
and/orEXT-Gateway
: rotating page will continue on screen off and display all/full/not needed modules on screen on
-> will be solved withGateway
soon
-> I will stop rotating on screen off
-> restart rotating on screen on - Some important module can not be open automaticaly on module position (EXT-YouTube, EXT-Spotify, EXT-YouTubeCast, …)
-> Not affect Fullscreen modules displaying, only if you use an MagicMirror Position !
-> will be solved withGateway
-> we will usehiddenPages
feature ofEXT-Pages
and GW will call it
Let’s Code
Gateway
, for correct some bug
After I will see what happen and maybe i have to recode some part ofEXT-Pages
[Yes… I search the perfect things !!!]
- Now all notification start
-
RE: MMM-telegramBot - not allowed to command
??? allowedUser : [‘Jstal_bot’], // This is NOT the username of bot. <---- it’s YOUR username ! (and NOT your Nickname …)
-
RE: Encouragement , Motivation , Félicitions @bugsounet
Just updated MMM-Tools:
Oh! An RPI 4 @2.2 Ghz
-
RE: [Google][Can't Be Solved] Male voice google assistant french users
oui, effectivement, j’ai entendu cela hier en testant un truc…
Merci de l’info !
-
RE: Control of mute (unmute) function via recipe not working
perfect !
Happy use,
@bugsounet -
RE: EXT-Pages coding
Yeah… All is now ready.
Last updates fix last issueI will retest all tomorrow and I publish it!
-
RE: /mychatid
ok, don’t forget to return to master branch !
cd ~/MagicMirror/modules/MMM-TelegramBot rm -rf package-lock.json node_modules/ && git checkout -f master && git pull && npm install
-
RE: Bonjour et merci...
[FR]
Salut Fab,
Merci pour le complimentTout a fait d’accord avec toi !
Comme tu as du voir mon post mais en restant calme…
Egalement, comme tu as remarqué, je ne répond plus a ce genre de post !
Et malheureusement si cela persiste, je fermerai le forum (ou inscription sur invitation uniquement)
[EN]
Hi Fab,
Thanks for the complimentI’m totaly agree with you !
I think that you have see my last post but i’m so kind
So, that why I NOT respond to this kind of topic and ignore it
And unfortunately if this persists, I will close the forum (or registration by invitation only)