Go to advanced search

by pfletch101
Tue Feb 18, 2020 1:44 am
Forum: Automation, sensing and robotics
Topic: Portable wireless temperature sensors
Replies: 1
Views: 73

Re: Portable wireless temperature sensors

There are a lot of temperature/humidity (and other) sensors which report their readings wirelessly on the 433 MHz band. Ambient Weather makes a number of models, but there are others. The transmissions of most of the more common ones can be picked up by means of a Software Controlled radio plugged i...
by pfletch101
Mon Feb 17, 2020 7:54 pm
Forum: General discussion
Topic: Update OS in place?
Replies: 5
Views: 118

Re: Update OS in place?

Ask your friend (since he has it running) what OS is on the SD he copied for you. It is most likely RetroPi, which (AFAIK) doesn't yet officially support the Pi 4, though I believe that it may be possible manually to install that OS on the newest Pi.
by pfletch101
Sat Feb 08, 2020 10:05 pm
Forum: Python
Topic: Can you call a url from a python script?
Replies: 10
Views: 384

Re: Can you call a url from a python script?

Thanks for all the suggestions. I will try them hopefully soon. One thing to clarify is what I meant by hard coding. My present plan is to put the scheduled curtain openings in the crontab. Of course (at least to my understanding) is I will have to edit the crontab from linux. I would prefer to giv...
by pfletch101
Sat Feb 08, 2020 4:38 pm
Forum: General discussion
Topic: Email - a bit of hep needed.
Replies: 3
Views: 183

Re: Email - a bit of hep needed.

There are at least two possible issues: 1) If you are relaying to all destinations through the SMTP server for your domain (assuming that it is hosted by an ISP on the general internet), you may need to tell postfix that it is the mail server for your domain (not for a subdomain). I have had problem...
by pfletch101
Sat Jan 11, 2020 5:21 pm
Forum: General discussion
Topic: Remote desktop error
Replies: 2
Views: 149

Re: Remote desktop error

AFAIK, Remote Desktop is a Windows program which allows a Windows system to connect to and control another Windows system. To connect to your Pi's (virtual) desktop from your Windows system, you would normally need to download and install the RealVNC client software from https://www.realvnc.com/en/c...
by pfletch101
Sun Dec 22, 2019 8:23 pm
Forum: Beginners
Topic: Cannot get headless SSH to work.
Replies: 17
Views: 658

Re: Cannot get headless SSH to work.

Windows (some versions on some days with certain planetary alignments) can be funky about creating zero length files. I.e., what I am arguing is that whichever poster was saying that creating a zero length file doesn't work did, probably, fail to create any file at all. That could be. I obviously c...
by pfletch101
Sun Dec 22, 2019 4:39 pm
Forum: Beginners
Topic: Cannot get headless SSH to work.
Replies: 17
Views: 658

Re: Cannot get headless SSH to work.

rpdom wrote:
Sun Dec 22, 2019 4:25 pm
Zero length file works for me every time.
Out of interest, do you create the file on a Windows system or on a Pi or other Unix system? The issue I had could be related to something that Windows does (or didn't/doesn't do) in creating 'empty' directory entries.
by pfletch101
Sun Dec 22, 2019 4:18 pm
Forum: Beginners
Topic: Cannot get headless SSH to work.
Replies: 17
Views: 658

Re: Cannot get headless SSH to work.

You say you created an 'empty' ssh file. Do you mean that literally? My experience is that a literally empty (zero length) file doesn't work to enable ssh on first boot. The file must contain at least one character (which can be a space character). Should work even if the file is empty I agree that...
by pfletch101
Sun Dec 22, 2019 3:23 pm
Forum: Other projects
Topic: Manufacturing Pacing Program
Replies: 7
Views: 540

Re: Manufacturing Pacing Program

In addition, the number of people at a station varies day to day, so based on how many people are working on assembly, the countdown time is more or less. Surely, the reasonable minimum time needed to complete the assembly of a part is a constant . I don't suddenly become able to work faster becaus...
by pfletch101
Sun Dec 22, 2019 3:02 pm
Forum: Beginners
Topic: Cannot get headless SSH to work.
Replies: 17
Views: 658

Re: Cannot get headless SSH to work.

You say you created an 'empty' ssh file. Do you mean that literally? My experience is that a literally empty (zero length) file doesn't work to enable ssh on first boot. The file must contain at least one character (which can be a space character).
by pfletch101
Sun Dec 22, 2019 2:52 pm
Forum: Beginners
Topic: how to get a systemd mount to come up automatically?
Replies: 4
Views: 263

Re: how to get a systemd mount to come up automatically?

Systemd is probably trying to start it before a prerequisite service (probably some aspect of networking) is up and running. Try adding After=network-online.target to the [Unit] section of the systemd unit file. This should actually wait until the network is fully up and running. Other network targe...
by pfletch101
Wed Dec 18, 2019 3:31 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3346

Re: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!

PeterO, Programme flow is not invisibly affected by line indentation,... Certainly it is. Python block delimiting is done with new lines and spaces. Non-printing characters. That is to say invisible. I have programmed in many languages, from Apple and 8088/6 assembly language, through Fortran, vari...
by pfletch101
Tue Dec 17, 2019 3:13 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 378

Re: RealVNC has suddenly become flaky

