Go to advanced search

by PhilBr
Fri Nov 12, 2021 4:23 pm
Forum: Beginners
Topic: stop a program from within a program or use crontab?
Replies: 6
Views: 139

Re: stop a program from within a program or use crontab?

Why not just have one program - check the time of day and adjust temperature accordingly?
Phil
by PhilBr
Wed Jun 09, 2021 4:49 pm
Forum: Python
Topic: Python code for Speed Monitoring (Mbps)
Replies: 2
Views: 650

Re: Python code for Speed Monitoring (Mbps)

If it's not too late for a reply I'll chip in.
I have found the broadband quality monitor to be helpful. It's here:
https://www.thinkbroadband.com/broadban ... ng/quality
Low quality will result in reduced speed.
hth
Phil
by PhilBr
Tue Jun 08, 2021 4:32 pm
Forum: General discussion
Topic: Shingle disk support
Replies: 0
Views: 130

Shingle disk support

I am considering refreshing my mythtv (TV recorder) system. I’m looking at a Pi4/Raspbian system with SSD for boot, system, database and initial recordings plus a large 4TB or 5 TB disk (Ext4 format) to which I’ll migrate older recordings. I expect that I'll only be able to get shingle / SMR devices...
by PhilBr
Sun Apr 18, 2021 9:02 pm
Forum: Beginners
Topic: Giving Phone, sms alert to smart phones
Replies: 6
Views: 453

Re: Giving Phone, sms alert to smart phones

You could also look at Textlocal. Both email and an API.
by PhilBr
Wed Mar 17, 2021 6:23 pm
Forum: Advanced users
Topic: Dumping L3
Replies: 2
Views: 436

Re: Dumping L3

It may help if you explain what you mean by L3.
Do you mean the memory cache? Why do you want to?
Phil
by PhilBr
Wed Mar 17, 2021 6:10 pm
Forum: Troubleshooting
Topic: Pi zeros behave different
Replies: 13
Views: 847

Re: Pi zeros behave different

What is an MPU? Which wireless adaptor?
Phil
by PhilBr
Thu Mar 11, 2021 11:38 pm
Forum: Beginners
Topic: Software recommendation - HTPC
Replies: 2
Views: 330

Re: Software recommendation - HTPC

Have you looked at mythtv? It is great for TV recordings but you can use kodi as a front-end if you prefer it.
Phil
by PhilBr
Thu Mar 11, 2021 11:10 pm
Forum: Beginners
Topic: Inductive proxemity sensor only detecting state at app lauch
Replies: 1
Views: 88

Re: Inductive proxemity sensor only detecting state at app lauch

The supply voltage for that device seems to be 6 to 36 volts so it may well not operate at 5 volts. Even with a suitable supply voltage, the output will almost certainly switch from zero/low to supply voltage which will need dropping to 3 volts with a voltage divider or an opto-isolator otherwise yo...
by PhilBr
Sun Mar 07, 2021 10:51 am
Forum: Beginners
Topic: Mounted USB read only
Replies: 2
Views: 150

Re: Mounted USB read only

I'm no expert but can you write to the disk from the pi?
What are the permissions on the folder /media/pi/Volume ?

Code: Select all

ls -ld /media/pi/Volume
Phil
by PhilBr
Sun Mar 07, 2021 10:22 am
Forum: Beginners
Topic: STICKY: USB Ethernet Gadget A Beginner's Guide
Replies: 48
Views: 9239

Re: USB Ethernet Gadget A Beginner's Guide

Thanks for your work on this. Looks very useful.
Moderator:. Would you make this a sticky please!
Phil
by PhilBr
Wed Feb 24, 2021 10:29 pm
Forum: Troubleshooting
Topic: Raspberry pi 4 faulty memory?
Replies: 5
Views: 280

Re: Raspberry pi 4 faulty memory?

I agree that modern RAM is very reliable, but the memory test does point to a fault in RAM, addressing and/or cache. I don't see that changing memory allocation for Java will address that.
Phil
by PhilBr
Sat Feb 06, 2021 6:20 pm
Forum: Beginners
Topic: File copy from Pi to Synology NAS
Replies: 6
Views: 687

Re: File copy from Pi to Synology NAS

Great!
Out of interest, did you have to put username and password in fstab?
Phil
by PhilBr
Fri Feb 05, 2021 3:10 pm
Forum: Beginners
Topic: File copy from Pi to Synology NAS
Replies: 6
Views: 687

Re: File copy from Pi to Synology NAS

Sorry for the delay - dredging my memory. I agree that this is a lot more tricky than it should be and I don't profess to be an expert. My pi is headless and is used to take nightly NAS 'snapshots' via rsync (google "Mike Rubel snapshots" for the mechanism if interested) as well as DHCP an...
by PhilBr
Tue Feb 02, 2021 9:28 pm
Forum: Beginners
Topic: File copy from Pi to Synology NAS
Replies: 6
Views: 687

Re: File copy from Pi to Synology NAS

You have done all the hard work.
Instead of

Code: Select all

