Go to advanced search

by mattmiller
Sat Feb 09, 2019 12:29 am
Forum: Networking and servers
Topic: Odd wireless bridge application?
Replies: 11
Views: 596

Re: Odd wireless bridge application?

Thanks very much but
This was done on a fully updated version of Raspbian 8 (Jesse)
Why Jessie???????? :)
by mattmiller
Fri Feb 08, 2019 5:33 pm
Forum: Beginners
Topic: Is VNC Connection Secure from Laptop to RPi3B+?
Replies: 3
Views: 185

Re: Is VNC Connection Secure from Laptop to RPi3B+?

AFAIK VNC connection across a LAN is not going thru any tunnel - its a simple TCP port connection
by mattmiller
Fri Feb 08, 2019 5:26 pm
Forum: Networking and servers
Topic: Odd wireless bridge application?
Replies: 11
Views: 596

Re: Odd wireless bridge application?

I now know a LOT more about routers and NAT and such than I ever did. Always the best way :) Now teach us exactly what you did so the next person doesn't have to go thru it again :) I enabled ip forwarding, and built a NAT table with iptables to forward specific ports on the wlan0 interface to spec...
by mattmiller
Wed Feb 06, 2019 7:37 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Node-RED on piserver
Replies: 4
Views: 839

Re: Node-RED on piserver

Its always best to just use the NodeRED Pi install script on a clean install

https://nodered.org/docs/hardware/raspberrypi

Doing things in other ways often lead to problems
by mattmiller
Tue Feb 05, 2019 9:23 am
Forum: Networking and servers
Topic: ADSL signal through Raspberry pi
Replies: 3
Views: 418

Re: ADSL signal through Raspberry pi

is can Raspberry used as DSP for ADSL?
No
by mattmiller
Tue Feb 05, 2019 7:02 am
Forum: Networking and servers
Topic: Odd wireless bridge application?
Replies: 11
Views: 596

Re: Odd wireless bridge application?

Sorry - I thought this was in your own house
by mattmiller
Mon Feb 04, 2019 9:32 pm
Forum: Networking and servers
Topic: Odd wireless bridge application?
Replies: 11
Views: 596

Re: Odd wireless bridge application?

I'd forget about using a pi and get a pair of mains network extenders and connect your router to one and your devices to the other
by mattmiller
Fri Feb 01, 2019 6:48 pm
Forum: Automation, sensing and robotics
Topic: [GUIDE] Communicate between iOS and Raspberry Pi using MQTT
Replies: 66
Views: 38170

Re: [GUIDE] Communicate between iOS and Raspberry Pi using MQTT

MQTT is not designed for speed or any sort of guaranteed time of delivery of the messages
by mattmiller
Thu Jan 31, 2019 9:00 am
Forum: General programming discussion
Topic: Using a USB keyboard as a controller
Replies: 4
Views: 1015

Re: Using a USB keyboard as a controller

Have I got this right?

You want your program to receive different signals when different key are pressed on your keyboard but you don't want the keyboard to work as a normal keyboard?
by mattmiller
Mon Jan 28, 2019 5:08 pm
Forum: Troubleshooting
Topic: installing opencv in python3 ? [SOLVED]
Replies: 7
Views: 4258

Re: installing opencv in python3 ? [SOLVED]

mm-not too much behind - saves having to spend hours compiling it

It may be the thing that gets me to move over to Python3 :)
by mattmiller
Mon Jan 28, 2019 9:47 am
Forum: Troubleshooting
Topic: installing opencv in python3 ? [SOLVED]
Replies: 7
Views: 4258

Re: installing opencv in python3 ? [SOLVED]

Could I ask what version of OpenCV does this give you?
by mattmiller
Sun Jan 27, 2019 10:43 am
Forum: General discussion
Topic: Why PIN headers instead of female PIN headers?
Replies: 11
Views: 793

Re: Why PIN headers instead of female PIN headers?

Of course, if you buy a Zero or Zero W, you can fit your own header of choice. I fit mine with an extended header (female->male) so I can just plug in IR decoders (and also be naughty and plug in IR LEDS!) directly into PiZero The male pins aren't as good as standard pins (thin and not as sturdy) b...
by mattmiller
Thu Jan 24, 2019 5:01 pm
Forum: Beginners
Topic: can a python file be made to run in a way that is not humanly readable?
Replies: 15
Views: 808

Re: can a python file be made to run in a way that is not humanly readable?

Easy solution - rewrite it in Python 3 with a few decorators and async calls and that'l make it unreadable! Sorry - old time Python2er having a bad day with Python3 today :) In all seriousness, there have been many requests like this over the years and without going to tremendous lengths like creati...
by mattmiller
Fri Jan 18, 2019 7:12 am
Forum: Advanced users
Topic: cardless boot over wifi
Replies: 8
Views: 761

