@mmcghee nice ideas. one of concern. the USB port of the display probably won’t have enough power for that.
so u add a power bar in the enclosure and plug the devices into that
@mmcghee nice ideas. one of concern. the USB port of the display probably won’t have enough power for that.
so u add a power bar in the enclosure and plug the devices into that
@UncleRoger yes the compares
!=
!==
!===
are different
one compare s the data type too
2 is a number
“2” is a string
try my new screensaver script
see
https://forum.magicmirror.builders/topic/11052/new-script-for-screensaver-disable
@rafaelcota when was the last time you did a git pull?
I just used your definition and changed height to 800 and it came out right… (wrong image before)
@radioman I am not aware of a function like that. you can always bookmark them in your browser
@UncleRoger I agree. I came in before these fancy new languages. before web.
@Stoffbeuteluwe u need to specify the network adapter interface name in the module config section…
see the module readme…
ifconfig
will list all the network interfaces on your system, select the one with an assigned ip address
here is from my pi
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 // < --- no ip address here
ether b8:27:eb:ee:23:81 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 // < this is the loopback adapter (127.0.01/localhost)
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 5153998 bytes 99881551583 (93.0 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5153998 bytes 99881551583 (93.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.35 netmask 255.255.255.0 broadcast 192.168.2.255 // < -- this is the one
inet6 fe80::7983:5fdf:71b7:86 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:bb:76:d4 txqueuelen 1000 (Ethernet)
RX packets 70945054 bytes 520903477 (496.7 MiB)
RX errors 0 dropped 233688 overruns 0 frame 0
TX packets 35358956 bytes 3262063548 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
@banbutcher said in folder monitor/ file creation...:
ill be asking more silly questions
no such thing… ask away…
@Fozi true… if you install winscp or bitvise ssh clients, they both provide a file manager view over the PI files, so you use your windows editor just like always… notepad++ auto detects line ends (but you can force it too)…
with this and SSH I almost never use the keyboard on the pi.
winscp view
https://winscp.net/eng/docs/interfaces#explorer_interface
bitvise
https://www.bitvise.com/getting-started-connect-first-time (see successful login)
@UncleRoger logon to GitHub, click repositories , new, make the name match your module name, create.
it will give you a set of commands to execute in your module folder to upload it to that repo…
easy peasy
note that you need to create an access key thru the GitHub profile menu to be able to upload.(aka push)
this replaces the requested password now