MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. axel
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Groups 0

    axel

    @axel

    0
    Reputation
    234
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    axel Unfollow Follow

    Latest posts made by axel

    • RE: MMM-OpenAI What is the callback for images ?

      @MMRIZE said in MMM-OpenAI What is the callback for images ?:

      stealth

      ok thanks , it works now.

      posted in Productivity
      A
      axel
    • MMM-OpenAI What is the callback for images ?

      Hi,
      i can send a notification for ‘text’ and i can see the result on the MM.
      But when i send a notification for ‘imag’ and see nothing on the MM.
      But in the log, i can read a good url :

      [28.02.2023 00:59.02.944] [LOG] {
      created: 1677542342,
      data: [
      {
      url: ‘https://oaidalleapiprodscus.blob.core.windows.net/private/org-OMCKXueMYUmh0Sfdw9Odv0BZ/user-5523u5PxqhU1MaCbOrTW9at9/img-xr2UymCnLxsvAQJjj5YJug0E.png?st=2023-02-27T22%3A59%3A02Z&se=2023-02-28T00%3A59%3A02Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-02-27T21%3A40%3A28Z&ske=2023-02-28T21%3A40%3A28Z&sks=b&skv=2021-08-06&sig=mKPs1iAPHXtj/7n5NJsmCeL6K56OFT%2BryfwWoria8pI%3D’
      }
      ]
      }

      Here is my code ( i don’t know what to put in the callback !!!??) :

      this.sendNotification('OPENAI_REQUEST', {
                          method: 'IMAGE',
                          request: {
                            prompt: params[1],    //'A photo of a bear enjoying honey.',
                            response_format: 'url'
                          },
                          stealth: true//,
                          /*callback: (response) => {
                            if (response) this.doSomething(response)
                          }*/
                        })
      
      posted in Productivity
      A
      axel
    • RE: HELP to use a cam with MM PLEASE

      @sdetweil
      i did it before 😉

      posted in Troubleshooting
      A
      axel
    • RE: HELP to use a cam with MM PLEASE

      @bhepler
      Ok i can run manually the script.
      and now?
      😉

      posted in Troubleshooting
      A
      axel
    • RE: HELP to use a cam with MM PLEASE

      @bhepler
      i did it but the status is not online but stopped. After a moment, the status changed To errored!! Help please…

      posted in Troubleshooting
      A
      axel
    • RE: HELP to use a cam with MM PLEASE

      @shbatm
      it works well but now i tried To start mjpg on boot in vain. I used the crontab but how To write it with the options??

      posted in Troubleshooting
      A
      axel
    • RE: HELP to use a cam with MM PLEASE

      @shbatm
      i try to use mjpg_streamer :
      $ mjpg_streamer -o “output_http.so -w ./www” -i “input_uvc.so -f 1 -q 75 -y”

      but i have this error : bind:Address already in use.
      also : Innappropriate ioctl for device (25)

      help!

      posted in Troubleshooting
      A
      axel
    • RE: HELP to use a cam with MM PLEASE

      thank toi guys for your answers but what i want is to see my usb cam in live on the mirror! is there a module for that please?

      posted in Troubleshooting
      A
      axel
    • HELP to use a cam with MM PLEASE

      Hi,
      I want to use my cam with magic mirror.
      I’ve bought 2 cams : an ip cam (SCS sentinel SVI0039 and an usb cam (Playstation eye 3)
      Can anyone help me? which modules should I use?
      Thanks
      Axel

      posted in Troubleshooting
      A
      axel