@Mykle1 No problem. Thanks for a really nice module.
Read the statement by Michael Teeuw here.
Posts
-
RE: set the calendar day to a short version
@greedyvegan said in set the calendar day to a short version:
calendar.js
Never modify the module code directly. You override settings in config/config.js. For css you override it in the css/custom.css, but never change the module code. This will cause issues when upgrading to the latest versions.
-
MMM-NOAA3 - Revived
Hi all,
I have been using MMM-NOAA3 by @cowboysdude for a few years now. I like the display of it and did not want to go for a different module to replace it. Recently it stopped working and has for a while been throwing lots of errors.
I have forked the module and have started updating it and trying to bring it back to life. I have managed to update a few things.
- Removed
requestand replaced with internalfetch - Updated
MMM-NOAA3.jsto cater for the new response structures.
Supported Providers:
- weatherbit
- piratesky
- accuweather
- openweather
- msn
I have not had a chance yet to look at the other providers and am not sure if anybody would like them included. Honestly I do not want to create accounts for all of them just to update the provider list but can if I have to. However, I do believe that
darkskyhas been taken over by Apple and it may not work so, I may be removing that from the list of providers.However, I am happy to say that the module now works fine for
weatherbitandopenweatherand no longer is throwing any errors.I will be pushing a PR to @cowboysdude when I am done making all the changes with the other providers.
For now, if anybody is interested in using it for either
openweatherorweatherbityou can use my fork for now.Can be found below:
MMM-NOAA3 - Removed
-
RE: No Web UI with MMM-FastNotes
@rvnbrg Jinja is a dependency of Flask and Flask V1.X.X uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja
To fix this issue, simply update to the newer version of Flask V2.X.X in your requirements.txt where Flask no longer uses the escape module from Jinja.
I see there is a requirements.txt where the version of Flask is specified. Maybe updating that to 2.1.1, which is the recommended version that no longer has a dependency on
escapewould resolve this.This is all just guessing. Was trying to figure out how this module hangs together. 🫣
-
RE: MMM-NOAA3 - Revived
@sdetweil Successfully replaced Darksky with Piratesky.
-
RE: Opening hours for stores/places thru Google API
@Menturan Thanks for a great module. I had the module working for a two weeks but for the past few days it has stopped working. So, I have been working through the issue and after stopping and starting the mirror I am getting results returned but it is not being sent to the screen. Is there a reason for this?
[09:48:50] - DEBUG - MMM-OpeningHours : Sending to frontend - [{"name":"Makro Store Crown Mines","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1400"},"open":{"day":0,"time":"0900"}},{"close":{"day":1,"time":"1730"},"open":{"day":1,"time":"0830"}},{"close":{"day":2,"time":"1730"},"open":{"day":2,"time":"0830"}},{"close":{"day":3,"time":"1730"},"open":{"day":3,"time":"0830"}},{"close":{"day":4,"time":"1730"},"open":{"day":4,"time":"0830"}},{"close":{"day":5,"time":"1730"},"open":{"day":5,"time":"0830"}},{"close":{"day":6,"time":"1600"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 8:30 AM â 5:30 PM","Tuesday: 8:30 AM â 5:30 PM","Wednesday: 8:30 AM â 5:30 PM","Thursday: 8:30 AM â 5:30 PM","Friday: 8:30 AM â 5:30 PM","Saturday: 8:00 AM â 4:00 PM","Sunday: 9:00 AM â 2:00 PM"]},"place_id":"ChIJl8h2VlIJlR4Rn5311bQlcXQ"},{"name":"Builders Warehouse Glen Eagles","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1600"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1800"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"1800"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"1800"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"1800"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"1800"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"1700"},"open":{"day":6,"time":"0700"}}],"weekday_text":["Monday: 7:00 AM â 6:00 PM","Tuesday: 7:00 AM â 6:00 PM","Wednesday: 7:00 AM â 6:00 PM","Thursday: 7:00 AM â 6:00 PM","Friday: 7:00 AM â 6:00 PM","Saturday: 7:00 AM â 5:00 PM","Sunday: 8:00 AM â 4:00 PM"]},"place_id":"ChIJB0lb_mgPlR4Rje4UAMJnOvY"},null,null] -
RE: Contributing to a GitHub repository - a bit stuck
@evroom Just launch a terminal in VsCode

Make sure it is set to bash.

Then you can run the same commands
git addandgit commit -m "your commit text"andgit pushfrom the terminal. -
RE: MMM-Growatt
@nowayto No bother. If you raise a request on my Github page I will look at creating a minimalistic version when i have a bit of time.
-
RE: Need help creating a module.
@sdmydbr9 A few things are missing. Your MMM-LocalNews.js sends a Socket Notification which the node_helper is supposed to listening for and act upon. The node_helper need a socketNotificationReceived in order to start its work. When it is done doing it’s work it needs to send the data back to the MMM-LocalNews.js (sendSocketNotifcation). Have a look at this sample module https://github.com/sdetweil/SampleModule.