04-07-2019, 05:15 AM
(This post was last modified: 04-07-2019, 05:17 AM by Cyanoazimin.)
Thank you remy1961 for your instructions. Works fine. Here my "lessons learned":
SDA--------------- PIN 3
SCL/SCK---------- PIN 5
VCC--------------- PIN 1 (3.3 V instead of 5.0 V, sufficient and less risky)
GND--------------- any ground PIN
- I use a cheap (1,68 €) “0.96 inch 128X64 OLED Display Module I2C with ssd1306 driver” with the connections:
SDA--------------- PIN 3
SCL/SCK---------- PIN 5
VCC--------------- PIN 1 (3.3 V instead of 5.0 V, sufficient and less risky)
GND--------------- any ground PIN
- Select “moode” as “Name of distribution?” in “sudo python configure.py” configuration. When selecting “mpd” no “pydpiper.service” file is created. “moode” is not entered into “pydpiper.service” file and obviously does not need to.
- Customizing instructions are in “/home/pi/pydPiper/docs/Pages file description.txt” rather than in “Page Format.txt” (as indicated in "pages_ssd1306.py").
- The time zone “['utc|timezone+US/Eastern|strftime+%-I:%M']” I had to replace by “['utc|timezone+Europe/Berlin|strftime+%-H:%M:%S']” manually in “pages_ssd1306.py” (despite previous “sudo python configure.py” configuration).
- To turn off clock (to save OLED) I set “'stoptime': { 'widgets': [ ('ttime',10,2) ], 'size': (128,64) },” to “'stoptime': { 'widgets': [ ], 'size': (128,64) },”
- “sudo systemctl restart pydpiper” to restart after configuration changes.