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

    Posts

    Recent Best Controversial
    • RE: MMM-PiLights - Control a LPD8806 Led Strip on a Raspberry Pi

      Hy

      i changed your module to work with the common W2801 Led Strips.

      Now i wanted to add some new sequences.
      I modified the switch case but everytime i will go to this sequence with the http request i get the answer, squence not found.

      this.expressApp.use(bodyParser.urlencoded({extended: true}));

          this.expressApp.get('/PiLights', (req, res) => {
              console.error('[PiLights] Incoming:', req.query);
      
              if (typeof req.query.sequence !== 'undefined') {
                  // Sequence
      
                  this.runSequence(req.query.sequence)
                      .then(function () {
                          res.status(200)
                              .send({
                                  status: 200
                              });
                      })
                      .catch(function (err) {
                          res.status(400)
                              .send({
                                  status: 400,
                                  error: err.message
                              });
                      });
      
              } else {
                  res.status(400)
                      .send({
                          status: 400,
                          error: 'Sequence not specified'
                       });
              }
      

      So if i send a new sequence then i will get the answer 400 sequence not specified.
      Where do you specify the available sequences?

      With Best regards
      Schmo

      posted in Utilities
      S
      schmo90
    • RE: MMM-DWD-WarnWeather - Wetterwarnungen

      Yeah i see. But maybe there is someone from austria who did already that changes ;-)

      posted in Utilities
      S
      schmo90
    • RE: MMM-DWD-WarnWeather - Wetterwarnungen

      Hy
      is there a way to show the warnings for regions in austria?

      posted in Utilities
      S
      schmo90
    • RE: HUGE FLAW IN MY PLAN

      i also get this error message…

      posted in Troubleshooting
      S
      schmo90
    • 1 / 1