Go to advanced search

by asandford
Sat Jan 20, 2018 12:29 am
Forum: Automation, sensing and robotics
Topic: [GUIDE] Communicate between iOS and Raspberry Pi using MQTT
Replies: 23
Views: 1963

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

Great tutorial! Is there a way to send a response back to the iOS app when something has completed (i.e. send response when an upload is finished to update a progress bar?) Thanks for the effort in making this. What DougieLawson said is correct. No it's not, other brokers can automatically acknowle...
by asandford
Sat Jan 20, 2018 12:23 am
Forum: Automation, sensing and robotics
Topic: [GUIDE] Communicate between iOS and Raspberry Pi using MQTT
Replies: 23
Views: 1963

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

Other message queue brokers are available with substantially more functionality; MQTT is a protocol, not a product. Eh? The protocol has a limited number of commands (CONNECT,PUBLISH, etc.) and responses (CONNACK, PUBACK, etc), there's not much more a broker can do without breaking the protocol. Of...
by asandford
Sat Jan 20, 2018 12:02 am
Forum: Automation, sensing and robotics
Topic: [GUIDE] Communicate between iOS and Raspberry Pi using MQTT
Replies: 23
Views: 1963

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

Other message queue brokers are available with substantially more functionality; MQTT is a protocol, not a product.
by asandford
Mon Jan 15, 2018 10:46 pm
Forum: Other languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 43
Views: 36436

Re: Installing newer version of NodeJS on Pi 3

I guess the node-red developers are very confused then. Because that is not what it says here: https://www.npmjs.com/package/node-red Or here: https://github.com/node-red/node-red I was just quoting what was said here , which is a page dedicated to the Pi. The generic upgrade instructions are here
by asandford
Mon Jan 15, 2018 2:08 am
Forum: Beginners
Topic: expand file system on raspbian stretch
Replies: 2
Views: 90

Re: expand file system on raspbian stretch

raspi-config under stretch brings up a menu that is quite different than for jesse. In particular, there is no "Expand File System" , which is option 1 under the latter. So how do you make the whole of the SD car available to the OS with stretch? On my 8G card, it seems to be accessing about 6G. Fi...
by asandford
Mon Jan 15, 2018 1:37 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Sending data from Arduino to Raspberry Pi
Replies: 18
Views: 10943

Re: Sending data from Arduino to Raspberry Pi

Code not stable, after 15- 20 sec I get this: Traceback (most recent call last): File "/home/pi/myprograms/ser.py", line 6, in <module> print(ser.readline()) File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 490, in read 'device reports readiness to read but returned no data ' Ser...
by asandford
Mon Jan 15, 2018 12:17 am
Forum: Beginners
Topic: changing the ownership of a folder help please
Replies: 11
Views: 255

Re: changing the ownership of a folder help please

I suspect you'll have more than permission problems:

Code: Select all

chown: changing ownership of '/usr/share/games/quake/rogue/quake.exe': 
Looks like it was lifted from an x86 repo.
by asandford
Sun Jan 14, 2018 11:53 pm
Forum: Beginners
Topic: NodeJs <-> Arduino Serial library?
Replies: 3
Views: 105

Re: NodeJs <-> Arduino Serial library?

