helgeerbe / picframe

Picture frame viewer for raspi, controlled via mqtt and automatticly integrated as mqtt device in homeassistant.
MIT License
110 stars 32 forks source link

Black screen after boot #408

Closed doblerguy closed 2 weeks ago

doblerguy commented 3 weeks ago

Pulling my hair out here. Had everything working great and now when I reboot, I see the pi go through it's boot sequence and then I am presented with a black screen and a "no signal" message. What's odd is that I had it working and then when I added MQQT into the mix it seemed to be when the black screen started.. But that could just be coincidence.

helgeerbe commented 3 weeks ago

Hi, could be a problem, if picframe can‘t connnect to your broker initial.

doblerguy commented 3 weeks ago

thanks for the response! total noob here. How would I add the logfile to the YAML? And how would it "break" if I had everything including MQTT setup and working in home assistant?

helgeerbe commented 3 weeks ago

Check picframe configuration.yaml

log_level: "WARNING" # default=WARNING, could beDEBUG, INFO, WARNING, ERROR, CRITICAL log_file: "/home/pi/picframe.log" # default="" for debugging set this to the path to a file. NB logging messages will

This will create a logfile.

Picframe might have a problem connecting to your broker. E. g. Typo in password.

doblerguy commented 3 weeks ago

I think I cracked the code.... It looks like pictureframe requires a MQTT username and password? If you try to go without it (as per the MQTT setup from Wolfgang's blog) you end up with the blackscreen. I added a username and password for MQTT and then added that to the config and boom. No more black screen.