@sdetweil Fixed. It’s a change in the Unsplash API. obj.urls.custom is no longer an option returned in JSON. I changed “custom” to “raw” and it’s good.
Lovely.
@sdetweil Fixed. It’s a change in the Unsplash API. obj.urls.custom is no longer an option returned in JSON. I changed “custom” to “raw” and it’s good.
Lovely.
@yk said in MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast:
Fantastic work! I was using the previous DarkSkyForecast version - easy shift to this one.
I’m trying to put the hourly data and daily data in the same “row” across using tiled view instead of 2 rows. I’m happy to edit the njk file (have tweaked a bit haven’t gotten it “just right” yet). Any ideas? I gather it’s something with the hourly and daily divs.
Is data available to get mm of precipitation in the hourly and daily blocks? It shows % chance - keen to add precipitation instead.
Thanks!!
Replying to my own post incase someone else wants a single row for 3 hours and 3 days. You’ll need to comment out lines 191, 309, 315, 318 in the njk file. This results in a single row readable left to right hours then days. It’s a useful view if you’re using a full width view.
Fantastic work! I was using the previous DarkSkyForecast version - easy shift to this one.
I’m trying to put the hourly data and daily data in the same “row” across using tiled view instead of 2 rows. I’m happy to edit the njk file (have tweaked a bit haven’t gotten it “just right” yet). Any ideas? I gather it’s something with the hourly and daily divs.
Is data available to get mm of precipitation in the hourly and daily blocks? It shows % chance - keen to add precipitation instead.
Thanks!!
Understood. Thanks.
Server seems doable. With the NUC it’ll have a bit more horsepower to run my iCloud sync and Weather setups (nothing overly painful to be honest).
Does the client 3B also run MM then? Meaning run your install scripts but instead update mm.sh to run client?
I fear I’m making the setup overly complex (only satisfying my tinkering needs). Would you agree or have you found that a server > client setup works better? (curious of opinion)
Thanks Sam. The 3B has been running fine for years. Now that the card failed I’m tempted to go the server > client route. So the NUC would run Debian, kick off your scripts, it runs in server mode, I do all of the normal setup that I did previously on the pi? How does the client setup work once I replace the failed card?
And, be honest, is this overkill? Once a new card comes in I can redo the setup on the 3B.
I’ve got a spare NUC. Fully appreciate that’s it’s a bit of overkill (I have my 3B running but a card failed). How would I go about getting the base setup going? Pm2 autoboot, base install, what OS?
Was there an agreed solution to this one? Do we need to subscribe separately to the 3.0 API or does the free subscription doable (works with default weather module)?
@sdetweil let’s close this one. There was a need to pass through a height or width value when using MMM-Unsplash. Passing nothing seems to have grabbed the raw file and chewed up a good deal of memory. I’m still monitoring.
I’d love to setup a log element that drops memory usage into the pm2 logs. Just fear monitoring memory may eat up too much memory ;) (but I should have plenty of it)
I’m using MMM-Tools to display stats, may leverage that.
@sdetweil I’m working with the developer of MMM-Unsplash. This might be down the the usage of “raw”. Will revert.
Separately, just to confirm: no issue with calendar fetcher broadcasting every 10 minutes? What is it doing? (can you tell I’m sniffing everything now?) ;)
@sdetweil agreed.
But i’m seeing the below after another memory issue today.
type total used free shared buff/cache availabl
Mem: 925 291 367 9 267 571
Swap: 1023 93 930
@sdetweil sorry
I bumped up the swap already to 1024
memory
total = 925
used = 272
swap
total=1023
used=116