@zdenek Go here. Follow the instructions to create an OAuth string, that will look something like this:
https://todoist.com/oauth/authorize?client_id=0123456789abcdef&scope=data:read,data:delete&state=secretstring
Read the statement by Michael Teeuw here.
Posts made by ninjabreadman
-
RE: Todoist accesstoken
-
RE: Positions of modules
@jakuk It needs to say
top_left
, although I suspect that it does.When you quit MM, how does the display appear – is the desktop small and in the middle, or fullscreen? It could also be an overscan issue but shouldn’t put everything “in the middle”.
You could also try to revert to the default
config.js
to determine if MM layout is working correctly. -
RE: Positions of modules
@jakuk Start at this post. The CSS will change the style of each module (size, font, etc) but to have them appear in the appropriate regions, it’s best to use your module configurations in
config.js
. -
RE: MMM-ImagesPhotos - Show images from a directory
@twosquirrels So, I suspect (but cannot be certain) that this is your problem. I’ve not found great browser support for EXIF image rotation. There are a variety of command line approaches available, and even some GUI apps.
-
RE: How do I "commit" changes to allow an update
@pierrepi I posted recently on how to “stash” your changes in
git
. You don’t want to commit them, except to share with others. -
RE: MMM-iHaveBeenThere how to adjust zoom
@mrcoffee What does your config look like? Quickly reading the readme, it seems it should be:
modules: [ { module: 'MMM-iHaveBeenThere', position: 'lower_third', config: { ... zoomLevel: 0 } } ]
You can also check out the map examples at AMCharts on which it is built.
The default
zoomLevel
is4.5
. Have you tried incrrmenting it down (e.g. 4, 3.5, 3, etc) to see if it’s working and does what you want? -
RE: Get JSON data stuck behind CAPTCHA click???? i.e. US Gas Prices
@hsukup1 It’s not an easy problem. The crowdsourced solutions are not good, and the private solutions are not cheap. There’s MyGasFeed, but like GasBuddy it relies on crowdsourced data. Do you need station-specific data? AAA has state and municipal data available on their website.
It looks like Geico also offers prices via the mobile app. You could install it, perform the search, and inspect the traffic and query. It could very well be making unobfuscated calls to the API. Just keep in mind that relying on that method, it may eventually break (especially if you attract attention with abuse of the API).
-
RE: Quick Question regarding Magic Mirror cache
@chef The
POST
request isn’t sending it an image, it’s sending the URL to the image (e.g.http://192.168.2.18:9920/security/values/2
). The problem is, it already has a cached copy of that image. I suggest you append a timestamp to trickelectron
into re-fetching the same image/resource.You want to pass it a URL-encoded value, so use
%3F
as?
and just append your timestamp, like so:http://192.168.2.48:8080/api/v1/modules/alert/show_ALERT?timer=10500&imageUrl=http://192.168.2.18:9920/security/values/2%3F {INSERT TIMESTAMP HERE}&imageHeight=220px
-
RE: Need help to install a script that makes pixel shift, to avoid static screen burn
@kj3rra Not sure that @strawberry-3.141 will agree with the approach, but you can actually achieve the same thing with just CSS animations (and avoid creating a module).
Try either the following in your
css/custom.css
file:/* this will cause the image to fade out for about 2 seconds every 2 minutes */ body{ animation: fading 60s infinite alternate; } @keyframes fading { 0%, 98% { opacity: 1; } 100% { opacity: 0; } }
- or -
/* this will cause the image to slide down, across 10px after 30 seconds, for 30 seconds, then back up */ body{ animation: slide 60s linear infinite alternate;} @keyframes slide { 0%, 49% { transform: translate(0, 0); } 50%, 100% { transform: translate(10px, 10px); } }
You can adjust the time value (i.e.
60s
) to more/less as you like (but be careful, 2% of one hour is over 2 minutes). You can also adjust the percentages, and use decimal percents, like0.5%
if needed. CSS 2D transforms should not take too much memory or cause issues on an RPi. I assume that Chromium/Electron supports CSS 3 animations. YMMV.