• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. PILuke
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 6
  • Groups 0

PILuke

@PILuke

3
Reputation
287
Profile views
6
Posts
0
Followers
0
Following
Joined Oct 13, 2018, 1:59 PM
Last Online Feb 28, 2025, 11:01 AM
Location Italy

PILuke Unfollow Follow

Best posts made by PILuke

  • RE: Display temperature over network

    @linuxdxs you can use this simple module MMM-RemoteTemperature and from your termometer you only send an HTTP POST request.
    You choose the udate interval and all the MM, with this module, will update their value when you send the HTTP POST.
    I hope this help you.

    posted in General Discussion
    P
    PILuke
    Mar 29, 2020, 9:51 AM
  • RE: MMM-NOAA - Another Weather Module

    @cowboysdude yes, of course :-)
    It’s better to modify the README.md for not to use a zip code but a Locationkey from accuweather in the config file.
    Many thanks

    posted in System
    P
    PILuke
    Oct 19, 2018, 12:35 PM

Latest posts made by PILuke

  • RE: Display temperature over network

    @linuxdxs you can use this simple module MMM-RemoteTemperature and from your termometer you only send an HTTP POST request.
    You choose the udate interval and all the MM, with this module, will update their value when you send the HTTP POST.
    I hope this help you.

    posted in General Discussion
    P
    PILuke
    Mar 29, 2020, 9:51 AM
  • RE: MMM-GoogleShoppingList

    @sean
    I didn’t know this working mode of MM, thanks for your answer.
    It’s right my list has 8 items.
    I disable all module except clock and start “dev” mode.
    There is only one red error but it’s from this module:

    MMM-GoogleShoppingList.js:70 Uncaught TypeError: Cannot read property '1' of null
        at items.forEach.item (MMM-GoogleShoppingList.js:70)
        at Array.forEach (<anonymous>)
        at Class.drawItems (MMM-GoogleShoppingList.js:54)
        at Class.socketNotificationReceived (MMM-GoogleShoppingList.js:46)
        at module.js:246
        at r.<anonymous> (socketclient.js:25)
        at r.emit (index.js:133)
        at r.onevent (socket.js:270)
        at r.MMSocket.self.socket.onevent (socketclient.js:19)
        at r.onpacket (socket.js:228)
    

    After few minutes the same error came again…

    posted in Utilities
    P
    PILuke
    Oct 29, 2018, 8:17 PM
  • RE: MMM-GoogleShoppingList

    Hi, nice module, for my wife :-)
    Has someone tested it?
    I see the module “Loading” but I don’t see the shopping list.
    In console I receive this message:

    [GSL] Landed on the target page. Trying to get list
    [GSL] Tried. (when even failed) : 8

    Some suggest?
    Many thanks

    posted in Utilities
    P
    PILuke
    Oct 29, 2018, 6:28 PM
  • RE: MMM-NOAA - Another Weather Module

    @cowboysdude yes, of course :-)
    It’s better to modify the README.md for not to use a zip code but a Locationkey from accuweather in the config file.
    Many thanks

    posted in System
    P
    PILuke
    Oct 19, 2018, 12:35 PM
  • RE: MMM-NOAA - Another Weather Module

    @cowboysdude many many thanks for your help and your time.
    Now the module is working.
    I can see current conditions and forecast (without reload the page) but … they are not correct. :-)
    I make some test, with my zip code the aw system identify a city in Mexico not in Italy!

    I think it’s necessary to identify a single locationKey with aw API.
    I found three way:
    by lat and lon:
    https://developer.accuweather.com/accuweather-locations-api/apis/get/locations/v1/cities/geoposition/search

    or by zip code:
    https://developer.accuweather.com/accuweather-locations-api/apis/get/locations/v1/postalcodes/search

    or by name:
    https://developer.accuweather.com/accuweather-locations-api/apis/get/locations/v1/cities/search

    but i don’t know how to use it in javascript…

    Infact if I put (in config.js) the right locationKey for my city instead zipcode the module work perfectly.

    posted in System
    P
    PILuke
    Oct 18, 2018, 8:54 PM
  • RE: MMM-NOAA - Another Weather Module

    Hello,
    has someone tested the NOAA3 module with accuweather provider?
    I think something is wrong to identify the city with lan and long.
    With this config I don’t see any weather information from the module, only air quality:

    		{
    			disabled: false,
    			module: 'MMM-NOAA3',
    		 	position: 'top_right',
    		     	config: {
    				provider: "accuweather",
    				apiKey: "xxxxxxxxxxxx",
    				airKey: "yyyyyyyyy",
    				css: "NOAA3",                  // THIS MUST CONTAIN A CSS STYLE NAME
    				userlat: "45.483219", //MUST HAVE BOTH
    				userlon: "9.203567"  //MUST HAVE BOTH
    				}
    		},
    

    In the aw.js file I find this request:

    url =  "http://dataservice.accuweather.com/currentconditions/v1/"+zip+"?apikey="+this.config.apiKey+"&details=true";
    

    I think this request doesn’t pass the correct “location key” (the zip value).
    Infact if I manually force a “location key” the “current conditions” start to work:

    url =  "http://dataservice.accuweather.com/currentconditions/v1/214046?apikey="+this.config.apiKey+"&language="+config.language+"-it&details=true";
    

    This instead doesn’t work for the forecast, if I force the “location key” the module doesn’t show the “four day forecast”

    url: "http://dataservice.accuweather.com/forecasts/v1/daily/5day/214046?apikey="+this.config.apiKey+"&language="+config.language+
    "-us&details=true&metric=false",
    

    I found also another problem with the language because in the request is passed the right language but not the right region, it remains “us”, so the module doesn’t show any value :

    &language="+config.language+"-us&details=true&metric=false"
    

    Can someone resolve the problem?
    I’m not so able with js :-)
    Thanks

    posted in System
    P
    PILuke
    Oct 14, 2018, 8:26 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy