Go to advanced search

by neilgl
Fri Jul 19, 2019 6:00 pm
Forum: Beginners
Topic: Run python script on pi using amazon alexa?
Replies: 5
Views: 160

Re: Run python script on pi using amazon alexa?

The official one from his github on a pi running Buster with python 3.7.
And put your own devices into config.json using (say) SimpleHTTPPlugin.
by neilgl
Thu Jul 18, 2019 11:26 pm
Forum: Networking and servers
Topic: how to reinstall mysql
Replies: 17
Views: 213

Re: how to reinstall mysql

Let’s hope we find out...
by neilgl
Thu Jul 18, 2019 10:17 pm
Forum: Networking and servers
Topic: how to reinstall mysql
Replies: 17
Views: 213

Re: how to reinstall mysql

Sorry, I thought you were running Raspbian in a VM under VMWare, with various snapshots.
So can you restore an older snapshot that works?
Also is your network connection to the pi working?
by neilgl
Thu Jul 18, 2019 10:13 pm
Forum: Beginners
Topic: MG92B servo trouble
Replies: 3
Views: 78

Re: MG92B servo trouble

On reading the spec sheet it says you need 5V logic but pi gpio is 3V3.
“ this servo requires 5V signals, check that your driver/microcontroller is supplying 5V logic as well as 5V power”
by neilgl
Thu Jul 18, 2019 9:06 pm
Forum: Beginners
Topic: Run python script on pi using amazon alexa?
Replies: 5
Views: 160

Re: Run python script on pi using amazon alexa?

Yes it does in my house, using Echo dot 3rd generation ( in sandstone)
by neilgl
Thu Jul 18, 2019 7:12 pm
Forum: Networking and servers
Topic: how to reinstall mysql
Replies: 17
Views: 213

Re: how to reinstall mysql

Have you done a quick google for “MySQL reset root password” ?
Also is the VMWare Workstation Player running on Windows or Linux?
by neilgl
Thu Jul 18, 2019 5:52 pm
Forum: Beginners
Topic: Hassio or any OS stay on Raspberry
Replies: 1
Views: 58

Re: Hassio or any OS stay on Raspberry

HASSIO will not prevent you from booting up NOOBS because that is only on the old SD card, not your new one.
by neilgl
Wed Jul 17, 2019 11:52 pm
Forum: General discussion
Topic: Thermal Printing with Raspberry Pi
Replies: 3
Views: 109

Re: Thermal Printing with Raspberry Pi

Maybe use gpiozero (python) on the pi to look at button presses, then print one (of five) images.
by neilgl
Wed Jul 17, 2019 8:26 pm
Forum: General discussion
Topic: Cool project looking for OTA software update and remote ssh (behind firewall) solution
Replies: 9
Views: 226

Re: Cool project looking for OTA software update and remote ssh (behind firewall) solution

Presumably the updates to your “software code” is just a new python script or java/other code, not a full OS upgrade?
by neilgl
Wed Jul 17, 2019 8:02 pm
Forum: Beginners
Topic: Pi 3 B, just a web interface for my 3D printer?
Replies: 3
Views: 60

Re: Pi 3 B, just a web interface for my 3D printer?

I would go with Raspbian Buster or Stretch.
by neilgl
Wed Jul 17, 2019 7:43 pm
Forum: General discussion
Topic: Use SD card for memory
Replies: 6
Views: 250

Re: Use SD card for memory

No. The memory on the pi is the RAM. e.g 1GB, or up to 4GB on a pi4. The microSD card is the storage e.g. 32GB or 64GB or larger.
by neilgl
Wed Jul 17, 2019 7:39 pm
Forum: General discussion
Topic: Cool project looking for OTA software update and remote ssh (behind firewall) solution
Replies: 9
Views: 226

Re: Cool project looking for OTA software update and remote ssh (behind firewall) solution

That link does not work. Anyway, maybe add more pis and communicate between them using mqtt, with one pi acting as the mqtt server (aka broker). All free.
by neilgl
Wed Jul 17, 2019 8:25 am
Forum: Beginners
Topic: Debian-Adding keyboard
Replies: 2
Views: 81

Re: Debian-Adding keyboard