cp sense5.csv    mnt/SynologyNAS/sense4.csv
I think you need a / in front of the mnt

Code: Select all

cp sense5.csv   /mnt/SynologyNAS/sense4.csv
You will also need to check that the folder /mnt/SynologyNAS exists.
Hth
Phil
by PhilBr
Sun Jan 24, 2021 10:28 pm
Forum: Beginners
Topic: Controlling relay over wifi...
Replies: 9
Views: 17574

Re: Controlling relay over wifi...

Tplink kasa units look promising but I have not used them myself. They have a python API.
https://pypi.org/project/tplink-cloud-api/
Phil
by PhilBr
Sat Jan 23, 2021 6:46 pm
Forum: Beginners
Topic: New to rpi and Hyperion
Replies: 1
Views: 652

Re: New to rpi and Hyperion

Pi has a steep learning curve but you will get there. Others are suggesting that NOOBS is no longer recommended - but your setup should still work. You could buy an inexpensive USB/SD card reader (probably even available at a supermarket) to load Raspbian. Why won't your laptop connect? I presume th...
by PhilBr
Wed Jan 20, 2021 10:33 pm
Forum: Advanced users
Topic: Check for Network Drive on Regular Basis
Replies: 8
Views: 384

Re: Check for Network Drive on Regular Basis

You could check existence of a file on the nas. If it is missing then the nas is no longer mounted.
Phil
by PhilBr
Fri Jan 15, 2021 9:55 am
Forum: General discussion
Topic: not enough volume 3.5mm jack and Destop
Replies: 31
Views: 4208

Re: not enough volume 3.5mm jack and Destop

Ah! I see. Thanks for the clarification. The ground and video of the 4 pole both mate with the ground of the 3 pole.
Phil.
by PhilBr
Fri Jan 15, 2021 3:40 am
Forum: General discussion
Topic: not enough volume 3.5mm jack and Destop
Replies: 31
Views: 4208

Re: not enough volume 3.5mm jack and Destop

That's right. The socket on the pi is not standard 3 pole stereo. The OP said she uses the 3.5mm (green) plug from the monitor and directly into the pie I assume that the green plug is 3 pole and so will not mate properly with the ground,left and right of the 4 pole on the pi. Won't they need a 4 po...
by PhilBr
Wed Jan 13, 2021 3:11 pm
Forum: General discussion
Topic: not enough volume 3.5mm jack and Destop
Replies: 31
Views: 4208

Re: not enough volume 3.5mm jack and Destop

The pi4 has a 4 pole jack socket. Most stereo jacks are 3 pole.
Is/was that the problem?
Phil
by PhilBr
Wed Jan 06, 2021 9:03 pm
Forum: Python
Topic: Log internet status to txt file
Replies: 4
Views: 477

Re: Log internet status to txt file

Have you seen the broadband quality monitor on the thinkbroadband web site? Find it under tools. It does the job for you and gives a nice graph. A great little tool.
You might also need ipecho.net to get your IP address.
Hth
Phil
by PhilBr
Thu Dec 31, 2020 5:10 pm
Forum: Troubleshooting
Topic: New Problems Mounting NAS on Buster (5.4)
Replies: 3
Views: 242

Re: New Problems Mounting NAS on Buster (5.4)

I am no expert but is the order wrong? Should the -o be before the device?
https://www.geeksforgeeks.org/mount-com ... -examples/

sudo mount -t cifs -o rw,vers=2.0,username=admin,password=XX //192.168.1.103/Public /home/pi/myNAS/myShare

Phil
by PhilBr
Wed Dec 23, 2020 10:48 pm
Forum: Beginners
Topic: NAS drive will not mount on pi
Replies: 3
Views: 276

Re: NAS drive will not mount on pi

Is it a Synology NAS? Did you update it recently? If you still have the problem after you have resolved the addressing problem Thagroy has identified then it looks identical to the problem I hit last week with both Ubuntu and Pi NFS mounting the NAS. https://community.synology.com/enu/forum/1/post/1...
by PhilBr
Tue Dec 15, 2020 8:31 pm
Forum: Troubleshooting
Topic: ~/.asoundrc disappeared ?
Replies: 17
Views: 1854

Re: ~/.asoundrc disappeared ?

I had a similar problem with a video config file being overwritten. It was not a pi - Ubuntu and mythtv but the principle is the same. I would have preferred to understand why but solved it by making the file immutable. Fixed the problem but I have to remember to reverse the change if I want to re-p...
by PhilBr
Tue Dec 15, 2020 2:57 pm
Forum: Troubleshooting
Topic: How to make HDD stay in silent mode (sleep, idle, standby...) when is not used.
Replies: 19
Views: 1375

Re: How to make HDD stay in silent mode (sleep, idle, standby...) when is not used.

A correction to my previous posting. After a change in configuration (adding a usb stick) the spinning disk changed from /dev/sda to /dev/sdb. Just as we need to specify disk more carefully in fstab for example by using uuids we need a similar thing for the hdparm in /etc/rc.local. I replaced this: ...

Go to advanced search