Go to advanced search

by theMusicMan
Mon Apr 13, 2020 11:39 pm
Forum: General discussion
Topic: Internet connection speed
Replies: 4
Views: 193

Re: Internet connection speed

You're a superstar, many thanks. So I did this and yet the results are still falling short of what i would have expected... at 185 Mbit/s dl. I'll live with it for now though, maybe taking another look tomorrow or the day after. Many thanks for your help... much appreciated. PS: Bought the RPi4 a fe...
by theMusicMan
Mon Apr 13, 2020 11:23 pm
Forum: General discussion
Topic: Internet connection speed
Replies: 4
Views: 193

Re: Internet connection speed

Thanks for the prompt response, I get...

The scripts speedtest and speedtest-cli are installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Any easy way to add this path to PATH?
by theMusicMan
Mon Apr 13, 2020 11:11 pm
Forum: General discussion
Topic: Internet connection speed
Replies: 4
Views: 193

Internet connection speed

Hi All OK, so I am curious s to if there is a limit on the maximum speed the RPi4 will handle vis-a-vis broadband speed download tests? I have a 350MBPS service with Virgin Media, and when I run the test frmo speedtest.net on either or my Mac machines, I get a result of 378mbps, but when I run the s...
by theMusicMan
Sun Mar 03, 2019 2:20 pm
Forum: Advanced users
Topic: Can RaspberryPi appear as external drive on Mac OSx when editing files
Replies: 3
Views: 303

Can RaspberryPi appear as external drive on Mac OSx when editing files

Hi All Just curious. I've been using PyCharmCE as my Python IDE of choice on my Mac, and am wondering if there is a way that one could have the RaspberryPi appear as an external drive on the Mac such that I could open / edit / save files using PyCharm on the Mac that reside on the RaspberryPi. Is th...
by theMusicMan
Sat Mar 02, 2019 4:47 pm
Forum: Troubleshooting
Topic: Wifi signal on adjacent RPi3's different strengths
Replies: 4
Views: 380

Re: Wifi signal on adjacent RPi3's different strengths

The 2 versions of the pi3B do use different aerial technologies, pi3B has this component aerial soldered to the pcb. were as the pi3B+ has the aerial actually in the pcb, the triangular shape this will probably account for the difference in wifi signal strength. Many thanks for the explanation, Bob...
by theMusicMan
Sat Mar 02, 2019 4:17 pm
Forum: Troubleshooting
Topic: Wifi signal on adjacent RPi3's different strengths
Replies: 4
Views: 380

Wifi signal on adjacent RPi3's different strengths

Hi all So I have a RPi3B and an RPi3B+, physically located next to each other on my desk, and both attached to the same WiFi network. What might be the reason the indicated WiFi signal strength on the RPi3B is showing one bar (sometimes two), and the RPi3B+ is showing full strength 3 bars. They are ...
by theMusicMan
Sat Feb 23, 2019 9:57 pm
Forum: Troubleshooting
Topic: Can't convert 'int' object to str implicitly
Replies: 9
Views: 942

Re: Can't convert 'int' object to str implicitly

So your value is actually a float value because it has a decimal , int would remove the decimal, so 1029.34 would become 1029. so to do what you want assuming you want the string to read the same but with just 3 added to the value you need this simple bit of code. p = "1029.34hpa" # your string rep...
by theMusicMan
Sat Feb 23, 2019 8:46 pm
Forum: Troubleshooting
Topic: Can't convert 'int' object to str implicitly
Replies: 9
Views: 942

Re: Can't convert 'int' object to str implicitly

OK - I would expect. That as it’s basically an array of values being returned. Did you try int(envi[1]) or just int(envi)? Do you have a link to the board and the software library you are using? If all fails (Pythons reasonably new to me) ave you seen this library https://github.com/adafruit/Adafru...
by theMusicMan
Sat Feb 23, 2019 3:25 pm
Forum: Troubleshooting
Topic: Can't convert 'int' object to str implicitly
Replies: 9
Views: 942

