SugarPiDisplay icon indicating copy to clipboard operation
SugarPiDisplay copied to clipboard

Do not work for me :(

Open antoniomuniz opened this issue 3 months ago • 1 comments

Good morning,

Sorry because I'm new to this, I simply have a daughter with diabetes and the truth is that I am doing everything possible to make it work for me.

I have carried out all the steps as they are on Github, but I cannot get the information on the screen. Could it be a driver issue?

Can you tell me what I would need to provide to verify what my problem is?

I have to run: sudo python3 -m sugarpidisplay - Manually so that the panel to configure Dexcom appears (and it still does not appear)

Thank you!

Buyed

Raspberry Pi Zero W with soldered pin headers. 4GB microSD card Waveshare 2.13inch E-Ink display HAT (monochrome)

I do

Flash the microSD with Raspbian-Lite Active SSH and SPI on raspi-config

sudo apt-get install python3-pip sudo apt-get install libopenjp2-7 libtiff5 sudo apt-get install git cd ~/ git clone https://github.com/bassettb/SugarPiDisplay.git pip3 install SugarPiDisplay/ cd $HOME/SugarPiDisplay sudo cp -f network-check.cron /etc/cron.d/network-check sudo cp -f sugarpidisplay.init /etc/init.d/sugarpidisplay sudo chmod 755 /etc/init.d/sugarpidisplay sudo update-rc.d sugarpidisplay defaults sudo service sugarpidisplay start sudo service sugarpidisplay status

(I cant acces to 192.168.1.51:8080) and ejecute:

python3 -m sugarpidisplay

Now i can access to 192.168.1.51:8080 and config my dexcom (I also tried nightscoult)

Reboot

Nothing happens... :(

antoniomuniz avatar Mar 05 '24 14:03 antoniomuniz

I have found the problem and it is that it does not show me an image because I have the V3 screen. I had to modify the epaper_display.py file, changing V2 to V3 and I can now see data on the screen.

import sugarpidisplay.epd2in13_V2 as epd2in13 to -> import sugarpidisplay.epd2in13_V3 as epd2in13

But, the data only appears when I execute: ./sugarpidisplay.sh

When I do Ctrl + C I lose the image on the screen and I can't recover it.

The arrow does not appear on the screen either.

antoniomuniz avatar Mar 06 '24 09:03 antoniomuniz