Read the statement by Michael Teeuw here.
No Web UI with MMM-FastNotes
-
Hello,
I have the module MMM-FastNotes installed. I followed the installation instructions to the letter. But I just can’t get the web UI to work. I get a error message “This page is unreachable” from chrome. (Also tried with Microsoft Edge).
https://github.com/polarbearjngl/MMM-FastNotes
Can someone point me in the right direction?
-
@rvnbrg Jinja is a dependency of Flask and Flask V1.X.X uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja
To fix this issue, simply update to the newer version of Flask V2.X.X in your requirements.txt where Flask no longer uses the escape module from Jinja.
I see there is a requirements.txt where the version of Flask is specified. Maybe updating that to 2.1.1, which is the recommended version that no longer has a dependency on
escape
would resolve this.This is all just guessing. Was trying to figure out how this module hangs together. 🫣
-
@rvnbrg did you chnage the MM configuration to allow outside systems to access MM?
in config.js
address:"0.0.0.0", // this means accept incomming connections on any network ipWhitelist:[], // do not filter the source system requests
by default, MM is built as a mirror on the wall, with NO access from outside
address:"localhost", // this means ONLY apps INSIDE the same system can connect ipWhitelist:["127.0.0.1"...].
-
@sdetweil Yes, current setup in config is
"address": "0.0.0.0", "ipWhitelist": [], "locale": "en-US", "logLevel": [ "INFO", "LOG", "WARN", "ERROR" ],
-
@rvnbrg the module config has this
host: "192.168.1.1", // address of raspberry pi in local network, need for access to WEB UI port: 5000, // port on host where UI will be accessible via web browser
I don’t know that that means…
what url are you using?
-
@sdetweil I have
host: “192.168.78.30”, // address of raspberry pi in local network, need for access to WEB UI
port: 5000, // port on host where UI will be accessible via web browserWhere “192.168.178.30” is the ip adress of my raspberry
-
So I try to access the Web UI with: 192.168.178.30:5000
-
@rvnbrg said in No Web UI with MMM-FastNotes:
192.168.178.30
that is an odd home network address…
if you do
ip addrfrom a terminal window, is that the address you get?
-
@sdetweil This is what I get
xavier@raspberrypi:~ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:69:7b:37 brd ff:ff:ff:ff:ff:ff
inet 192.168.178.30/24 brd 192.168.178.255 scope global noprefixroute wlan0
valid_lft forever preferred_lft forever
inet6 fd48:42be:e531:6cb0:2d2a:6ab4:13e2:1d5a/64 scope global dynamic noprefixroute
valid_lft 1624sec preferred_lft 1624sec
inet6 fe80::56dd:2b5f:e33f:829e/64 scope link noprefixroute
valid_lft forever preferred_lft forever -
@rvnbrg said in No Web UI with MMM-FastNotes:
192.168.178.30
ok, so you should be able to connect to MM using the port from config.js
-
@sdetweil Yes that works to see the MM on my desktop web browser.
Only the FastNotes WebUI does not load