Re: Can't convert 'int' object to str implicitly

Andyroo wrote:
Sat Feb 23, 2019 2:42 pm
theMusicMan wrote:
Sat Feb 23, 2019 2:33 pm
Andyroo wrote:
Sat Feb 23, 2019 2:25 pm
Hi,
Sorry for the waffle but it may help others long term :lol:
You're kidding me yeah...? waffle...? Not a chance... This is a superb answer, thank you so much. :D
Ahh but does it work?
Alas not! The result of the type is class = tuple

Still an excellently informed reply 👍
by theMusicMan
Sat Feb 23, 2019 2:33 pm
Forum: Troubleshooting
Topic: Can't convert 'int' object to str implicitly
Replies: 9
Views: 942

Re: Can't convert 'int' object to str implicitly

Andyroo wrote:
Sat Feb 23, 2019 2:25 pm
Hi,
Sorry for the waffle but it may help others long term :lol:
You're kidding me yeah...? waffle...? Not a chance... This is a superb answer, thank you so much. :D
by theMusicMan
Sat Feb 23, 2019 1:46 pm
Forum: Troubleshooting
Topic: Can't convert 'int' object to str implicitly
Replies: 9
Views: 942

Can't convert 'int' object to str implicitly

I have a BME280 sensor connected and returning values as expected, which I am then able to upload to adafruit. However, the BME280's pressure reading requires some local calibration, and I would simply like to add 3 to its returned pressure value. The code that gets the values from the sensor and pr...
by theMusicMan
Thu Feb 21, 2019 7:21 am
Forum: Advanced users
Topic: LED Matrix MAX 7219 - how to pause / stop / reverse text
Replies: 0
Views: 429

LED Matrix MAX 7219 - how to pause / stop / reverse text

Hi All

I have managed to get my MAX7219 4 unit 8x8 LED matrix working fine and can display scrolling text etc using the luma.led.matrix libraries, but does anyone know how to do things such as pause text, display non scrolling text, reverse etc...

Thanks
John
by theMusicMan
Tue Feb 19, 2019 10:15 pm
Forum: Advanced users
Topic: Why this... (RPi3B+ IP Address) at (incomplete) on en1 ifscope [ethernet]
Replies: 2
Views: 597

Re: Why this... (RPi3B+ IP Address) at (incomplete) on en1 ifscope [ethernet]

So are you saying you can connect via VNC to the pi IP address as normal but you can SSH in to the pi using the same IP. what happens if you try to ping the pi from your mac ? When strange things start happening on a network and assuming you have made no changes to the router or attached devices, I...
by theMusicMan
Tue Feb 19, 2019 8:58 pm
Forum: Advanced users
Topic: Why this... (RPi3B+ IP Address) at (incomplete) on en1 ifscope [ethernet]
Replies: 2
Views: 597

Why this... (RPi3B+ IP Address) at (incomplete) on en1 ifscope [ethernet]

Hi All Not sure I understand what is going on on my network. The IP address of my RPi has not changed, and having just rebooted it, I see the IP address shown in the VNC window as it has always been. When I try to connect to this via SSH on the Mac, I get nothing. When running the following command....
by theMusicMan
Tue Feb 19, 2019 10:42 am
Forum: General discussion
Topic: Internal Network/Sonoff/Other wiring enclosures... anyone any suggestions?
Replies: 0
Views: 197

Internal Network/Sonoff/Other wiring enclosures... anyone any suggestions?

Hey All I am looking for a nice looking internal transparent door type enclosure which could house my home networking and SONOFF equipment ( though I do appreciate any 240V items would need to be housed adjacent and separately ). Does anyone here have any suggestions please? I have looked on eBay an...
by theMusicMan
Sun Feb 17, 2019 9:13 pm
Forum: Troubleshooting
Topic: Case for RPi 3B+ Fan AND Sense Hat? Anyone found one?
Replies: 2
Views: 559

Re: Case for RPi 3B+ Fan AND Sense Hat? Anyone found one?

