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

    paulocarrasco

    @paulocarrasco

    2
    Reputation
    1.0k
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    paulocarrasco Unfollow Follow

    Best posts made by paulocarrasco

    • RE: MMM-forecast-io -- Localized up to the minute weather

      @yawns Thanks, it was the comma. I miss it.

      posted in Utilities
      P
      paulocarrasco
    • RE: MMM-IFTTT - If-This-Then-That Maker Notifications

      @jc21 Thanks for your quick reply. As you mentioned I made a ‘pull’ of MMM-IFTTT new version. Unfortunately It still giving the same error for me. All te rest appears that is working. Also the server is listening fine on port 8080.

      For testing purposes I have this minimalistic config.js

      ´´´
      //* Magic Mirror Config Sample
      *

      • By Michael Teeuw http://michaelteeuw.nl
      • MIT Licensed.
        */

      var config = {
      port: 8080,

      language: 'en',
      timeFormat: 24,
      units: 'metric',
      
      modules: [
      	{
      		module: 'alert',
      	},
      
      	{
      		module: 'clock',
      		position: 'top_left'
      	},
      
      	{
        module: 'MMM-PIR-Sensor',
      		config: {
      	        		sensorGpio: 4,// See 'Configuration options' for more information.
      			      }
      	},
      
      	{
      	  module: 'MMM-IFTTT',
      	  position: 'lower_third',
      	  config: {
      						}
      	},
      ]
      

      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== ‘undefined’) {module.exports = config;}

      ´´´

      This is the command I enter, followed by the error:

      ´´´
      MBP:~ paulocarrasco$ curl -X POST -H “Content-Type: application/json” -d ‘{“message”: “Your pizza is ready!”}’ “http://192.168.1.69:8080/IFTTT”

      TypeError: Cannot read property 'debug' of undefined
         at Class.log (/home/pi/MagicMirror/modules/MMM-IFTTT/node_helper.js:116:54)
         at expressApp.post (/home/pi/MagicMirror/modules/MMM-IFTTT/node_helper.js:57:18)
         at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)
         at next (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:131:13)
         at Route.dispatch (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:112:3)
         at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)
         at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:277:22
         at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:330:12)
         at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:271:10)
         at urlencodedParser (/home/pi/MagicMirror/modules/MMM-IFTTT/node_modules/body-parser/lib/types/urlencoded.js:82:7)

      ´´´

      I hope this helps finding the error, because as I am a IFTTT fan your IFTTT module has main importance for me ;-).

      posted in Productivity
      P
      paulocarrasco

    Latest posts made by paulocarrasco

    • RE: MMM-IFTTT - If-This-Then-That Maker Notifications

      @jc21 No problem. Its working like a charm now. Thanks.

      posted in Productivity
      P
      paulocarrasco
    • RE: MMM-IFTTT - If-This-Then-That Maker Notifications

      @jc21 Thanks for your quick reply. As you mentioned I made a ‘pull’ of MMM-IFTTT new version. Unfortunately It still giving the same error for me. All te rest appears that is working. Also the server is listening fine on port 8080.

      For testing purposes I have this minimalistic config.js

      ´´´
      //* Magic Mirror Config Sample
      *

      • By Michael Teeuw http://michaelteeuw.nl
      • MIT Licensed.
        */

      var config = {
      port: 8080,

      language: 'en',
      timeFormat: 24,
      units: 'metric',
      
      modules: [
      	{
      		module: 'alert',
      	},
      
      	{
      		module: 'clock',
      		position: 'top_left'
      	},
      
      	{
        module: 'MMM-PIR-Sensor',
      		config: {
      	        		sensorGpio: 4,// See 'Configuration options' for more information.
      			      }
      	},
      
      	{
      	  module: 'MMM-IFTTT',
      	  position: 'lower_third',
      	  config: {
      						}
      	},
      ]
      

      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== ‘undefined’) {module.exports = config;}

      ´´´

      This is the command I enter, followed by the error:

      ´´´
      MBP:~ paulocarrasco$ curl -X POST -H “Content-Type: application/json” -d ‘{“message”: “Your pizza is ready!”}’ “http://192.168.1.69:8080/IFTTT”

      TypeError: Cannot read property 'debug' of undefined
         at Class.log (/home/pi/MagicMirror/modules/MMM-IFTTT/node_helper.js:116:54)
         at expressApp.post (/home/pi/MagicMirror/modules/MMM-IFTTT/node_helper.js:57:18)
         at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)
         at next (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:131:13)
         at Route.dispatch (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:112:3)
         at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)
         at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:277:22
         at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:330:12)
         at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:271:10)
         at urlencodedParser (/home/pi/MagicMirror/modules/MMM-IFTTT/node_modules/body-parser/lib/types/urlencoded.js:82:7)

      ´´´

      I hope this helps finding the error, because as I am a IFTTT fan your IFTTT module has main importance for me ;-).

      posted in Productivity
      P
      paulocarrasco
    • RE: MMM-IFTTT - If-This-Then-That Maker Notifications

      Hi, since last update of MMM-IFTTT I am getting this error, when I make a notification to the MM:

      TypeError: Cannot read property &#39;debug&#39; of undefined<br> &nbsp; &nbsp;at Class.log (/home/pi/MagicMirror/modules/MMM-IFTTT/node_helper.js:116:54)<br> &nbsp; &nbsp;at expressApp.post (/home/pi/MagicMirror/modules/MMM-IFTTT/node_helper.js:57:18)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:131:13)<br> &nbsp; &nbsp;at Route.dispatch (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at /home/pi/MagicMirror/node_modules/express/lib/router/index.js:277:22<br> &nbsp; &nbsp;at Function.process_params (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:330:12)<br> &nbsp; &nbsp;at next (/home/pi/MagicMirror/node_modules/express/lib/router/index.js:271:10)<br> &nbsp; &nbsp;at urlencodedParser (/home/pi/MagicMirror/modules/MMM-IFTTT/node_modules/body-parser/lib/types/urlencoded.js:82:7)
      

      I already installed everything from the beginning twice, and updated all but without luck. Any ideias?


      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Productivity
      P
      paulocarrasco
    • RE: MMM-IFTTT - If-This-Then-That Maker Notifications

      @jc21 I made an update to the Git modules, and now I getting those lines on my console. Everything is working 100%, thanks :-).

      posted in Productivity
      P
      paulocarrasco
    • RE: MMM-IFTTT - If-This-Then-That Maker Notifications

      @jc21 Hi, I a fan of IFTTT and I trying to include your module on my project.

      The process isn’t working very well :-), and I decided to seek some help here.

      The problem, after installing the module like you prescribed, is that I can’t connect to the Pi (with MM) on port 8080.

      I tried, for testing purposes, the following commands on the terminal of the Pi itself:

      curl -X POST -H "Content-Type: application/json" -d '{"message": "Your pizza is ready!"}' "http://192.168.1.103:8080/IFTTT"

      or

      curl -X POST -H "Content-Type: application/json" -d '{"message": "Your pizza is ready!"}' "http://127.0.0.1:8080/IFTTT"

      with the same result:

      curl: (7) Failed to connect to 192.168.1.103 port 8080: Connection refused
      

      Trying from another ip (local or external) gives the same error.

      Am I forgetting something?


      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Productivity
      P
      paulocarrasco
    • RE: MMM-forecast-io -- Localized up to the minute weather

      Hi,

      Can’t wait for the finished weather module ;-).

      I’ve been thinking about screen optimisation and I’ve tried working on module code to make something like this “photoshopped” image, but my skills on JS are very, very limited :-(.

      I think that would be a nice add-on a “fusion” of the MMM-moon-phases module (with a bigger moon image), a analog clock (with a minimalist face) and the a weather/forecast module.

      What do you think?

      0_1475590425133_alternative_layout.png

      posted in Utilities
      P
      paulocarrasco
    • RE: MMM-forecast-io -- Localized up to the minute weather

      @yawns Thanks, it was the comma. I miss it.

      posted in Utilities
      P
      paulocarrasco
    • RE: MMM-forecast-io -- Localized up to the minute weather

      Hi, I’m trying to use this module but it keep showing an error on the config file.

      Here is the code->

      {
            module: 'MMM-forecast-io',
            position: 'top_right',  // This can be any of the regions.
            config: {
              // See 'Configuration options' for more information.
              apiKey: 'my api key' // Dark Sky API key.
              // Only required if geolocation doesn't work:
              latitude:   37.1468,
              longitude: -8.5846
            }
          },
      

      When I remove this code part the config works, so all the rest is ok.

      I already have cloned the module on git to the newest version.

      Can someone help me?..


      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Utilities
      P
      paulocarrasco
    • RE: RPI Update

      Update done! on PI3 …everything’s working… :-)

      posted in General Discussion
      P
      paulocarrasco
    • RE: Default Calender-absolute Date

      Hi,

      I’m new to this MM but I had the same problem. The solution is placing the timeFormat: ‘absolute’ parameter before the "calendars: [ " line.

      I hope this helps.

      posted in Troubleshooting
      P
      paulocarrasco