HestiaPi / hestia-touch-openhab

OpenHAB2 files for HestiaPi Touch model
GNU General Public License v3.0
60 stars 17 forks source link

IP info displays error when no wi-fi #53

Closed jaythomas closed 4 years ago

jaythomas commented 4 years ago

Expected: When there is no wi-fi, display nothing (empty string)

Actual results: A curl error is displayed, pushing the rest of the system info off the LCD screen 20200530_162014

gulliverrr commented 4 years ago

I believe this is sorted by this commit. Could you please check the contents of your home/pi/scripts/getpublicip.sh if it has this extra while check on the top? This will be merged on the next image to be released 1.2.

jaythomas commented 4 years ago

I believe this does the trick, but if not I will re-open if I see the issue again. Thanks.