Go to advanced search

by Unforgiven11
Tue Aug 16, 2016 8:20 am
Forum: Beginners
Topic: Using sensor values of pi1 in python script on pi2
Replies: 8
Views: 1097

Re: Using sensor values of pi1 in python script on pi2

As I understand it pigpio will not work for i2c sensor reading.

MQTT sounds interesting, where do I get easy examples to start with?
by Unforgiven11
Mon Aug 15, 2016 12:37 pm
Forum: Beginners
Topic: Using sensor values of pi1 in python script on pi2
Replies: 8
Views: 1097

Re: Using sensor values of pi1 in python script on pi2

As a 'least effort ' proof of concept I would write a shell or python script on Pi1 to return the results, and invoke that script via ssh from Pi2. Using ssh secure keys will make this more elegant. If that works there are python library modules that can be used to automate it. This doesn't seem as...
by Unforgiven11
Mon Aug 15, 2016 12:00 pm
Forum: Beginners
Topic: Using sensor values of pi1 in python script on pi2
Replies: 8
Views: 1097

Re: Using sensor values of pi1 in python script on pi2

So let me change my question for you: How would you do this?
Oh I forgot to mention that I use python on pi1 and want to use these values on pi2 also in a python script.
by Unforgiven11
Mon Aug 15, 2016 11:39 am
Forum: Beginners
Topic: Using sensor values of pi1 in python script on pi2
Replies: 8
Views: 1097

Using sensor values of pi1 in python script on pi2

Hi all, I have a Raspberry Pi B (pi1) reading sensor values for temperature, air pressure and humidity of a BME280 via i2c. Now I want to work with these values on pi2 in the same network, e.g. display them on a displayotron hat from Pimoroni. What is the best and easiest way to handle this? Kind re...
by Unforgiven11
Sun Apr 03, 2016 5:39 pm
Forum: Advanced users
Topic: PI3 for file encryption solution
Replies: 3
Views: 1474

Re: PI3 for file encryption solution

Could someone please run the following commands on an attached usb-storage to test the speed and post the results for an pi3? dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc echo 3 | sudo tee /proc/sys/vm/drop_caches dd if=tempfile of=/dev/null bs=1M count=1024 dd if=tempfile of=...
by Unforgiven11
Sat Mar 26, 2016 9:05 am
Forum: Advanced users
Topic: PI3 for file encryption solution
Replies: 3
Views: 1474

Re: PI3 for file encryption solution

Thank you cjdawson,

did you have to do some extra work i.e. compile special kernel/modules or so to get it running or just installed cryptsetup?

What do you think in general about what I plan to do? Does it make sense? The encrypted HDD will be connected by USB.

Regards
by Unforgiven11
Fri Mar 25, 2016 11:12 am
Forum: Advanced users
Topic: PI3 for file encryption solution
Replies: 3
Views: 1474

PI3 for file encryption solution

Hi, atm I'm running an file server based on Ubuntu with file encryption via luks/dm-crypt for the data hdd. The idea behind it is to have a good security in the case that the server or hdd is stolen. Now I'm considering using a raspberry pi 3 for this task. Can someone please run the following code ...

Go to advanced search