New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pimatic-weather] Reimplement on basis of forecast.io #364
Comments
@josecastroleon would you be interested in this rewrite? IMHO we should only have a single weather module, not two competing ones? |
👍 |
👍 i find it very cool what about predicates? |
Nice! |
Cool! |
@sweetpi I need to display air pressure in hPa which is converted to khPa. Pls advise how to supress the automatic unit conversion. |
Wasn't that controlled by:
|
With the new frontend version its deactivated by default. I reworking the whole thing. |
@sweetpi I need another pointer, sorry for bothering you. To display the custom skycon svg image I need to interact with the template. I have
I have
Now I'd need to make
Could you kindly give me a pointer which part of the picture I'm missing? One the |
Your template should at least contain a
Be careful, probably you wanted to hold a reference to the observable (
The easy way would be to use
Setup the icon the first time in the The better but harder way would be to create a custom knockout binding for skycons like I did for sparkline: https://github.com/pimatic/pimatic-mobile-frontend/blob/master/app/knockout-custom-bindings.coffee#L107-L131 If you are missing any info, feel free to ask. |
In this case, the value can't change, so holding on to the value was my intention.
Excellent, got that working. Needed to understand that Now, one more question. The WeatherDevice needs to render lots of data. Most of it is just Also, what is the difference of And, regarding coffee syntax, why does this error when written without the enclosing brackets:
Isn't it regular coffeescript syntax?? |
In the template the For
Because of the @getAttribute('icon').value.subscribe (icon) =>
@skycons.set @skycon, icon if @skycons and @skycon would be correct. |
Sorry for the late reply, I was quite busy at this moment. I have no problem in merge them. If you want to take it over, I can transfer the ownership of the pimatic-weather npm package |
Not so good right now. The basics, that is current weather is working. Forecast to be done. I didn't release anything as the UI is a mess. If you want to try it or have good design/ css skills feel free to make a suggestion. @josecastroleon thanks for your reply. I'm not interested on forking and have very little time right now. If you want feel free to open a development branch that I can participate in and I'd gladly push to your repo? Its very much wip and I'd be happy for a helping hand. |
I've just add you as collaborator on the pimatic-weather repo. I've also created a development branch. |
Excellent. I'll cleanup and push to dev. Would then appreciate help with the UI. I'm a little short on time right now. |
@andig How do you switch your Guest Wifi on and off? |
@thost96 off-topic ;) Check the pimatic-fritz plugin. |
I've started the implementation; it could deliver things like this:
The text was updated successfully, but these errors were encountered: