-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial prompt gives an error #2
Comments
I found the problem. There seems to be a plus sign after the last initialprompt that shouldnt be there |
Thank you for noticing that! I fixed the plus sign. You can work around the weather puffin loading slower by using the initialDelay :) |
Thanks. |
The module uses JS DOM function to find the information in the document (the magicmorror content that is displayed): |
I just want to to mention one more important thing. I was having issues
recently where nothing was showing up and when I checked my api I was being
charged lots of usage. I found the error was a time out but it wasn't a
time out on open AI end but a timeout in the module. I increased the
timeout value and it fixed the issue.
…On Sun, Dec 10, 2023, 4:47 PM Imanuel ***@***.***> wrote:
The module uses JS DOM function to find the information in the document
(the magicmorror content that is displayed):
document.querySelectorAll('.clock')[0].innerText searches for the first
element that has the class clock and returns its text content.
I can not help you with your calendar, but if you know basic HTML
structure and query selectors (think CSS selectors), you can work it out
yourself using the developer tools of your browser (F12, usually).
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANK6QZEDPRGFUIE7EFBJ54TYIYUWRAVCNFSM6AAAAABAB42BB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGA4TMMZVHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ive added your sample code and added my API
My magic mirror wont start and If I look at the developing mode it says there are error codes with the initial prompt
If I comment out the initial prompt the module will work but I'm assuming it doesnt know the actual time and weather
any idea why this would be happening
The text was updated successfully, but these errors were encountered: