Read the statement by Michael Teeuw here.
MMM-bergfex not working
-
@FatTony123 u shouldn’t have to do the separate install of cheerio as it is in the package.json
-
@sdetweil Thanks for the hint! (still not that familiar with npm ;-))
Updated the install instructions and package.json file accordingly. -
@FatTony123 said in MMM-bergfex not working:
Hi all,
I’ve created a fork and did some updates to the code and config.
You can now select the country where bergfex should choose the values from.Feel free to test and let me know any feedback.
So far I can show multiple countries and their values…Works like a charm. Thank you very much!
-
Great to hear, thanks!
Let me know if you have any question, comments or ideas for improvements…
Cheers!
-
I never saw values for “neu” maybe they are not provided by the city. Perhaps this would be nice to have this optional to save some unused space.
And I will play around with the CSS at the weekend. I would like to have some more space between each column.
-
@MajorC said in MMM-bergfex not working:
I never saw values for “neu” maybe they are not provided by the city. Perhaps this would be nice to have this optional to save some unused space.
Any particular values you are missing / not seeing? The values should get updated once they are updated on bergfex.
Which cities / config are you using? Then I can check on my mirror… -
@FatTony123 my mistake. It looks like the cities I have in my configurations are not reporting “new snow” (Neu") to bergfex. So I never saw something where. I just added another city and it works quite nice.
As I am not interested in “new snow”, it would be nice to be able to activate/deactivate all (Tal, Berg, Neu, Lifte) as an option in the config. But I can do that by myself in the source code.
-
@MajorC Sounds like a good idea to set the options that should be visible on the mirror. Let me know once you have something so I can play with it too ;-)
-
I played a little bit around with coustom.css and at the moment it looks nice to me with:
/** * MMM-bergfex */ .MMM-bergfex td { padding-right: 20px; }
-
@majorc Thank you, I’ve added that and updated the repo.