Hi, just make a private chat with YOUR bot, not with botFather
Controversial posts made by bugsounet
-
RE: command will show the id
-
[MMM-GoogleAssistant] v5.3.0
- Coding BardMode (send translation to EXT-Bard and disply no GA result on screen)
- update: google-auth-library to v9.x
- Update stopCommand internal recipe: check only stopCommand in start of the query
- add noti: GA_BARD_MODE-ON/ GA_BARD_MODE-OFF
-
RE: Is webserver access mandatory to generate the token?
the main question is for me:
Is google is really sure ?
why so many data are inside your accountAfter that a says some post upper:
Google redirect for to the URI for humain reading (with an HTTPS server)
It send for exemple: [https://googleassistant.bugsounet.fr/?code=my very secret code&scope=https://www.googleapis.com/auth/assistant-sdk-prototype]
My server read the link and search the part namedcode=
and display the code found.HTML Code is there:
<html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="config.css" /> <title>@bugsounet Consent OAuth screen ~ Code Reader</title> <script type="text/javascript"> function getParameterByName(name) { url = window.location.href; name = name.replace(/[\[\]]/g, "\\$&"); var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"); var results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, " ")); } document.addEventListener("DOMContentLoaded", function(event) { var code = getParameterByName('code'); var scope = getParameterByName('scope'); var scopeURLs = [ "https://www.googleapis.com/auth/assistant-sdk-prototype", "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/photoslibrary https://www.googleapis.com/auth/photoslibrary.sharing", "https://www.googleapis.com/auth/photoslibrary.sharing https://www.googleapis.com/auth/photoslibrary" ] var request= document.getElementById('request') if (code && scopeURLs.indexOf(scope) > -1) { request.style.display = "none"; document.getElementById('code').innerHTML= "Your code:<br>" + code; } }); </script> </head> <body> <div class="text"> <h1><img class="google_icon" src="google.gif" >Consent OAuth screen</h1> <div> <h2><img class="logo" src="logo.png" ></h2> </div> <div class="backgroundform" id= "request"> <div id= "uri"></div> <div> <p>NO CODE FOUND!<br> </div> <div> <p><br>Oupps, an error was happen.<br>We can't determinate your code.</p> </div> <div> <p>You can get support in <a class="link" href="https://forum.bugsounet.fr">4th Party modules</a></p> </div> </div> <div class="returncode" id="code"></div> </div> <footer class="footer"> <p>Designed by @2hdlockness ~ ©bugsounet.fr 2022 ~</p> </footer> </body> </html>
After, if you want really the source code, I can create a repo with it
Or… just copy the index file from the source with this command:
wget https://googleassistant.bugsounet.fr/index.html
and edit/view the code of
index.html
-
RE: Hide/Show Recipe
@Anthony :
just add a timer
From my Hide/show recipe, I add a timer un “show_clock” block
"show_clock": { moduleExec: { module: () => { MM.getModules().enumerate((m)=> { if (m.name == "clock") { m.show(1000, {lockString: "RECIPE_LOCKED"}) setTimeout(() => { m.hide(1000, {lockString: "RECIPE_LOCKED"}) }, 1000 * 15) } }) } },
Note: with
1000 * 15
value, I have set 15sec for hide the module -
RE: Aide-moi EXT-Browser posted in EXT-Browser
-
RE: [Solved] Token Problem [Google Server Problem]
euh … @adem, if you don’t want to read … don’t post thx
In all case, I just update the new wiki for set up credentials.
I make a temp design, and waiting for @2hdlockness (don’t worry ! no stress !)Tell me, if it’s better now
-
RE: MMM-Keyboard
Hi, best way is open an issue in github developer module repository
-
RE: Raspberry pi camera module 3 capture error
Hi, no other idea for this
I haven’t any pi camera module 3 for testing -
RE: Voice control in the bathroom poor
Note: you can test the mic volume control directly with Gateway app (
EXT-Volume
needed) -
RE: webcam capture error
It’s not that i want …
enable debug mode and tell me the list of devicesomething like this:
[19.12.2022 23:27.12.962] [LOG] [SELFIES] Searching camera devices... [19.12.2022 23:27.12.975] [LOG] [SELFIES] Detected devices: [ '/dev/video0', '/dev/video1', '/dev/video10', '/dev/video11', '/dev/video12', '/dev/video13', '/dev/video14', '/dev/video15', '/dev/video16', '/dev/video18', '/dev/video19', '/dev/video20', '/dev/video21', '/dev/video22', '/dev/video23', '/dev/video31' ]