Go to advanced search

by mattmiller
Fri Nov 30, 2018 10:46 am
Forum: Beginners
Topic: How do I move website from one pi to another
Replies: 3
Views: 234

Re: How do I move website from one pi to another

Was this for internal LAN use only or did you have port forwarding on your router to the old ip address of your Pi zero so you could access it from outside?

What web server were you running - can you post the config for it?
by mattmiller
Mon Nov 26, 2018 3:09 pm
Forum: Troubleshooting
Topic: Respberry pi jython : No module named Rpi.GPIO
Replies: 1
Views: 373

Re: Respberry pi jython : No module named Rpi.GPIO

The python module is called RPi.GPIO (not Rpi.GPIO)

No-idea if it can be used with jython
by mattmiller
Mon Nov 26, 2018 2:59 pm
Forum: Python
Topic: MQTT
Replies: 2
Views: 232

Re: MQTT

Assuming your using paho-mqtt library If wanting to use QOS=2 when publishing a message "fred" to topic "test" then just add it as 3rd parameter in your publish call e.g. e.g change publish("test","fred") to publish("test","fred",2) Same for subscribing, just add it as extra parameter subscribe("te...
by mattmiller
Sat Nov 24, 2018 5:04 pm
Forum: Advanced users
Topic: USB power when Raspberry is power off!
Replies: 5
Views: 1073

Re: USB power when Raspberry is power off!

No - its directly connected to the main 5V supply
by mattmiller
Fri Nov 23, 2018 1:42 pm
Forum: Troubleshooting
Topic: read only sd card after a mishap
Replies: 6
Views: 474

Re: read only sd card after a mishap

SD cards can go into a read-only mode at end-of-life

So you'll need a new card
by mattmiller
Thu Nov 22, 2018 3:43 pm
Forum: Code Club
Topic: Saving microbit projects
Replies: 10
Views: 3993

Re: Saving microbit projects

Try asking the Network Manager to create long-lasting codeclub1, codeclub2 etc users
by mattmiller
Thu Nov 22, 2018 10:50 am
Forum: Python
Topic: Connect 2 raspberrys together
Replies: 2
Views: 733

Re: Connect 2 raspberrys together

As long as the outside one can connect to your WiFi, then this is a job for MQTT

https://www.hivemq.com/blog/how-to-get- ... -with-mqtt

The paho-mqtt python library is fairly easy to use

https://www.eclipse.org/paho/clients/python/

To start with, I would just use iot.eclipse.org as your broker
by mattmiller
Thu Nov 22, 2018 7:05 am
Forum: General discussion
Topic: push notification with PI
Replies: 1
Views: 659

Re: push notification with PI

I use Pushover service to send alerts using Node-RED on my Pi

But if you google for "pushover python", you'll find plenty of examples of using it using Python code
by mattmiller
Wed Nov 21, 2018 8:45 pm
Forum: Other projects
Topic: can I use a digital dimmer on these Christmas lights?
Replies: 6
Views: 1743

Re: can I use a digital dimmer on these Christmas lights?

the lights are 220v ac without any transformer Sorry - I didn't notice that bit! It could be technically possible that they may respond OK to the dimming controller (but they may not) Only trying them out would tell. But I'd always warn someone that DIY mixing mains electricity and Pi is not recomm...
by mattmiller
Wed Nov 21, 2018 8:51 am
Forum: Other projects
Topic: can I use a digital dimmer on these Christmas lights?
Replies: 6
Views: 1743

Re: Christmas

No

Those LED lights will powered from their own transformer and rectifier and will be incompatible with a mains dimmer (most Christmas lights are like this nowadays)
by mattmiller
Wed Oct 24, 2018 4:13 pm
Forum: General discussion
Topic: MQTT installation on Stretch fixed?
Replies: 14
Views: 14712

Re: MQTT installation on Stretch fixed?

What exactly is broken for you?

MQTT is a protocol that works fine for most of us.

There are issues from time to time with running the mosquitto MQTT broker on a Pi

What are you trying to do? (and what make of Pi are you trying to do it on?)
by mattmiller
Sun Oct 07, 2018 8:55 am
Forum: Troubleshooting
Topic: raspberry pi 3b+ with old preloaded sd card
Replies: 9
Views: 583

Re: raspberry pi b+ old preloaded sd card

I would highly recommend starting with a a.) Normal Raspbian Stretch with desktop at: https://www.raspberrypi.org/downloads/raspbian/ b.) Or our clubs pre-configured Stretch variant Your post is excellent advice except for b) No beginner should be directed towards a custom image (no matter how good...
by mattmiller
Fri Oct 05, 2018 7:47 pm
Forum: Advanced users
Topic: Diskless booting Zeroes from Windows
Replies: 83
Views: 8415

Re: Diskless booting Zeroes from Windows

