@BKeyport said in MMM-SystemStats (cpu temp/load, fre ram ...):
On another point, how do you link back to the code and highlight like that?
You can get a direct link by clicking on the line in github.
@BKeyport said in MMM-SystemStats (cpu temp/load, fre ram ...):
On another point, how do you link back to the code and highlight like that?
You can get a direct link by clicking on the line in github.
@Sean it is a good idea but you want to meet the perfect time to fetch the data (close to the drawing) and you only have one try…
And also a second lottery would already blow the quota.
But still, thanks for the good ideas
@sdetweil
It is possible, and I thought about the same, but it’s dirty and you somehow have to determine and hard-code a proper request time for every lottery.
Thinking about developing it to the end but I’d prefer another API.
@chassain-0 That looks really good.
@thymon I have pushed my initial work to
https://github.com/lavolp3/MMM-Lotteries
But as said, the API usage is not acceptable yet.
Working with dummy data. it looks like this for now.

@thgmirror
Of course that’s a solution. From my point of view however not a nice one. Styling is a mess and it also creates some work. And everyone wanting to use it would have the work.
With a proper module the community has less work and it can be integrated and styled much better.
For @thymon s purpose it works of course.
@thymon 10 requests/month is very difficult to manage.
You need to consider that every time the mirror gets restarted for whatever reason it will have forgotten the data and needs to send a new API request.
A nightmare for people debugging or developing something.
@thymon I tried out the magayo api and had the module near completion, and then found out magayo only takes 10 API calls PER MONTH in their free plan.
These are exhausted for me so I need to think about using another API or some dummy data.
I am quite far on a module, but I would prefer to include more lotteries than just euromillions. So if you could research for an API and provide one that covers more lotteries I’d be grateful.
@thymon I put in some first thoughts on this.
The problem is for anyone who changes their own numbers, how to implement this.
This person would need to put the numbers into the config every time.
But still a great idea, especially for anyone having fixed numbers.
Already started a project :-)
@thymon It is a good very good idea. Not for me but for people who play the lottery.
There is a free lottery API that supports lots of lotteries, including yours
magayo.com/lottery-docs/api/content/
That might be a good start I guess.
I’m happy to support but not sure if I can find time to write a module.
@rxlDavid Who needs to pay for the api key?
@thymon Great and sorry I haven’t answered. But I don’t really understand what’s going wrong there and why it is applying a font that you cannot use for free.
@sdetweil nasdaq data is 15 min delayed. I dont care. I want to see how the stock develops today, not in this minute. I want to see how it has developed over the lest days and where it is e.g. in relation to it’s SMA200.
I’m not daytrading in front of my mirror :-).
I would rather ask you why is realtime data important in front of your mirror.
@sdetweil are you talking about REALTIME data? Then I understand. Yes, AV does not provide realtime data for Nasdaq stocks. Who cares? Not many free services do.
@sdetweil sorry don’t know where you have that from.
My key works well with a range of Nasdaq stocks.
@sdetweil that’s not true. AV also shows lots of nasdaq tickers. Even surprisingly many german stocks.
@killing-joke I can’t even call this ticker.
Can you give me a URL?
Otherwise I’ll try to include the ticker as soon as I have the new node_helper version (using different calls) finished.
@killing-joke HI Daniel,
at which time of day do you have the data of the last day.
And what is the stock symbol you use for Petrobras?
@bclinton11 Just read that DJI stopped working this April.
So I don’t know either which works now. Can confirm that none of the above work.
@thymon can you move over the icons not shown and show their complete set of classes. There needs to be something like .fa.fas.fa-arrow