Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Gus

  1. Gus

    RPI camera motion alerts

    Unsure why that didn't work as it worked for me, I will need to look into it further.
  2. Each USB port will have a unique name. You should be able to see the name of your USB drive by using the following command. ls /media/pi/ It should look something like IC50-B61A If you're on Raspbian lite then you will need to do it manually by doing something like what's explained in this tutorial. Alternatively you can try using the usbmount package. If drive is formatted in either exFAT or NTFS then you will need to install the appropriate packages.
  3. Gus

    Question With NGINX Pi Build

    Most likely means your Nginx configuration is incorrect or the required PHP packages aren't installed. If PHP is definitely installed, I would run back through step 3 to 6 and double check for any mistakes. If you continue to have problems let me know and I will look into it further. Also, can you provide config files, and any other information that might help with troubleshooting?
  4. A great change for students, freelancers and anyone else using the free version of GitHub as you can now create as many private repositories as you want. More Information Here: https://pimylifeup.com/news-unlimited-github-private-repositories/
  5. Gus

    RPI camera motion alerts

    Ok, I identified the issue with the videos/snapshots not saving. You will need to make a directory and give Motion permission to write into it. For example. sudo mkdir /motion sudo chgrp motion /motion sudo chmod g+rwx /motion Then inside the motion config file, change target_dir to the folder. target_dir /motion As for the motion saving in a new folder for each day, I am not entirely sure if this is possible. Will need to look through the Motion documentation. If not via motion, it may be possible to set up a cron that organises the files into folders at the end of each day.
  6. In step 2, you replace the /media/NASHDD1/test with the path to your images. Your images can be anywhere you wish but you need to update that part of the command. If you don't update it, then it will throw that error as the path unlikely exists. There are no default images for feh to display.
  7. Gus

    RPI camera motion alerts

    This issue is tricky, the way I fixed it was to turn off the following two options in the motion.conf file. output_pictures off ffmpeg_output_movies off However, you will want to keep output_pictures on. So, you can try tinking with the options around that to see if that prevents it freezing. Another option is to update the latest version. So, first remove the old package. sudo dpkg -r motion Next, we need to install some new packages. sudo apt-get install libsdl2-2.0-0 libavdevice57 Now, we need to download the new motion release for Stretch. sudo wget https://github.com/Motion-Project/motion/releases/download/release-4.2.1/pi_stretch_motion_4.2.1-1_armhf.deb Lastly, install motion again. sudo dpkg -i pi_stretch_motion_4.2.1-1_armhf.deb Hopefully this helps resolve the freezing issue.
  8. I have since pushed an update to the tutorial so you should no longer get the error when installing VSC.
  9. This photo-frame tutorial should be exactly what you're after. It's very basic, and has been working very well for me.
  10. In your Python update the while loop to be something like this. while True: f = open("temps.log", "a") f.write((read_temp()) time.sleep(1) I haven't tested it, but in theory it should work. It will simply write to a file called temps.log instead of the command line.
  11. Gus

    Raspberry Pi 3 Google Assistant service

    Looks like it is trying to start the Assistant too early or there is issues with pulseaudio. I will need to look into this, @Emmet thoughts?
  12. Gus

    I need this to work before Christmas

    The package feh doesn't currently exist in the package list. It is still available so it's likely your package list isn't up to date. Try running the following command before trying to install feh. sudo apt-get update Let me know if that works, otherwise we will need to troubleshoot further.
  13. Gus

    Google Assistant

    Are you running this on a Raspberry Pi zero? Just browsing through some Github issues there may be an issue with the hotword service starting correctly. Typically erroring with "illegal instruction". This Github topic may have a solution: https://github.com/googlesamples/assistant-sdk-python/issues/235 I will need to look into this more and test.
  14. Gus

    will not execute on boot up

    Hi @PiLover, I will need to go back through the tutorial and test to see if i can recreate the issue you're having. It's possible that boot sequence has changed thus the script is being called at the wrong time. In the meantime, you can try increasing the sleep time and see if that will fix the issue.
  15. Gus

    Permission denied with Transmission

    What's the user for Transmission now? You will need to add it to a group that has permissions to write into the NAS folders. If the Pi user can make directories, files etc. then add the user to the pi group.
  16. Gus

    Permission denied with Transmission

    You will need to give permission to transmission to be able to write in these directories. First, you need to check who owns the files/folders. Something like the following should get you the right information ls -l /home/piuser/MyNAS/ It might be something like pi pi or root root. I recommend not giving the transmission user root rights for security reasons. Next, you need to give Transmission rights to write in the folders. You can add transmission to a group by running something like. usermod -aG pi debian-transmission This should give permission to Transmission, but it will need to be tested.
  17. Gus

    apache webserver and htaccess

    If you only made changes to the htaccess and htpasswd files then it's likely something you did has broken the server. I recommend reverting the changes and then slowly add your changes again. Constantly check to see if something breaks. You can also view Apache log for errors, typically located at /var/log/apache2/access.log
  18. Gus

    nukkit server update mcpe

    We have updated our Minecraft PE server tutorial. This will work with Minecraft 1.7 and hopefully future versions of the game.
  19. Gus

    ERROR 404: NOTOK

    Hi @Gray We have updated the tutorial and you should no longer receive the 404.
  20. Gus

    NAS and Plex?

    Hi @flattrump, No, it shouldn't mess up your Plex server. However, I do recommend backing up the SD card so that if something does go wrong you can easily revert.
  21. The Raspberry Pi 3 Model A+ has been announced and is now available for sale. It features the following specs. Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz 512MB LPDDR2 SDRAM 4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN Bluetooth 4.2/BLE Extended 40-pin GPIO header Full-size HDMI Single USB 2.0 CSI camera port DSI display port 4-pole stereo output and composite video port Micro SD port for loading your operating system and storing data 5V/2.5A DC power input There will also be a official Raspberry Pi case available for the Model A+ early December.
  22. Thanks Mike, the script must have been updated since I did the tutorial, I will look at updating the tutorial asap.
  23. Gus

    OPENVPN RPI3 AP Leaking DNS.

    Preventing DNS leaks section in this tutorial worked for me https://pimylifeup.com/raspberry-pi-nordvpn/ I made use of Cloudflare's DNS, but OpenDNS should also work. The device you're using to connect might also be causing the DNS leak. I would also recommend changing the DNS on those devices. You might also want to disable WebRTC on your smartphone to prevent leakage.
  24. Excellent, glad to hear that you got the audio working correctly. This question appears to address the issue of setting the language of the Google assistant. https://stackoverflow.com/questions/48017507/how-do-i-change-the-language-locale-in-the-google-assistant-sdk Can set in the Google Assistant devices settings (Google Assistant > Explore > Settings > Devices) or you can simply use an argument. --lang en-uk