Booting diskless application engines looks feasible. There's more to be done to achieve booting a full diskless Raspbian.
Well done for all your efforts so far :)
by mattmiller
Wed Sep 26, 2018 9:10 am
Forum: Beginners
Topic: local cursor is not visible on x11vnc
Replies: 10
Views: 654

Re: local cursor is not visible on x11vnc

and it should work with local keyboard and mouse.
This is the bit I don't know about - it might be that the standard VNC server does not show the "real" desktop

If that is true, then I can see your need for X11VNC
by mattmiller
Wed Sep 26, 2018 9:04 am
Forum: Beginners
Topic: local cursor is not visible on x11vnc
Replies: 10
Views: 654

Re: local cursor is not visible on x11vnc

the thing you mentioned does not works with reboot.
I assure you it does start on reboot :)

I have 9 Pi in my house all using it
by mattmiller
Wed Sep 26, 2018 8:00 am
Forum: Beginners
Topic: local cursor is not visible on x11vnc
Replies: 10
Views: 654

Re: local cursor is not visible on x11vnc

You've followed a really old piece of information

If you've just started with a pi - I'd recommend wiping and starting over again

The just run sudo raspi-config in a terminal window , click on interfaces and go down to VNC and select and enable it
by mattmiller
Sun Sep 23, 2018 11:57 am
Forum: Troubleshooting
Topic: The USB power appeal
Replies: 43
Views: 3776

Re: The USB power appeal

If you stick to using standard mA instead of your "units", it will help others understand your posts a bit better
Was a genuine post meant in a positive manner to help YOU get the best answers to your problem

It was neither malignant or intended to be anything else other than to be helpful to you
by mattmiller
Sat Sep 22, 2018 1:02 pm
Forum: Troubleshooting
Topic: The USB power appeal
Replies: 43
Views: 3776

Re: The USB power appeal

I won't argue any further with you on the likely culprit :)

but
And the current draw does not exceed 3 units
If you stick to using standard mA instead of your "units", it will help others understand your posts a bit better

Good luck :)
by mattmiller
Fri Sep 21, 2018 9:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Need Advice: two 250hz square waves 180 out of phase @ 5V
Replies: 7
Views: 982

Re: Need Advice: two 250hz square waves 180 out of phase @ 5V

https://www.adafruit.com/product/815

Are used all the time for stable servo control

You'd need to check for freq accuracy if that's important to you
by mattmiller
Fri Sep 21, 2018 8:56 pm
Forum: Troubleshooting
Topic: The USB power appeal
Replies: 43
Views: 3776

Re: The USB power appeal

Thank you :) But if you read my previous post - it is not the suspect.
It really, really is the prime suspect.

If it is the only thing plugged in at the time when the USB power fails - it is the No 1 suspect
by mattmiller
Fri Sep 21, 2018 9:35 am
Forum: Troubleshooting
Topic: The USB power appeal
Replies: 43
Views: 3776

Re: The USB power appeal

Most of the boards died (I have killed 3 of them this way) when I was connecting the HP wireless dongle
Occam's Razor means that its your wireless dongle that is suspect
by mattmiller
Mon Sep 17, 2018 9:01 pm
Forum: Troubleshooting
Topic: Raspberry Pi 3 B+ lockups
Replies: 464
Views: 52598

Re: Raspberry Pi 3 B+ lockups

Executed rpi-update
Never do this if you expect support - it gets you a bleedin edge kernel
Only do it if suggested by an RPi employee

PS And you should start a new thread as this one is for the pi3B+
by mattmiller
Sun Sep 16, 2018 8:17 pm
Forum: General discussion
Topic: Raspberry Pi is a waste of time (and money).
Replies: 115
Views: 10759

Re: Raspberry Pi is a waste of time (and money).

My thoughts Toxic is an extreme word. The posts on this forum (like others) can be friendly and useful But a number of them are not And a small number have lead to toxicity (if you take it to mean persons leaving and never coming back or persons being banished) IMO, there are a number of long time c...
by mattmiller
Fri Sep 14, 2018 9:34 am
Forum: Graphics, sound and multimedia
Topic: Dive Coms
Replies: 9
Views: 1578

Re: Dive Coms

However, I got the idea to make coms with raspberry PI.
A homebrewed Pi setup is almost certainly NOT going to be more reliable than a commercial product

And a Pi isn't a great device to try and do comms with anyway
by mattmiller
Thu Sep 13, 2018 8:16 am
Forum: Beginners
Topic: No static ip config file before first boot
Replies: 8
Views: 778

Re: No static ip config file before first boot

Please search for mDNS, Zeroconf, avahi and / or Bonjour on this forum
AFAIK using names to find access your pi on a windows network is still broken (very unreliable) following a windows update back in spring so its not an option at the moment

Go to advanced search