Diet Pi Supporting Material (videos #126 and #128)

In videos #126 and #128 I introduced a SD card image file based on dietPi and a script from Peter Scargill. Here, you find some material and links for this topic:

How to get Peter’s script:
wget https://bitbucket.org/api/2.0/snippets/scargill/94yxL/99a359e843f0997c6b9247f36ba4848d5b322f5e/files/snippet.txt
SD card image:
http://www.sensorsiot.org/transferFiles/Pi_Zero_MQTT_Broker/DietPi_MQTT_Broker_8G_New.zip
If you use the SD card image, the following users and passwords are used:
For the operating system:

root / dietpi
pi / password

For Node Red:

for the Flows page: admin / admin
for the dashboard: user / user

You can change the usernames/password with this script:
wget http://www.sensorsiot.org/transferFiles/Pi_Zero_MQTT_Broker/nodeRedUserReset.sh
Change the passwords in the script
nano nodeRedUserReset
username="user"
userpass="user"
adminname="admin"
adminpass="admin"
and run the script:
bash nodeRedUserReset.sh
Flow file for video #128

http://www.sensorsiot.org/transferFiles/Pi_Zero_MQTT_Broker/Flow%20enhanced.txt