Comments (11)
from leon.
Hello @Thibaud-A,
Thanks for your suggestion. Better to wait for the NLU improvement before creating this module.
I added it to the roadmap 😉
from leon.
Hello @louistiti ,
Ok thanks !
I already did a little POC using openweathermap for the weather forecast and ipstack for the ip geolocalisation. If someone have better API don't hesitate to suggest me. In any case, I'll wait the NLU improvement before converting this POC in a real package.
from leon.
Awesome!
I'm looking forward to see your contribution later on then 👍
from leon.
I can write something for this Sunday using the Dark Sky API; the pricing plan seems to be a lot cheaper than openweathermap (the first 1000 api calls are free and $0.0001 / call after that).
from leon.
Hello @ethinallen,
Great! We could definitely create a Forecast
package which contains the OpenWeatherMap
and the Dark Sky
modules.
However, to make Leon understands which one of these modules he needs to use we'll need to add using dark sky
or using openweathermap
to the expressions for one of these modules. So we'll need to see which one we can use as default module as the expressions will be pretty much the same.
Also, please note that the NLU needs to be improved before starting working on this package.
from leon.
Hello @ethinallen,
Thanks for your suggestion ! :-)
I checked the pros and the cons between OpenWeatherMap and Dark Sky and I have concluded this.
Pro of Darsky :
- more precise when you want minute to minute weather
Cons :
- less features on the free version,
- less call availables (1000 per day for Dark Sky and 60 per minutes/86400 per day for OpenWeatherMap)
- only one way to give information on the location (longitude/lattitude). In OpenWeatherMap you can :
- by city name
- by city ID
- by long/lat
- by zip code
- you can ask for several cities in a single request
- uv index feature for free (I don't know that could exist)
In any case, as @louistiti said it could be great to give the opportunity to use differents API. I suggest OpenWeatherMap because there is a lot of features free and you don't have to set a credit card for using it. But if you want to lay the foundation of this package with Dark Sky : go for it ! :D
from leon.
For simple use there's https://wttr.in
from leon.
Hello @Immortalin,
Thanks for sharing! It seems to use wego for the data sources, which means it is using OpenWeatherMap, etc. Better to directly pull data from the sources instead of having another layer between.
from leon.
Hi @louistiti , was playing around with Leon and found it fascinating! Though I noticed too that there was no weather module, similarly to what was described in issue #251 . Could I check if a quick POC can be done on this or it should wait for other improvements? Thanks!
from leon.
Hi @jaabberwocky 👋,
Thanks for willing to contribute into Leon! At this stage I'd say it'd be better to wait for upcoming versions but feel free to contribute. All the PRs will be merged once some upcoming versions will be released.
from leon.
Related Issues (20)
- Error while setting up offline-tts on Windows 10 HOT 4
- Adding transmission resuming at breaking point when downloading big file like TCP_Server HOT 1
- npm start error while checking skills data HOT 1
- Hotword offline setup error
- Can't start leon after a successful check HOT 3
- After I turn on STT in .env, the server can not be started up HOT 3
- How to get the Female voice in text-to-speech? HOT 1
- create birth with docker - fails because of missing python
- cannot start the TCP server - GLIBC_2.35 not found HOT 1
- Alternate TTS engine HOT 1
- Unable to Startup Error: Cannot find module 'C:\Users\User\.leon\server\dist\pre-check.js'
- Load your personal data into leon? PDFs etc?
- error run-setup-hotword.js HOT 2
- How to disable telemetry before running `leon create birth` / How to disable the creation of the report at the end
- Design and create Aurora UI components HOT 2
- Introducing Widgets HOT 1
- Music Skill HOT 1
- Forecast Skill HOT 1
- Add providers level to skills HOT 1
- Leon crash cyrillic chars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leon.