
Juste un truc que j'ai remarqué l'affichage mets plus de temps à démarrer qu'avant c'est pareil pour vous ?
Salut. Je l'ai remarqué aussi. Pour que les choses aillent plus vite, je suis allé sur ''sudo nano /etc/rc.local'' et sur la ligne ''(sleep 20; sudo python /home/pi/MoodAudio-RaspDAC-Script/RaspDacDisplay.py) &'' j'ai remplacé 20 par 10 (ce sont des secondes).shinzuka a écrit :Merci les mecs au moins notre poste il avance
Juste un truc que j'ai remarqué l'affichage mets plus de temps à démarrer qu'avant c'est pareil pour vous ?
shinzuka a écrit :Merci les mecs au moins notre poste il avance
Juste un truc que j'ai remarqué l'affichage mets plus de temps à démarrer qu'avant c'est pareil pour vous ?
20s time is to make sure that the system is fully running before script is loaded. Yo can try change the time and see how it is.remy1961 a écrit :Salut. Je l'ai remarqué aussi. Pour que les choses aillent plus vite, je suis allé sur ''sudo nano /etc/rc.local'' et sur la ligne ''(sleep 20; sudo python /home/pi/MoodAudio-RaspDAC-Script/RaspDacDisplay.py) &'' j'ai remplacé 20 par 10 (ce sont des secondes).shinzuka a écrit :Merci les mecs au moins notre poste il avance
Ju
ste un truc que j'ai remarqué l'affichage mets plus de temps à démarrer qu'avant c'est pareil pour vous ?
Remy
Ok, I understand this. But what if someone wanted to use the 2.42" screen? What changes should be done at the script?remy1961 a écrit :The script is not for that oled display. It is for this one.nassost79 a écrit :Hi everybody. With your help here I managed to install a momentary switch using the script provided above.
Concerning the oled screen, which model is the script compatible with? I got this one from Audiophonics, but haven't managed to make it work yet. I haven't even understood if I have to follow I2C or SPI wiring instructions. Can you please help?
Remy
Hi. I think it will need a completely different script. Try to search to see if some one wrote a script for your display. Normally one should start by checking if there is a script for a particular display before you buy it. There is a guy on this forum named drone who seem to be an expert on displays. You can ask him.nassost79 a écrit :Ok, I understand this. But what if someone wanted to use the 2.42" screen? What changes should be done at the script?remy1961 a écrit :The script is not for that oled display. It is for this one.nassost79 a écrit :Hi everybody. With your help here I managed to install a momentary switch using the script provided above.
Concerning the oled screen, which model is the script compatible with? I got this one from Audiophonics, but haven't managed to make it work yet. I haven't even understood if I have to follow I2C or SPI wiring instructions. Can you please help?
Remy
This is how things should be done.. normally! But if you combine lack of knowledge and enthusiasm, you buy things that can never be made to work togetherremy1961 a écrit :Normally one should start by checking if there is a script for a particular display before you buy it.
Thanks, I'm aware of pydPiper, I tried it without luck unfortunately. I guess I should give it another try.
try thiswillb a écrit :Je cherche à utiliser Spotify-connect. Est ce quelqu'un peut me dire comment l'installer?
Code : Tout sélectionner
import logging
# Messages
STARTUP_LOGMSG = 'pydPiper starting'
STARTUP_MSG_DURATION = 5 # Sets how long that system state 'starting' will be True
# Display Parameters
DISPLAY_DRIVER='ssd1306_i2c'
#DISPLAY_DRIVER='winstar_weg'
#DISPLAY_DRIVER='hd44780'
DISPLAY_WIDTH = 128 # the width of the display in pixels
DISPLAY_HEIGHT = 64 # the height of the display in pixels
DISPLAY_SIZE = (DISPLAY_WIDTH, DISPLAY_HEIGHT)
DISPLAY_PIN_RS = 7
DISPLAY_PIN_E = 8
DISPLAY_PINS_DATA = [ 25, 24, 23, 27 ] # Raspdac V3
#DISPLAY_PINS_DATA = [ 25, 24, 23, 15 ] # Raspdac V2
#DISPLAY_I2C_ADDRESS = 0x3d
DISPLAY_I2C_ADDRESS = 0x27
DISPLAY_I2C_PORT = 1
# Page Parameters
ANIMATION_SMOOTHING = .015 # Amount of time in seconds to wait before repainting display
# System Parameters
# This is where the log file will be written
LOGFILE=u'/var/log/pydPiper.log'
#LOGFILE=u'./log/pydPiper.log'
# Logging level
#LOGLEVEL=logging.DEBUG
LOGLEVEL=logging.INFO
#LOGLEVEL=logging.WARNING
#LOGLEVEL=logging.CRITICAL
# Localization Parameters
# Adjust this setting to localize the time display to your region
TIMEZONE=u"France/Paris"
TIME24HOUR=True
#TIMEZONE=u"Europe/Paris"
# Adjust this setting to localize temperature displays
#TEMPERATURE=u'fahrenheit'
TEMPERATURE=u'celsius'
# WEATHER Parameters
# Deprecated the use of OWM. Found it to be unreliable.
# You must get your own API key from http://openweathermap.org/appid
#OWM_API = u''
# NOVA Metro area. Replace with your location.
#OWM_LAT = 38.86
#OWM_LON = -77.34
# NY Metro area. Replace with your location.
#OWM_LAT = 40.72
#OWM_LON = -74.07
# Paris Metro area. Replace with your location.
#OWM_LAT = 48.865
#OWM_LON = 2.352
# New weather source is Weather Underground
WUNDER_API = ''
WUNDER_LOCATION = '07302'
# Music Source Parameters
# Used by Volumio V1 and Moode
MPD_SERVER = u"localhost"
MPD_PORT = 6600
MPD_PASSWORD = ''
# Used by Volumio v1 and Moode
SPOP_SERVER = u"localhost"
SPOP_PORT = 6602
SPOP_PASSWORD = ''
# Used by Volumio v2
VOLUMIO_SERVER = u'localhost'
VOLUMIO_PORT = 3000
# Used by RuneAudio
RUNE_SERVER = u"localhost"
RUNE_PORT = 6379
RUNE_PASSWORD = u""
# Used by Max2Play and piCorePlayer
LMS_SERVER = u"localhost"
LMS_PORT = 9090
LMS_USER = u""
LMS_PASSWORD = u""
# Set this to MAC address of the Player you want to monitor.
# THis should be the MAC of the RaspDac system if using Max2Play with SqueezePlayer
# Note: if you have another Logitech Media Server running in your network, it is entirely
# possible that your player has decided to join it, instead of the LMS on Max2Play
# To fix this, go to the SqueezeServer interface and change move the player to the
# correct server.
LMS_PLAYER = u"00:01:02:aa:bb:cc"
Le fichier est maintenant dans :lemting a écrit :bonjour
j'ai fais l'upgrade moodeaudio 4.0--4.1
l'ecran fonctionne mais la partie power non
QQ un peut il rappeler la marche a suivre avec les fichiers a installer pour retrouver la gestion du power, vu que le logiciel a ete pas mal remanié par son concepteur
merci
Code : Tout sélectionner
sudo nano /var/local/www/commandw/restart.sh
Je me sent moins seul !Mathys a écrit :Bonjour!
Je viens aussi d'essayer Mood 4 sur le Rasptouch y a quelques jours et je rencontre le même problème, je suis bloqué sur l'interface login, je ne peux pas accéder à l'interface graphique. Si quelqu'un a trouvé une solution, dites-le s'il vous plaît. Merci!
Bonsoir,Nicko a écrit :Le fichier est maintenant dans :lemting a écrit :bonjour
j'ai fais l'upgrade moodeaudio 4.0--4.1
l'ecran fonctionne mais la partie power non
QQ un peut il rappeler la marche a suivre avec les fichiers a installer pour retrouver la gestion du power, vu que le logiciel a ete pas mal remanié par son concepteur
merciCode : Tout sélectionner
sudo nano /var/local/www/commandw/restart.sh