Have you actually downloaded Debian or have you downloaded Raspbian (which is based on Debian) onto the Pi?
by neilgl
Tue Jul 16, 2019 7:28 pm
Forum: Beginners
Topic: I am having issue to make a robot to go straight "Help" please
Replies: 1
Views: 100

Re: I am having issue to make a robot to go straight "Help" please

What happens if you connect just one encoder and use the tutorial “initial code” to read the values from the encoder on GPIO17
by neilgl
Tue Jul 16, 2019 7:23 pm
Forum: Beginners
Topic: apachegui NOT working
Replies: 4
Views: 142

Re: apachegui NOT working

Yes I use FileZilla on my PC to transfer files to/from various Pis, on which I have installed proftpd.
Not sure I understand the “Visual Code” - is that Microsoft Visual Studio Code on the pi?
by neilgl
Tue Jul 16, 2019 7:15 pm
Forum: Beginners
Topic: Run python script on pi using amazon alexa?
Replies: 5
Views: 160

Re: Run python script on pi using amazon alexa?

Yes. Install “fauxmo” on your pi. Alexa then thinks (discover) it is a Wemo device, and can voice control it, so you can run scripts etc.
by neilgl
Mon Jul 15, 2019 8:41 pm
Forum: Beginners
Topic: Issus programing an Arduino with Pi 3 B+ [solved]
Replies: 3
Views: 122

Re: Issus programing an Arduino with Pi 3 B+ [solved]

I am happy it is working for you.
by neilgl
Mon Jul 15, 2019 1:18 pm
Forum: Beginners
Topic: Sending data from iPhone to Raspberry Pi zero using bluetooth
Replies: 2
Views: 84

Re: Sending data from iPhone to Raspberry Pi zero using bluetooth

You could use the pi to get time (ntp) and weather (e.g. from openweathermap.org) from the internet, and display that data on your "smart glasses". The pi would use the iphones internet connection. But I think you will have to install some app on your iphone to forward any/all app notifications but ...
by neilgl
Sun Jul 14, 2019 9:43 pm
Forum: Beginners
Topic: Hardware. Buzzer speaker choice...
Replies: 2
Views: 97

Re: Hardware. Buzzer speaker choice...

I would go with a single led and a resistor that flashes on and off after a reboot (via a python script) - easy and very cheap.
by neilgl
Sun Jul 14, 2019 5:23 pm
Forum: Beginners
Topic: (Possibly pre-beginner!) Sensing simple closed circuit.
Replies: 8
Views: 197

Re: (Possibly pre-beginner!) Sensing simple closed circuit.

You probably do not want to coil any wires around any mains voltage cable - too dangerous.
by neilgl
Sun Jul 14, 2019 10:34 am
Forum: Raspbian
Topic: scilab
Replies: 4
Views: 1260

Re: scilab

Yes but do you know a workaround to get it to actually run? Scilab and scilab-cli give fatal errors (maybe a known bug in their bugzilla)
by neilgl
Sun Jul 14, 2019 10:32 am
Forum: General programming discussion
Topic: Problems installing Scilab.
Replies: 1
Views: 141

Re: Problems installing Scilab.

Looks like a known bug in the version that is in the repository, so we need to wait for a fix/workaround.
by neilgl
Sun Jul 14, 2019 9:46 am
Forum: Beginners
Topic: Issus programing an Arduino with Pi 3 B+ [solved]
Replies: 3
Views: 122

Re: Issus programing an Arduino with Pi 3 B+

Maybe install the Arduino Command Line Interface "arduino-cli" on the pi. It is on github, developed by the Arduino Team.
https://github.com/arduino/arduino-cli
by neilgl
Sun Jul 14, 2019 8:32 am
Forum: Beginners
Topic: (Possibly pre-beginner!) Sensing simple closed circuit.
Replies: 8
Views: 197

Re: (Possibly pre-beginner!) Sensing simple closed circuit.

I would go with a light dependent resistor or a photodiode circuit that does not go anywhere near the mains switch, and/or a reed switch on the door when it opens?
For home automation on the pi have a look at openhab2, and re-programming (say) Sonoff switches with Tasmota firmware (using a pi).
by neilgl
Sun Jul 14, 2019 8:18 am
Forum: Java
Topic: If else help
Replies: 8
Views: 374

Re: If else help

Maybe import the Scanner class and create an instance of that class using new. The Dummies book should have all that for int, string, long, short etc.

Go to advanced search