Read the statement by Michael Teeuw here.
MMM-cryptocurrency - v1.4
-
Thanks for the info @olexs. I finally gave up about showing the graphs with black BG and I decided to just leave in “detail” mode, but I encounter another issue while doing that. half of my modules don’t appear and my logs show this:
Even deleting the header “change1h” from the config file doesn’t work. Is only working properly in “logo” mode.
-
@ArkantosArk Hello,
I’m sorry for your problem. Let’s try to understand and fix them.
Can you please post your module configuration (the one in config.js)?
Also, have you changed module files? -
Hi @matteodanelli See my module config below. I haven’t changed any module files at all. I’m running it in a Raspberry pi 1, but I don’t think the issue is related with that.
{ module: "MMM-cryptocurrency", position: "bottom_bar", config: { currency: ['ethereum', 'bitcoin'], conversion: 'EUR', displayType: 'detail', headers: ['change24h'] } },
-
@ArkantosArk Very strange.
Same module configuration is working here, even if I set 1h.{ module: "MMM-cryptocurrency", position: "bottom_bar", config: { currency: ['ethereum', 'bitcoin'], conversion: 'EUR', displayType: 'detail', headers: ['change24h', 'change1h'] } }
Is it possible that aren’t conflict with other modules?
In any case, if you cannot fix, try to re-download module from repository and then re-add in your configuration.
Let me know if something changes. -
Re: MMM-cryptocurrency - v1.1
@matteodanelli great module. I works pretty fine. Thank you for this.At the moment we have 3 options to view the change of the currency in 1h, 24h and 7d.
Can you add an option to view the change since the purchase value?Or how I can do this by myself?
BR
-
@jimador Hi!
Unfortunately, it’s not easy to select a custom starting date, because I use an external service which provides me only that history.
Tracking myself the currency change is expensive and I’ll not do in the next future.
But, if you know some web services able to do that I’m really happy to implement this feature :) -
@matteodanelli Hi have reinstalled the module and keeps showing the same error on the logs:
modules/MMM-cryptocurrency//MMM-cryptocurrency.js @68: TypeError: undefined is not a function (evaluating ‘this.config.headers.includes(‘change1h’)’)
It seems that it can be an issue on line 68 on that file. If I copy and paste the content of the file on JSHint.com, it shows me that there is an error on some lines:
I would love it to have this module on detail mode, but it seems that is only working properly in logo mode for now.
-
@ArkantosArk Hey,
I make a bug fix where you outlined some problems. You can checkout updated code from repository.Now you should have the module working in both configuration.
Let me know.Thank you!
-
@matteodanelli Hi!
I can see your update and now JShint doesn’t find any issues. However I still have the same exact issue as my previous post. Can this be a browser related issue? I am using Midori instead of Chrome (cause I’m implementing everything on a Raspberry pi 1).
Anyway thanks a lot for correcting those bugs, I’m sure that would help somebody with the same issue!
-
@ArkantosArk Yes, midori doesn’t support ES6 and the module makes use of it. Try to run it and access it via a browser on another machine for testing purposes it should probably work.