Go to advanced search

by Bope
Mon Jun 29, 2020 3:49 pm
Forum: Beginners
Topic: New install of Plex MS but managing metadata better !
Replies: 2
Views: 89

Re: New install of Plex MS but managing metadata better !

This seems to be more of a Plex issue than a Pi issue. I would try asking on a Plex forum to see if it has the option to relocate the metadata.
by Bope
Fri Jun 26, 2020 1:59 pm
Forum: Beginners
Topic: Symbolic link on shared volume
Replies: 6
Views: 491

Re: Symbolic link on shared volume

Hardlinks did the trick. I used ln instead of ln -s. the relative link didn't work but it might also not have built properly in my script. Since the hardlinks work and all it took was deleting -s from one line I think I will stick with that.
by Bope
Fri Jun 26, 2020 12:48 pm
Forum: Beginners
Topic: Symbolic link on shared volume
Replies: 6
Views: 491

Re: Symbolic link on shared volume

Doing some more homework I realized I need to change my symlinks form absolute to relative. I also read somethings about hardlinks that looked like an easier change to my script but MacOS might have limited that option too much. I have a couple other problems with my script when trying to change to ...
by Bope
Fri Jun 26, 2020 12:15 am
Forum: Beginners
Topic: Symbolic link on shared volume
Replies: 6
Views: 491

Re: Symbolic link on shared volume

I don't know how I would try to follow them in the terminal They were created like this:
ln -s /Martha/EyeTV Archive/<ShowName> /Martha/TV DB/<ShowName>/<Season>/<EpisodeName>

I am betting this would be considered an absolute not relative. Do they need to be relative?
by Bope
Thu Jun 25, 2020 7:04 pm
Forum: Beginners
Topic: Symbolic link on shared volume
Replies: 6
Views: 491

Re: Symbolic link on shared volume

These are symlinks created by shell script command in an applescript. They are not aliases.
by Bope
Thu Jun 25, 2020 6:07 pm
Forum: Beginners
Topic: Symbolic link on shared volume
Replies: 6
Views: 491

Symbolic link on shared volume

I have mounted an NFS volume on my Pi. I want to be able to follow symbolic links on that shared volume. The symbolic links point to other files in different folders on the same volume. I have mounted the whole volume and have allowed access to all subfolders. The NFS server is a Mac running OSX. On...
by Bope
Thu Jun 25, 2020 12:34 am
Forum: Beginners
Topic: Boot Failed
Replies: 1
Views: 111

Re: Boot Failed

Fixed it. Took the SD card out of my Zero and booted from that SD card. Mounted the other SD card with a USB and edited the fstab file. Replaced the SD cards into the appropriate Pis and all works again.
by Bope
Wed Jun 24, 2020 10:07 pm
Forum: Beginners
Topic: Boot Failed
Replies: 1
Views: 111

Boot Failed

I was trying to mount a network drive and added the line //192/168/0/101/Martha /home/pi/TV cifs guest,_netdev 0 0 to the etc/fstab file. Now when I restart I get the 4 raspberries at the top of the screen then [FAILED] Failed to mount /boot. see 'systemctl status boot.mount' for details [DEPEND] De...
by Bope
Thu Feb 06, 2020 5:22 pm
Forum: Beginners
Topic: GPIO outputs
Replies: 11
Views: 1205

Re: GPIO outputs

I am not an electronics engineer so I can't tell you definitively. I would bet it is going to depend on the location and the amount of EMF signal in the area.
by Bope
Wed Feb 05, 2020 5:20 pm
Forum: Beginners
Topic: GPIO outputs
Replies: 11
Views: 1205

Re: GPIO outputs

You can use a software fix but you are more likely to make the button feel unresponsive or have some random triggers. The hardware overhead is negligible to the cost you have already spent. The long wire is acting as an antennae. You could try something like coax cable if you ground the shielding.
by Bope
Tue Feb 04, 2020 5:48 pm
Forum: Beginners
Topic: GPIO outputs
Replies: 11
Views: 1205

Re: GPIO outputs

You are picking up EMF on the long wire. I had the same problem with one of my projects. Use a 2N2222 transistor. Set the GPIO to high and connect to the collector. Set emitter to ground. Wire from your switch to the base with a resistor. Prior to the resistor connect a small capacitor and resistor ...
by Bope
Wed Jan 29, 2020 5:05 pm
Forum: Beginners
Topic: I keep running into road blocks.
Replies: 13
Views: 994

Re: I keep running into road blocks.

Here is a link to code for software PWM.

