@sdetweil yes the module shows on screen in form of QR code. That part works.
My basics from config file:
address: "0.0.0.0",
useHttps: false,
port: 8080,
ipWhitelist: [],
@sdetweil yes the module shows on screen in form of QR code. That part works.
My basics from config file:
address: "0.0.0.0",
useHttps: false,
port: 8080,
ipWhitelist: [],
Hi. I am trying to implement it on my MM and get only get below header in the browser. I am trying to open it with this address http://raspberrypi:8080/modules/MMM-Config/review
The same happens if I open MM via IP address.
Did I miss something? I saw on page6 of this thread someone else had same problem but that solution didn’t help me.
Doing ctrl+shift+I and looking at console output I get this error:
@sdetweil excellent, yes that’s what I am trying now. Thanks
@jalibu I completely forgot about this one. I will disable the rest and just allow Jast module to be editable. This could also work, thanks
@jalibu I am making a small MM project, based on rpi 3 and a small screen. This will be used by my friends who are occasionally trading with crypto and stocks.
Rather than teaching them how to edit a list of monitored stocks in the config.js (which could lead to catastrophic failure) I would prefer them to edit an independent shared file with the list of stocks only. This way we avoid breaking the core MM system and have the flexibility to change the list of stocks daily if needed.
I like the idea of autogenerating the config file. Will have a look into it if I can do it with python script. If you come up with some other solution let me know.
Thanks again
@jalibu welcome :)
Preferably the other file with defined stocks would be on the same system.
I kind of get it how to make this work with python scripts but I have no clue if it’s possible with JS.
@Jalibu thanks for your continuos work on this module. It’s awesome and I use it on few MM deployments. Virtual beer sent your way :)
Perhaps you know, is there a way to pull a list of stocks into a config.js file, from a different file? I am no expert in JS but maybe there is a way to pull some of the config elements from a different file?
@sdetweil not really. I have it running desktop-less on my Pi Zero W.
There are some scripts behind that run virtual browser and take screenshot of it. It’s described in the link above that inspired me to do this.
@davepre thanks for the hint. Wasn’t aware of InkyCal, will try it one day. But, I see it requires full Pi OS Desktop which is heavy on Pi Zero.
After good success with my first MM, I decided to try and use MM software for something different.
The initial inspiration for my second MM came from this post.
Once I started to order the parts I didn’t know how big of an issue will be the epaper screen. The 7.5" sized epaper from waveshare comes in v2 format which has increased resolution. It’s hard to get the v1 model in this size (with lower resolution) and I thought the higher resolution will help me anyway.
Unfortunately, the v2 epaper screen comes with a bad HAT module which doesn’t work when used with RPi 0. I spent hours trying to adjust scripts and debug but in the end, waveshare support confirmed there is a problem with HAT module. The shop where I bought the epaper screen did some fixes on the HAT module but that didn’t help entirely. I was getting random hangs of screen refresh scripts, regardless if it’s Python or C.
Anyway, the problem is not resolved and now I waiting for the shop to potentially replace the HAT module or the whole epaper+hat set. In the meantime, I managed to get it working the way I want with a temporary solution of adding a reboot script into crontab after every screen refresh. Not ideal at all but it works for the moment.
Parts used:
Modules used:
All in all still happy with how it turned out. I am using it on the main work desk to show me some basic data. Data is refreshed on an hourly basis. And best of all power usage is tiny and has no backlight.