Re: careless boot over wifi

Love it when some new poster comes along and says "Topic self explanatory" when its actually meaningless to most of the people on the forum :)
by mattmiller
Thu Jan 17, 2019 9:59 pm
Forum: Troubleshooting
Topic: Pi Zero W built in wifi doesn't work , wifi dongle does
Replies: 8
Views: 402

Re: Pi Zero W built in wifi doesn't work , wifi dongle does

Unless you buy or borrow another PiZeroW,, I don't think you'll be able to find out whether its hardware fault with your one or an incompatibility with your router.

Might be worth taking it around a friends/relations house and seeing if it doesn't work there either
by mattmiller
Thu Jan 17, 2019 9:54 pm
Forum: Python
Topic: MQTT and Python in 2019
Replies: 8
Views: 1019

Re: MQTT and Python in 2019

Good luck with Brexit.
Same to you with Trump :)
by mattmiller
Wed Jan 16, 2019 9:37 pm
Forum: Python
Topic: MQTT and Python in 2019
Replies: 8
Views: 1019

Re: MQTT and Python in 2019

The "trick" with installing mosquitto on a Pi is to ignore everything on T'internet and start with fresh Raspbian install and simply type in sudo apt-get install mosquitto mosquitto-clients which will install and run a mosquitto broker service on your Pi listening out on port 1883 If you want to wri...
by mattmiller
Tue Jan 15, 2019 11:07 am
Forum: Troubleshooting
Topic: RPi as an AP keeps on disconnecting
Replies: 7
Views: 911

Re: RPi as an AP keeps on disconnecting

AFAIAN you can't bridge between two WiFi interfaces on a Pi (but maybe something changed recently???)

So the question is how does it work for 20 minutes rather than why it fails
by mattmiller
Sun Jan 13, 2019 9:57 am
Forum: Advanced users
Topic: Having Raspbian run startup scripts from the /boot partition
Replies: 10
Views: 3025

Re: Having Raspbian run startup scripts from the /boot partition

Check out PiBakery - its the tool for this sort of job

https://www.pibakery.org/
by mattmiller
Sun Jan 13, 2019 9:55 am
Forum: Automation, sensing and robotics
Topic: Running 28BYJ-48 stepper motor in full step mode
Replies: 6
Views: 1245

Re: Running 28BYJ-48 stepper motor in full step mode

JFI this article seems a good source of info on pros/cons on the stepping modes http://www.jangeox.be/2013/10/stepper-motor-28byj-48_25.html The value for money of these steppers means you can make very cheap robots that can move much more accurately, albeit slower, than PWM motor ones. I've used th...
by mattmiller
Sat Jan 12, 2019 10:02 pm
Forum: Automation, sensing and robotics
Topic: Running 28BYJ-48 stepper motor in full step mode
Replies: 6
Views: 1245

Re: Running 28BYJ-48 stepper motor in full step mode

In half-step mode with long delays between phases its quite a while since I played with these steppers but IIRC, there are sweet spots in terrms of the delay between the steps - longer delays does not necessarily lead to happiness I might be completely wrong but 1-2.5ms comes to mind between steps ...
by mattmiller
Sat Jan 12, 2019 9:21 am
Forum: Troubleshooting
Topic: Raspian 9 - question with lirc
Replies: 5
Views: 568

Re: Raspian 9 - question with lirc

JFI
I have copied the file into ~/lircd.conf
All my files are in /etc/lirc

Probably makes no difference - like I say - I set mine up a few years ago and things may have changed since then
by mattmiller
Sat Jan 12, 2019 9:15 am
Forum: Troubleshooting
Topic: Raspian 9 - question with lirc
Replies: 5
Views: 568

Re: Raspian 9 - question with lirc

:(

May be worth trying to use pigpio intead of Lirc?

https://raspberrypi.stackexchange.com/q ... g-ir-codes
by mattmiller
Fri Jan 11, 2019 11:28 am
Forum: Troubleshooting
Topic: Raspian 9 - question with lirc
Replies: 5
Views: 568

Re: Raspian 9 - question with lirc

I am using NP2222 Something in the back of my mind says that if using a driver transistor - you need to invert the signal using some parameter somewhere. But googling isn't getting me anywhere and I may have dreamt it (I just have my IR diode directly connected to my PiZero - very naughty I know bu...
by mattmiller
Mon Jan 07, 2019 3:56 pm
Forum: Automation, sensing and robotics
Topic: MQTT send alert
Replies: 11
Views: 1234

Re: MQTT send alert

May i have some help please? From what you previosuly posted, your broker is working fine on your Pi so lets try it out step by step and be explicit e.g use the example launcher.conf first and see if you get any errors with that So copy mqtt-launcher.py to /home/pi/mqtt-launcher.py copy launcher.co...

Go to advanced search