New answers tagged

1

I had previously used the Adafruit code but found it unreliable and rather restrictive. I now use Joan's pigpio code, and found it quite reliable. See https://raspberrypi.stackexchange.com/a/105549/8697 I wrote my own wrapper around the DHT.py module to make things easier (Joan writes great code, but the documentation is very sparse). This has been running ...


2

Run my DHTXX script. It requires the pigpio daemon do be running. sudo pigpiod It expects the Broadcom number of the GPIO connected to the data line. E.g. ./DHT.py 4 to read a sensor connected to pin 7. Refer to https://pinout.xyz/


0

I have found it easier to change the cmdline.txt and config.txt first then use the following command: ssh user@hostname.local Hostname being the pi's hostname. The user being the username of the pi you want to ssh into. It will then ask you for your password. "password" password being your pi's password for the user you have selected.


2

You can set a special SSID (WiFi network) to the wpa_supplicant.conf: nano /etc/wpa_supplicant/wpa_supplicant.conf Add these details of your SSID to that config file like: network={ ssid="testing" psk="testingPassword" } You can find more about it here. I do not want to edit wpa_supplicant.conf every time it discover another network. ...


Top 50 recent answers are included