Hello @auch1 and welcome to the forum
That does not sound fun at all so lets dig right into it and find whats wrong:
The HTML loader is working in the following way:
- The HTML is using one DIV to show the graphics, countdown etc and another hidden DIV that is trying to load the HABPanel URL (http://localhost:8080/habpanel/index.html#/view/HestiaPi) every x seconds.
- Every y seconds its checking if the hidden DIV loaded the HABPanel which means that OpenHAB finally finished loading. This does take a long time in RasPi Zero indeed.
- If this happens, it redirects to it and once this is done, you should see that on the LCD
We have seen sometimes this to take even longer for the first time, causing Chromium to freeze, so we increased the x and y times. Your 222 sounds like an old value. Can you please update openhabloader.blank.html (very important!), openhabloader.html and openhabloader.sh and try again? This should at least solve the problem that the UI is not loaded at the end of the loading script.
What you are missing is that HABPanel by default is looking at your browser cookies to see what it should load and your computerās browser knows nothing. RasPiās browser loading the LCD UI knows more
In order to load on your computer the same UI, even though it is not supposed to be used outside the LCD, follow these steps:
- Visit http://[RasPi_IP]:8080
- Click on HABPANEL
- Click on the burger menu (the three dashes) on the top left corner
- Click on the gear icon bottom left next to the clock
- Select āPanel configuration: Server Storageā
- Press OK on the popup
- Click on the burger menu again on the top left corner
- Choose HESTIAPI
The resistive LCDs are generally less fancy than our SmartPhonesā We have tested in the past capacitive touchscreens which rock indeed but come in much larger sizes and almost double the total cost of BOM so we left it there.
Right now there is even another extra issue with a misscalibration that we havenāt shorted. Your actual pressing point is about 4-5mm further from the point you actually touch in the direction towards the centre of the screen, making small icons at the edges of the screen hard to select, but the way the UI is designed should not cause any trouble with this issue as the buttons are big enough to compensate on the misscalibration until we fix it. You found first Use the cap of a pen or anything pointy but not sharp to double tap on the Chromium icon on the desktop.
Try that:
DISPLAY=:0.0 sudo -u pi /usr/bin/chromium-browser --disable-restore-session-state --disable-web-security --user-data-dir --noerordialogs --disable-session-crashed-bubble --disable-infobars --kiosk /home/pi/scripts/openhabloader.html &
Can you check the voltage on the āgoodā relay while it is activated and while it deactivated and compare it to the ābadā relay while it is supposed to be activated and while it is supposed to be deactivated.