Though not a case solution, I've found these https://shop.pimoroni.com/products/pico-hat-hacker to extend the pins out to the side a great help. I've yet to find a case that fits with these one though and like you, most searches for cases to fit specific HATs turn up little to nothing - generic 3D ...
by theMusicMan
Sun Feb 17, 2019 4:48 pm
Forum: Troubleshooting
Topic: Case for RPi 3B+ Fan AND Sense Hat? Anyone found one?
Replies: 2
Views: 559

Case for RPi 3B+ Fan AND Sense Hat? Anyone found one?

Hi All A few related issues in one post folks. Is there any case or adapter where I am able to mount a fan ( possibly to one of the GPIO pins for PID cooling control based on CPU temp ) AND mount the Sense Hat please? If not, I guess I am going to have to do a small soldering job to connect the fan ...
by theMusicMan
Sun Feb 17, 2019 3:18 am
Forum: Advanced users
Topic: How to assign a variable to CPU temp in python using vcgencmd measure_temp
Replies: 2
Views: 714

Re: How to assign a variable to CPU temp in python using vcgencmd measure_temp

B.Goode wrote:
Sat Feb 16, 2019 10:58 pm
. how do I assign the CPU temperature to a variable

Code: Select all

my_temperature_variable = measure_temp()
John runs to the woods, hides his face from mankind, and hangs his head in shame - never to be seen asking such a dumb question again.

:D

Thanks... and d'oh!!
by theMusicMan
Sat Feb 16, 2019 10:41 pm
Forum: Advanced users
Topic: How to assign a variable to CPU temp in python using vcgencmd measure_temp
Replies: 2
Views: 714

How to assign a variable to CPU temp in python using vcgencmd measure_temp

Hi All So I am simply wanting to create a Dashboard item using Adafruit.io that displays my RPi Cpu temp. I know there is a command such as import os import time def measure_temp(): temp = os.popen("vcgencmd measure_temp").readline() return (temp.replace("temp=","")) while True: print(measure_temp()...
by theMusicMan
Fri Feb 15, 2019 4:16 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 21
Views: 2833

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

--- Hey scruss - I have an update! The two new ESP8266's that arrived today both worked perfectly first time. I was able to erase_flash, write_flash, then rshell without the dreaded 'Tesing if unbinascii.unhexlify exists...' error. So, it seems that there might be an issue with flashing MicroPython...
by theMusicMan
Fri Feb 15, 2019 11:13 am
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 21
Views: 2833

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

did you try the -fm dio option, as recommended in the options page? doing a flash clear first helps too. One other thing to note here scruss, is that once I have written the flash to the ESP8266, the blue led flashes very VERY quickly. When I flash the ESP8266 with the BLINK script from the Arduino...
by theMusicMan
Fri Feb 15, 2019 8:57 am
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 21
Views: 2833

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

did you try the -fm dio option, as recommended in the options page? doing a flash clear first helps too. Yep, I have been using the erase_flash parameter first, here is the results of these commands... Still the same error... john@Johns-MacBook-Pro-7:~$ esptool.py --port /dev/cu.SLAB_USBtoUART eras...
by theMusicMan
Thu Feb 14, 2019 3:39 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 21
Views: 2833

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

... Alas... just sits there again. Doing nothing. Here's the code and output. pi@raspberrypi:~ $ esptool.py --baud 19200 --port /dev/ttyUSB0 write_flash 0x1000 Downloads/esp8266-20190125-v1.10.bin esptool.py v2.6 Serial port /dev/ttyUSB0 Connecting.... Detecting chip type... ESP8266 Chip is ESP8266...
by theMusicMan
Thu Feb 14, 2019 3:37 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 21
Views: 2833

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

Very odd, then. I have both boards and not had any trouble with them. You might want to try using a different serial port rate: I've heard some can be picky. There's a whole raft of different serial chips on ESP boards: QinHeng CH340, SiLabs cp2102 (some real, some fake), FTDI (almost all fake at t...

Go to advanced search