The node-red-node-serialport node (already installed on most Pis) requires serialport which pretty much just sends and receives data to/from the serial port and no special data handling (other than you've already got) on the Arduino (unlike firmata, LLAP and J5). Node-Serialport provides a stream in...
by asandford
Sun Jan 14, 2018 11:41 pm
Forum: Beginners
Topic: NodeJs <-> Arduino Serial library?
Replies: 3
Views: 105

Re: NodeJs <-> Arduino Serial library?

fivdi wrote:
Sun Jan 14, 2018 11:17 am
What are Johnny-Five fingers?
I assume the OP means Johnny-Five
by asandford
Sun Jan 14, 2018 10:59 pm
Forum: Other languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 43
Views: 36436

Re: Installing newer version of NodeJS on Pi 3

Is that the only message it put out? I'm willing to bet there are some clues in whatever came before that. Personally I would try forgetting all that install node red the proper way. That is the proper way to upgrade node-red, with other goals, according to the developers The intention of the scrip...
by asandford
Tue Jan 09, 2018 12:42 am
Forum: Raspbian
Topic: STRECH and MQTT
Replies: 78
Views: 26165

Re: STRECH and MQTT

With aptitude you can get it to resolve all the dependencies. sudo aptitude install libmosquitto-dev mosquitto mosquitto-clients then follow the prompts (answer 'n') until all the packages are selected for install (answer 'y'). apt does that anyway (which I've proved many tiimes) without the questi...
by asandford
Tue Jan 09, 2018 12:34 am
Forum: Troubleshooting
Topic: problems with CIFS and Synology NAS
Replies: 6
Views: 219

Re: problems with CIFS and Synology NAS

CIFS are no more difficult to use than NFS, Dougie. I don't have a lot of users (maybe me, plus one other) and CIFS just works with Linux, Mac and Windows. CIFS, while a bit slower and not nearly so good about file permissions as NFS, handles disconnections quite well. Under certain circumstances a...
by asandford
Tue Jan 09, 2018 12:29 am
Forum: Troubleshooting
Topic: problems with CIFS and Synology NAS
Replies: 6
Views: 219

Re: problems with CIFS and Synology NAS

I find that I can't mount CIFS shares from my Synology NAS on Raspberry Pi unless I add the vers=3.0 option Why would you want to? CIFS mounts on Linux are ugly and difficult to use. Your Synology NAS will run NFS. NFS and Linux are made for one another. Mounting NFS exports is trivial and the owne...
by asandford
Tue Jan 09, 2018 12:14 am
Forum: Other languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 43
Views: 36436

Re: Installing newer version of NodeJS on Pi 3

All that 'junk' was the reason that node.js was wrapped into the image, it was only included for node-red, so be thankful for it. The "-g --unsafe-perm" option is pretty much required otherwise it gets messy. Also bear i mind which versions of nodejs work with Node-red; it's not bleeding edge by any...
by asandford
Sun Jan 07, 2018 1:35 am
Forum: AIY Projects
Topic: Google Cloud Billing question again.
Replies: 2
Views: 155

Re: Google Cloud Billing question again.

Perhaps ask Google how it works as they are the ones billing you, not the RPF?
by asandford
Sun Jan 07, 2018 1:29 am
Forum: Troubleshooting
Topic: problems with CIFS and Synology NAS
Replies: 6
Views: 219

Re: problems with CIFS and Synology NAS

cifs/smb (samba) and nfs are totlly different protocols. cifs is based on windows smb protocol and nfs is based on Sun's nfs unix protocol.

your question is like asking why your petrol engine doesn't work with diesel
by asandford
Sun Jan 07, 2018 1:10 am
Forum: Networking and servers
Topic: require help setting up external archive
Replies: 1
Views: 101

Re: require help setting up external archive

research rsync
by asandford
Sun Jan 07, 2018 1:09 am
Forum: General discussion
Topic: [Solved] Error repo.mosquitto.org jessie InRelease
Replies: 5
Views: 872

Re: Error repo.mosquitto.org jessie InRelease

remove the repo and use the latest in jessie or upgrade to stretch.
by asandford
Sun Jan 07, 2018 12:53 am
Forum: Raspbian
Topic: STRECH and MQTT
Replies: 78
Views: 26165

Re: STRECH and MQTT

I originally followed the steps from https://medium.com/@rossdanderson/installing-mosquitto-broker-on-debian-2a341fe88981 but used stretch instead of jessie. The installation failed. I got it working be removing mosquitto-stretch.list and running "sudo apt-get update" and then installing mosquitto ...
by asandford
Fri Dec 22, 2017 12:24 am
Forum: Recommended peripherals
Topic: Samsung Charger for Raspberry pi
Replies: 3
Views: 326

Re: Samsung Charger for Raspberry pi

Phone chargers are not power supplies - this has been stated upteem times.
by asandford
Wed Dec 20, 2017 1:20 am
Forum: Graphics, sound and multimedia
Topic: Installing piwigo on RP3
Replies: 3
Views: 268

Re: Installing piwigo on RP3

To get the available install versions (example for php5-fpm): root@sandford:~# apt-cache search php | grep -i fpm php-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) (default) php7.0-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) root@sandford:~# Do that fo...
by asandford
Wed Dec 20, 2017 1:05 am
Forum: Troubleshooting
Topic: SMB-Share won‘t show up in GUI, but in console
Replies: 1
Views: 102

Re: SMB-Share won‘t show up in GUI, but in console

If mounting a drive, a general rule is:
use nfs for *nix devices
use samba for windows

Most routers are *nix.
by asandford
Wed Dec 20, 2017 12:53 am
Forum: Automation, sensing and robotics
Topic: Good Robot Arm and/or Hand.
Replies: 9
Views: 718

Re: Good Robot Arm and/or Hand.

Katianie wrote:
Fri Nov 24, 2017 1:05 am
No, I'd rather buy a good one. I have the money for a good one if one exists.
Apparently good one, but not in my budget to test.
by asandford
Wed Dec 20, 2017 12:40 am
Forum: Raspbian
Topic: New user: bash shell don't start automatically
Replies: 6
Views: 869

Re: New user: bash shell don't start automatically

I tried that solution. Maybe I mistyped something or I got an extra char anywher else; but when I tried to login, a message appeared "/bin/bash could not be found" preventing me to log in at all from ssh. But I found another solution here: https://askubuntu.com/questions/28969/how-do-you-change-the...

Go to advanced search