Git Product home page Git Product logo

Comments (17)

DesktopECHO avatar DesktopECHO commented on July 25, 2024 4

Fixed upstream thanks @Blumlaut for researching the 'right' way to check temp sensors. pi-hole/PADD#198

from pi-hole-for-android.

Dynasty-Dev avatar Dynasty-Dev commented on July 25, 2024

Also thank you for getting this to work I dont know how you did as i tried doing it manually using debian and ubuntu but linuxdeploy would not start ssh

from pi-hole-for-android.

ashishkotnala29 avatar ashishkotnala29 commented on July 25, 2024

You need to change SSH port to something other than 22 for other distributions. Try 2222 in Linux deploy settings.
As for padd not working, make sure you are connected to the internet on your device when you run the container for the first time, it updates padd.

from pi-hole-for-android.

Dynasty-Dev avatar Dynasty-Dev commented on July 25, 2024

You need to change SSH port to something other than 22 for other distributions. Try 2222 in Linux deploy settings. As for padd not working, make sure you are connected to the internet on your device when you run the container for the first time, it updates padd.

Hello! Thanks, Ive tried my own installation on debian using 2222 and other ports with no success. Also i tried running the installation multiple times with wifi and it didnt auto install padd. but thanks for suggesting to run the update padd command, i found the update padd command and it works now. Only problem is the temperature shows no sensor found on the pihole dashboard and padd. Padd also displays a few error related to temperature

from pi-hole-for-android.

ashishkotnala29 avatar ashishkotnala29 commented on July 25, 2024

being discussed here: #7

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Hello! Thanks, Ive tried my own installation on debian using 2222 and other ports with no success.

Use Dropbear SSHd instead of OpenSSH.
Or disable privilege separation in sshd_config

Regarding the temp sensor, if the sensor can't be read by Pi-hole, the old behavior was to warn you there's no temp sensor. In the next Pi-hole update, it will just skip it altogether and not display temp info on the web page. Pi-hole can read the temp sensors of some devices, others not. Pi-hole works fine otherwise.

Can you send a screenshot of your PADD issues relating to temperatures?

from pi-hole-for-android.

Dynasty-Dev avatar Dynasty-Dev commented on July 25, 2024

Hello! Thanks, Ive tried my own installation on debian using 2222 and other ports with no success.

Use Dropbear SSHd instead of OpenSSH. Or disable privilege separation in sshd_config

Regarding the temp sensor, if the sensor can't be read by Pi-hole, the old behavior was to warn you there's no temp sensor. In the next Pi-hole update, it will just skip it altogether and not display temp info on the web page. Pi-hole can read the temp sensors of some devices, others not. Pi-hole works fine otherwise.

Can you send a screenshot of your PADD issues relating to temperatures?

Thank you for the solution, good to know it will be removed soon but its unfortunate I won't be able to see the temperature of my device.
Putty

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

What is the output of:
cat /sys/class/thermal/thermal_zone0/temp

from pi-hole-for-android.

SpidaXS avatar SpidaXS commented on July 25, 2024

cat: /sys/class/thermal/thermal_zone0/temp: Input/output error

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Your phone doesn't report temperatures in the 'usual' place.

How about:
cat /sys/class/hwmon/hwmon0/temp1_input
If that doesn't return a value like 32125 or similar, what is the output of:
grep . /sys/class/thermal/*/*

from pi-hole-for-android.

SpidaXS avatar SpidaXS commented on July 25, 2024

Your phone doesn't report temperatures in the 'usual' place.

How about: cat /sys/class/hwmon/hwmon0/temp1_input If that doesn't return a value like 32125 or similar, what is the output of: grep . /sys/class/thermal/*/*

Hey, got an output of "29500" by running cat /sys/class/hwmon/hwmon0/temp1_input

from pi-hole-for-android.

Dynasty-Dev avatar Dynasty-Dev commented on July 25, 2024

What is the output of: cat /sys/class/thermal/thermal_zone0/temp

got an input error, with cat /sys/class/hwmon/hwmon0/temp1_input I get a value returned

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Patch PADD with this command, then see if it works:

sudo sed -i 's#/sys/class/thermal/thermal_zone0/temp#/sys/class/hwmon/hwmon0/temp1_input#g' /bin/padd

from pi-hole-for-android.

Dynasty-Dev avatar Dynasty-Dev commented on July 25, 2024

Patch PADD with this command, then see if it works:

sudo sed -i 's#/sys/class/thermal/thermal_zone0/temp#/sys/class/hwmon/hwmon0/temp1_input#g' /bin/padd

Wow, I can see temps fine now! Thank you! Could this somehow be implemented on the pihole dashboard too?
Temp

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on July 25, 2024

Maybe. Try this one-liner and reload the web page:
sudo sed -i 's#/sys/class/thermal/thermal_zone0/temp#/sys/class/hwmon/hwmon0/temp1_input#g' /var/www/html/admin/scripts/pi-hole/php/header.php

from pi-hole-for-android.

Dynasty-Dev avatar Dynasty-Dev commented on July 25, 2024

wow, thank you so much. temps are being reported now
temphole

from pi-hole-for-android.

SpidaXS avatar SpidaXS commented on July 25, 2024

Patch PADD with this command, then see if it works:
sudo sed -i 's#/sys/class/thermal/thermal_zone0/temp#/sys/class/hwmon/hwmon0/temp1_input#g' /bin/padd

temperature is working now! thank you a lot! <3

from pi-hole-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.