Git Product home page Git Product logo

mmm-darkskyforecast's People

Contributors

jclarke0000 avatar rudibarani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mmm-darkskyforecast's Issues

Typo in the request call in node_helper.js

I checked to see if you'd fixed this in the 1.6 tag, but it's still in there.

In your node_helper.js, you're doing this:

request({url: url, methid: "GET"}, function( error, response, body) {

method is misspelled.

You also have request as a dependency in your package.json - it's not necessary as it's already a dependency in MagicMirror's package.json file.

To be honest, you don't need any of the dependencies in your package.json file at all - moment and request are both production dependencies of MagicMirror and npm shouldn't be included at all. Might be nice to remove them, so people don't have to do npm install for this module.

label_days and label_timeFormat always UpperCase?

The label_days and label_timeFormat are always Formatted UpperCase, e.g. "MON" instead of "Mon". Ist it possible to Remove the Ucase? I can't find it in the Code, bur i'm not good in js ;)

btw: The Module is great"

Summary not updating

I've recently noticed that the summary of the weather doesn't always update. But all other aspects of the module does. The summary displays a information from a previous day. Has anyone experienced this? updateInterval is set to 10. It has been happening since I've installed the module.

Any help, would be appreciated.

module header text

Is there anyway to modify or remove the header text "WEATHER"?? I feel the module is pretty self explanatory and I like to keep the space used as minimal as possible. I looked through a few files but couldn't see a reference to it. thanks!

Can You Add Humidity?

Hello - this is great! I've been looking for a module that incorporated a daily forecast with an hourly ever since the Weather Underground API went down - this is Awesome and looks great.

I'd like to ask for a feature when you are able - can you add humidity? At least to the current conditions at the top?

units: si show rain as % instead of mm/h

If I understand it correctly setting units: "si", should result in wind as m/s and rain as mm/h but it only affects wind for me.

                {
                        module: "MMM-DarkSkyForecast",
                        header: "Väder",
                        position: "top_right",
                        classes: "default everyone",
                        disabled: false,
                        config: {
                                apikey: "xxx",
                                latitude: "59.3885351",
                                longitude: "17.0499467",
                                iconset: "4c",
                                concise: true,
                                forecastLayout: "table",
                                colored: true,
                                units: "si",
                                hourlyForecastInterval: 6,
                                maxHourliesToShow: 3,
                                maxDailiesToShow: 2,
                                label_timeFormat: "HH",
                                label_days: ["Sön", "Mån", "Tis", "Ons", "Tors", "Fre", "Lör"],
                        }
                },

Icon animation seems quite heavy on cpu load.

The animation of the icons seems quite heavy on cpu load.

On my Pi4 when only the main icon is being animated my CPU most of the time is at about 30% usage. If I turn off the animation it is at about 10%. There must be a way to make it more economical (animated gif)?

Module stopped working

The module just stuck at 'Loading'...

Error in pm2 log:
0|mm | [MMM-DarkSkyForecast] 29-Jul-23 12:15 ** ERROR ** null

Limit number of days

Hello!

So I enjoy your module, but I was just wondering how I could limit the number of days to show. Right now it shows three entries for today, plus the next 4 days. I would like to limit that to the same three entries for hourly today, then the next 3 days rather than 4. I couldn't find an option in the config guide. Is there a way?

Celcius and CM

How can I change this to inches and Fahrenheit. as well as mpg not kmph?

Time Format Setting

Hi there;

I am from Turkey and where 24- hour time format is used. So "am" and "pm" aren't used here for time. I want to change time format of the hourly weather forecast to 24-hour time format. I changed time format in MagicMirror config.js file. However I can't modify for this module.

Do you have any idea about change time format for this module?

MMM-DarkSkyForecast

Infos from the Dark Sky Team

Hello there,
We wanted to let you know about a change coming to Dark Sky. Beginning on March 31st, 2023 the Dark Sky API will no longer be available. To prepare, we encourage you to learn more about WeatherKit, a new Apple API available on iOS, iPadOS, macOS, tvOS, and web that provides access to the new Apple Weather forecast data.
You can learn more here.
As always, we appreciate your support, and will continue to update you with any future changes.

Thanks, The Dark Sky Team

top_right puts module in the middle of my display

Even though my configuration is this in config.js, the module still shows in middle of my display taking up most of my screen?
It shows "Weather" underlined in the top right, but shows everything else in the wrong place??

	{
	  module: "MMM-DarkSkyForecast",
	  header: "Weather",
	  position: "top_right",
	  classes: "default everyone",
	  disabled: false,
	  config: {
	    apikey: "---------",
	    latitude: "--------",
	    longitude: "--------",      
	    iconset: "4c",
	    concise: false,
	    forecastLayout: "table"
	  }
	},

Any help would be much appreciated!

Severe Weather Alerts

How can we add severe weather alerts for location? Do you have any plans on adding it to this module?

hourlyForecastInterval doesn't work

first of all, great that you made a new weather module like MMM-WunderGround. I really liked that one.

I have a problem with hourlyForecastInterval. If I don't put it in de config and leave it to the default and put maxHourliesToShow : "6", in the config, than I receive 6 forecasts with 3 hours apart.
When I put hourlyForecastInterval to 1 or 2 I only get 2 forecasts that are 10 hours apart.

Stuck "Loading ..." forever. No weather is displayed

MagicMirror version: 2.5.0

Node Version: 10.15.0

MMM-DarkSkyForecast version: 1.0.0

Screenshot of problem:
capture

Config.js configuration:

		{
			module: 'MMM-DarkSkyForecast',
			header: "Weather",
			position: 'top_center',
			disabled: false,
			config: {
				updateInterval: 10,
				//requestDelay: 250,
				//updateFadeSpeed: 500,
				//language: 'en',
				//colored: true,
				units: 'us',
				//showCurrentConditions: true,
				//showExtraCurrentConditions: true,
				//showSummary: true,
				forecastHeaderText: "O'Neill, NE",
				//showForecastTableColumnHeaderIcons: true,
				//showHourlyForecast: true,
				hourlyForecastInterval: 2,
				maxHourliesToShow: 5,
				//showDailyForecast: true,
				maxDailiesToShow: 5,
				//showPrecipitation: true,
				//showWind: true,
				//concise: true,
				iconset: '5c',
				apiKey: 'blocked for privacy',
				latitude: '42.457649',
				longitude: '-98.647789',
				//useAnimatedIcons: true,
				forecastLayout: 'tiled',
				//showInlineIcons: true,
			},
               },

Any chance to adapt this to tomorrow.io (former ClimaCell) too?

I saw someone was able to adapt this module to Pirate Weather, but I notice that the free subscription always expires after 1 month.

Therefore I was wondering if this could be easily adapted to tomorrow.io too?

I tried playing at editing just what was modified for Pirate Weather, but I couldn't manage to get then the module running succesfully...

PS: How can I edit the "Powered by DarkSky" text at the module's bottom?

Display UV index?

This module looks awsome! I wanted to ask if there is a way to display UV index for current weather?

Rearrange tiled layout

Hi, First... Amazing module! thanks for the hard work.

I'm trying to edit your CSS but can't find the HTML to really test it against. I hopefully can explain what I'm trying to do. This is what I have now (still a work in progress)

image

I would like to make tiled on 2 rows and blend the top row to current weather and hourly forecast with daily forecast below it.

EG (bad mspaint edit)

image

Any chance you can help point me in the right direction or point me at the html rendered version of the module so I can work on the CSS myself.

Any help you can offer would be appreciated.

Cheers

DarkSky API is now Apple WeatherKit as of 2023-03-31

The Dark Sky API request looks like this:

DarkSky docs link in README.md now refers to https://support.apple.com/en-us/102594

It appears that Apple Developer Program membership is now required to access this API (which has, in any event, changed).

According to Apple:

Apple Developer Program membership
Access to WeatherKit is included in the Apple Developer Program, which also provides all the tools, resources, and support you need to develop and distribute apps — including access to beta software, app services, testing tools, app analytics, and more.

Availability and pricing
WeatherKit provides up to 500,000 API calls a month per Apple Developer Program membership. If you need additional API calls, the Account Holder of your Apple Developer Program membership can subscribe in the Account tab of the Apple Developer app. Subscription plans are priced in U.S. dollars, or in local currency where available.

500,000 calls/month: Included with membership

Transitioning from Dark Sky
Support for the Dark Sky weather service will end March 31, 2023. To transition to WeatherKit and continue accessing weather data for your apps, webs apps, websites, and services, you’ll need to be a member of the Apple Developer Program, review special considerations, and map fields to their appropriate names.

If you’re a nonprofit organization, accredited educational institution, or government entity, you may qualify for an Apple Developer Program membership fee waiver.

Is this module still viable given these changes?

will not load

This looks great and I followed the instruction but it wont load. When I refresh the screen I can see it pop up that it is loading for a second then it disappears.

I downloaded the git hub file, unzipped it and used SSH to place in my modules. I added the below to my magic mirror config.js
{
module: "MMM-DarkSkyForecast",
header: "Weather",
position: "top_right",
classes: "default everyone",
disabled: false,
config: {
apikey: "-------",
latitude: "444444",
longitude: "44444",
iconset: "4c",
concise: false,
forecastLayout: "table"
}

API key is correct along with lat and log. I removed them for my security.

I then added this in my config magic mirror add-on-
{
"name": "MMM-DarkSkyForecast",
"git": "https://github.com/jclarke0000/MMM-DarkSkyForecast.git",
"cmd": ""
},

This is the error i am getting on the add-on magic mirror log
[MMM-DarkSkyForecast] 2-Mar-19 15:23 ** ERROR ** null

When all of that didnt work I went to the MMM-darkskyforecast.js and filled in some of the "" apikey, LAt and Log.

Not sure what else to do. I have only had Magic mirror downloaded for a month so I believe it is the 2.2 or newer.

Multiple Installations fo the module

Great module and I want to use it for different locatinons in combination wiht Netatmo. In order to do that I installed the Netatmo AgP42 two times in different folders, renamed the netatmo.js accordingly and changed the module name withing the netatmo.js. Works perfect. I tried the same appraoch with the DarkSkyForecast, but it doesn't work.

Is there a chance to have multiple installations of the module?

Thanks in advance!

Co-Ordinates not working

When I use the default Long and Lat, the module loads. London works as does Vancouver and New York however when trying Hawaii, Sydney, Paris, Cape Town, Moscow, Melbourne, and Wellington, the module will not load. Using https://www.latlong.net/ for Long and Lat.

When I use the same Long and Lat in this module that works with the Forecast.io module, the module won't load. At first, I thought it was southern hemisphere's (given the Lat is a 'negative' number) but that doesn't appear to be the cause.

Anyone able to replicate this?

Remove npm from dependency list

image

npm should never be included as a dependency in a package - it's entirely reliant on the version of node you have installed.

DARK SKY API DEAD

APPLE DID IT

Support for the Dark Sky API ended on March 31, 2023, and has been replaced by Apple’s WeatherKit API. Developers can use WeatherKit in apps with iOS 16, iPadOS 16, macOS 13, tvOS 16, and watchOS 9 or higher with a platform-specific Swift API, and on any other platform with a REST API.

Anyway we can get this to work with another API I really Enjoyed the UI of this module.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.