The RealVNC problems seem to be specific to my main desktop system. I can't retest RealVNC from elsewhere with the original Pi because installing TightVNC automatically uninstalls the RealVNC server, but there are no apparent problems connecting to a different Pi after installing the RealVNC viewer ...
by pfletch101
Mon Dec 16, 2019 9:45 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 378

Re: RealVNC has suddenly become flaky

I don't use Chrome - Google knows enough about me already. I have now installed TightVNC on both ends, which seems to be working for now. However, its viewer has the supremely irritating 'feature' of requiring that you enter the TightVNC connection password every time you want to connect - there app...
by pfletch101
Mon Dec 16, 2019 8:51 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 378

Re: RealVNC has suddenly become flaky

It gets worse! I uninstalled the viewer from my Windows system, removed all traces of it that I could find in the Registry, rebooted, and reinstalled the latest version. I could (and did) connect to my running Pi without problems. I just checked again, and the viewer is back to the same misbehavior.
by pfletch101
Mon Dec 16, 2019 7:55 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3346

Re: Please help! /// Seeking programming experience advice!

You wrote, in a message to me: Mainly you will get the advice that the used library is obsolete, having been written for Python2. The useful thing is the pointer to a working one... Or you -once again- have been fooled by python choosing a variable type that you did not intend to use that way... Th...
by pfletch101
Mon Dec 16, 2019 6:39 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3346

Re: Please help! /// Seeking programming experience advice!

I don't think that I have said anything that could reasonably lead you to assume that I am an idiot! Did I ever say something suitable to let you think that? You wrote, in a message to me: Mainly you will get the advice that the used library is obsolete, having been written for Python2. The useful ...
by pfletch101
Mon Dec 16, 2019 4:19 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3346

Re: Please help! /// Seeking programming experience advice!

Yes, but! :) Mainly you will get the advice that the used library is obsolete, having been written for Python2. The useful thing is the pointer to a working one... Or you -once again- have been fooled by python choosing a variable type that you did not intend to use that way... I don't think that I...
by pfletch101
Mon Dec 16, 2019 3:09 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 378

Re: RealVNC has suddenly become flaky

One thing I've noticed over the years is that using VNC to connect to my Pi from my Windows machine is that using names can be a problem but ip addresses always work It might be just windows going thru one of its phases with LAN names Thanks for the comment! As you imply, Windows networking is a PI...
by pfletch101
Mon Dec 16, 2019 3:06 pm
Forum: General discussion
Topic: PLEASE HELP!! /// SEEKING PROGRAMMING EXPERIENCE ADVICE!!
Replies: 90
Views: 3346

Re: Please help! /// Seeking programming experience advice!

If you start learning about error messages early on there is no reason for it to take years to get the required experience. While google is useful, some of us have been writing code (*) for long enough to remember how to debug code without googling for the answer. If you are "frequently lost" witho...
by pfletch101
Mon Dec 16, 2019 2:21 pm
Forum: Troubleshooting
Topic: RealVNC has suddenly become flaky
Replies: 9
Views: 378

RealVNC has suddenly become flaky

I have a number of Pis which I run headless, using RealVNC, running on a Windows 10 desktop, and have done things this way without significant problems since starting to work with Pis, almost a year ago. Yesterday, when I fired up the RealVNC viewer to connect to my 'workhorse' Pi, I was unable to d...
by pfletch101
Mon Dec 16, 2019 2:01 am
Forum: Beginners
Topic: Rocker button. Where are On-Off?
Replies: 8
Views: 382

Re: Rocker button. Where are On-Off?

I bought a Raspberry Pi 3 with a rocker button on the power supply cable. I did not understand how it works because on the switch there is nothing indicated where is the On and Off; since there is no video connected and in the absence of lights and fans it is not clear when Raspberry is working. As...
by pfletch101
Sun Dec 15, 2019 10:11 pm
Forum: General discussion
Topic: Doesn't the Raspberry case disturb the wifi signal?
Replies: 3
Views: 290

Re: Doesn't the Raspberry case disturb the wifi signal?

Hey guys I am thinking of buying an aluminum cover. Wouldn't that disturb the Raspberry (4b) wifi and Bluetooth signal? I am using a Flirc case for my 4B, and I run it headless over WiFi without any problems. However, it is just the other side of an interior wall from the fairly high-end WiFi acces...
by pfletch101
Sun Dec 15, 2019 9:56 pm
Forum: General discussion
Topic: SD card or Micro SD card?
Replies: 17
Views: 740

Re: SD card or Micro SD card?

Okay, it can be read correctly, but it is ambiguous. (What is the scope of "original"?) Two possible alternatives: The original Raspberry Pi Model A and original Raspberry Pi Model B require full-size SD cards. All newer models of Raspberry Pi require micro SD cards. The original Raspberry Pi Model...
by pfletch101
Thu Dec 12, 2019 6:18 pm
Forum: Raspbian
Topic: Buster bug report thread
Replies: 297
Views: 60450

Re: Buster bug report thread

emma1997 wrote:
Thu Dec 12, 2019 6:15 pm
Space character %20 is hex (aka $20, 0x20, 20H, 32dec 0b0010000 etc). IIRC octal would be 040.
You're right, of course. Put it down to old age creeping on apace. Original corrected.

Go to advanced search