https://www.mbtechworks.com/projects/ra ... i-pwm.html
by Bope
Tue Jan 28, 2020 5:55 pm
Forum: Beginners
Topic: I keep running into road blocks.
Replies: 13
Views: 994

Re: I keep running into road blocks.

You can use software PWM on any of the I/O pins.
by Bope
Mon Nov 11, 2019 11:15 pm
Forum: Beginners
Topic: Power on / off button for Pi
Replies: 19
Views: 34200

Re: Power on / off button for Pi

Isn’t that powerblocking button still using GPIO 3? Gautama, everything in this thread also pertains to your pi zero. Using the GPIO pins does not actually power up/down your pi, it just puts it in standby mode. To actually shutdown your pi go to the menu and select shutdown. When complete unplug th...
by Bope
Mon Nov 11, 2019 10:59 pm
Forum: Beginners
Topic: Pulsing LED
Replies: 8
Views: 717

Re: Pulsing LED

I looked at my pi this evening and the program had crashed. I had an error that looked like it couldn’t start another thread. It may have been trying to start a new thread flashing the led every 5 min. I moved the line and will see if the flashing stays consistent. I also tried the pulse() from gpio...
by Bope
Sun Nov 10, 2019 8:17 pm
Forum: Beginners
Topic: Pulsing LED
Replies: 8
Views: 717

Re: Pulsing LED

So I finally got back to this project. I got the threading working so the LED will flash while the rest of the program does it's thing. What I ended up doing is just turning an output on for 0.75sec and then off for 0.5sec. That thread just keeps looping. The main program checks the status of 4 GPIO...
by Bope
Sat Nov 02, 2019 4:34 pm
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

Fixed the body of the message. I used the email.mime library that pcmanhbob showed and that worked.
by Bope
Sat Nov 02, 2019 3:54 pm
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

So I have done more testing. If I put a print(server) after server=smtplib... I get <smtplib.SMTP object at 0xb6294430>. I am assuming that is some memory location since it changes each time I run the script. I get this output only with smtp-server.rochester.rr.com, 587 or smtp.mail.com, 587. If I u...
by Bope
Fri Nov 01, 2019 12:21 pm
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

My gmail username and password are only letters and numbers, no special characters. Here is an example of my code import smtplib print ('1') server = smtplib.SMTP("smtp.gmail.com",587) print ('2') server.starttls() print ('3') server.login(email_user,email_password) What is confusing me is the outpu...
by Bope
Fri Nov 01, 2019 12:46 am
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

I had 2-factor authentication turned on so I had an app specific password. This worked on Oct 1st. I turned off 2-factor so I could turn on less secure apps. This still does not get past the set up of the SMTP server. If it was an account issue shouldn't the script be hanging up at the server.login ...
by Bope
Thu Oct 31, 2019 10:37 pm
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

Well I tired several other email services. gmail using port 587 or 485 and hotmail using 587 just hang at the server=smtplib.SMTP line. Mail.com lets me setup the server but then pukes at the login. It seems the only one that reliably works for me is my roadrunner amount through my ISP.
by Bope
Thu Oct 31, 2019 4:40 pm
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

I don't remember exactly what errors I was getting. I think it was just hanging at that line like it is now. I had my trial code with both your line and the 587 line and would comment out one or the other. I was just happy to get something working. I had also tried using push notifications with Push...
by Bope
Thu Oct 31, 2019 12:23 pm
Forum: Beginners
Topic: PIR Sensor Multiple Actions
Replies: 6
Views: 520

Re: PIR Sensor Multiple Actions *Time Sensitive*

I would write only one def and use the counter to build the name of the sound file. This way you can easily add of subtract sound files as needed with out having to write or delete def. Something like this: x=1 def MOTION(x): sound_file = ('aplay SOUND' + x + '.wav') print('motion ' x ' detected') o...
by Bope
Thu Oct 31, 2019 11:41 am
Forum: Beginners
Topic: Pulsing LED
Replies: 8
Views: 717

Re: Pulsing LED

Opening and closing the valve have nothing to do with the signal lines. There are 2 more lines to the valve carrying 24V that are used to open and close the valve. Also the valve stays in its open or closed state no matter what happens to the power. It is a ball valve not a solenoid.
by Bope
Thu Oct 31, 2019 11:37 am
Forum: Beginners
Topic: email via gmail not working
Replies: 16
Views: 1150

Re: email via gmail not working

The email I am using for this project is not an email I use on a regular basis. I just went into it and noticed there was a security alert back on Oct 4. Hopefully I have that worked out now. I will try my code when I get home tonight. Now I have to figure out why the gmail app on my phone is not se...

Go to advanced search