Go to advanced search

by Bosse_B
Tue Dec 04, 2018 10:45 am
Forum: General discussion
Topic: How to read weather station sensor over 433MHz?
Replies: 17
Views: 7400

How to read weather station sensor over 433MHz?

I want to read the output (temp + humidity) of a couple of weather station sensors which use the 433 MHz frequency. I have a receiver like this: 433MHzRx.png The sensors are from a weather station (no brand except for the chain tha sell them) and they can be bought separately at a low cost. The labe...
by Bosse_B
Sat Dec 01, 2018 7:55 am
Forum: General discussion
Topic: How to install CVS server on a RPi3?
Replies: 11
Views: 2346

Re: How to install CVS server on a RPi3?

I do actually believe that importing old csv or svn repos into git is the preferable way to go. I also liked to the official documentation in case that was not an acceptable solution for some odd reason. Not a use case for organizations that have used CVS for many years and utilized the various "ad...
by Bosse_B
Sat Dec 01, 2018 7:41 am
Forum: General discussion
Topic: Bogus raspberry pi forum alert email??
Replies: 8
Views: 1009

Re: Bogus raspberry pi forum alert email??

Please point the email links to the real forum URL:s instead of the other one!
by Bosse_B
Fri Nov 30, 2018 8:42 pm
Forum: General discussion
Topic: Bogus raspberry pi forum alert email??
Replies: 8
Views: 1009

Re: Bogus raspberry pi forum alert email??

In that case why am I not logged on automatically? Really suspicious looking.
by Bosse_B
Fri Nov 30, 2018 8:20 pm
Forum: General discussion
Topic: Bogus raspberry pi forum alert email??
Replies: 8
Views: 1009

Bogus raspberry pi forum alert email??

Today I got an alert email on a response to my over two years old thread about installing CVS on an RPi box. But when I click on the links in the email I am getting to a login page at a location I don't recognize at all (I have stripped off the ending URL part): https://lb.raspberrypi.org/forums/vie...
by Bosse_B
Fri Nov 30, 2018 8:06 pm
Forum: General discussion
Topic: How to install CVS server on a RPi3?
Replies: 11
Views: 2346

Re: How to install CVS server on a RPi3?

Did you note the time stamp of this thread? More than 2 years old....
Using Subversion now.
by Bosse_B
Mon Nov 26, 2018 10:48 pm
Forum: Automation, sensing and robotics
Topic: AM2302 DHT sensor ignoring sign of temperature....
Replies: 5
Views: 1500

Re: AM2302 DHT sensor ignoring sign of temperature....

I have now modified my electronics box such that I added a 5V linear regulator to get a 5V supply for the sensors. So I changed the connection for the sensor power to this 5V from the 3.3V I used before. On each sensor line I also added a 1K pullup resistor to 5V plus a 3.3V zener diode to ground to...
by Bosse_B
Mon Nov 26, 2018 9:16 am
Forum: Automation, sensing and robotics
Topic: AM2302 DHT sensor ignoring sign of temperature....
Replies: 5
Views: 1500

Re: AM2302 DHT sensor ignoring sign of temperature....

Read some more about BME280 sensors... Caveats: 1) I2C bus is a short range system, some pages suggest maximum 50 cm cables and I have 10 m distance... 2) The BME280 has a fixed address that can be hardware modified on one bit giving two possible addresses only. 3) It seems like the sensor boards ar...
by Bosse_B
Mon Nov 26, 2018 7:24 am
Forum: Automation, sensing and robotics
Topic: AM2302 DHT sensor ignoring sign of temperature....
Replies: 5
Views: 1500

Re: AM2302 DHT sensor ignoring sign of temperature....

Thanks for the suggestion! My system uses 3 sensing points installed in the attic with up to 10m long 4-wire signal cables. The cables were put in place when the new roof was built in April and now only the end points are accessible through small hatches, so I am stuck with what I have... With the c...
by Bosse_B
Sun Nov 25, 2018 2:04 pm
Forum: Automation, sensing and robotics
Topic: AM2302 DHT sensor ignoring sign of temperature....
Replies: 5
Views: 1500

AM2302 DHT sensor ignoring sign of temperature....

I have set up a monitoring system for my attic to check for excessive humidity (which could cause mulch developing). So I have wired 3 AM2302 DHT sensors at each end of the attic (20 m long) and the middle (where the electronics box resides). Readings are taken each 60 min and sent to my website MyS...
by Bosse_B
Sun Oct 21, 2018 9:20 am
Forum: General discussion
Topic: AM2302 DHT sensor on RPi3 not working after reboot of RPi
Replies: 6
Views: 857

Re: AM2302 DHT sensor on RPi3 not working after reboot of RPi

And yesterday I disabled (using sudo raspi-config) the 1Wire, I2C and SPI interfaces, which I previously enabled because of the instructions on this webpage . After this I switched back the cron job to using GPIO4 and waited. Turns out that now the RPi has performed a reading every 30 minutes for ov...
by Bosse_B
Sat Oct 20, 2018 5:34 am
Forum: General discussion
Topic: AM2302 DHT sensor on RPi3 not working after reboot of RPi
Replies: 6
Views: 857

Re: AM2302 DHT sensor on RPi3 not working after reboot of RPi

I have switched GPIO pin to use GPIO17 instead of GPIO4. Now the logging is not giving up, so it seems like GPIO4 (which is also used by the 1wire system) is not usable. At least not when 1wire is enabled.... The cron job has successfully operated every 30 minutes over night and across a scheduled R...
by Bosse_B
Fri Oct 19, 2018 10:40 am
Forum: General discussion
Topic: AM2302 DHT sensor on RPi3 not working after reboot of RPi
Replies: 6
Views: 857

Re: AM2302 DHT sensor on RPi3 not working after reboot of RPi

I thought that the problem was fixed by running the call to the py script as sudo (from AdaFruit's installation page), but unfortunately this was not the case. When I checked the log file I found that after a few successful measurements the DHT seemed to have locked up again and there was no output ...
by Bosse_B
Thu Oct 18, 2018 7:39 am
Forum: General discussion
Topic: AM2302 DHT sensor on RPi3 not working after reboot of RPi
Replies: 6
Views: 857

Re: AM2302 DHT sensor on RPi3 not working after reboot of RPi

Is it needed for the Adafruit DHT interface?
Is it somehow outputting data during boot that can lock up the DHT sensor?
by Bosse_B
Thu Oct 18, 2018 5:49 am
Forum: General discussion
Topic: AM2302 DHT sensor on RPi3 not working after reboot of RPi
Replies: 6
Views: 857

AM2302 DHT sensor on RPi3 not working after reboot of RPi

I have discovered a strange problem with a sensor I am deploying to my summer home in order to monitor temp/humidity over the winter. I have an RPi3 with the Adafruit_Python_DHT library installed and it worked just fine yesterday. Now following the nightly reboot of the RPi it has stopped working , ...
by Bosse_B
Tue Oct 16, 2018 4:05 pm
Forum: General discussion
Topic: AM2302 Temp/Humid sensor, improvement needed...
Replies: 1
Views: 195

Re: AM2302 Temp/Humid sensor, improvement needed...

OK, so I did not wait long enough... It turns out that after 39 s the call: ./AdafruitDHT.py 22 4 returns with an error message: Failed to get reading. Try again! Now I just need to figure out how I can set up a script that will log readings on a regular schedule with both a timestamp and the result...
by Bosse_B
Tue Oct 16, 2018 2:54 pm
Forum: General discussion
Topic: AM2302 Temp/Humid sensor, improvement needed...
Replies: 1
Views: 195

AM2302 Temp/Humid sensor, improvement needed...

I have a bunch of AM2302 sensors primarily used with ESP8266 WiFi modules as temp/humid sensors. Now I need to interface to an RPi3 and I found this webpage describing it all. I followed its directions on two RPi3 units with different versions of Raspbian and it seemed like the Adafruit_Python_DHT s...
by Bosse_B
Sat Sep 29, 2018 7:39 pm
Forum: Networking and servers
Topic: OpenVPN - how to limit client access inside target LAN?
Replies: 6
Views: 5756

Re: OpenVPN - how to limit client access inside target LAN?

iptables-save shows this: *filter :INPUT ACCEPT [15584849:2706590795] :FORWARD ACCEPT [1832370:466329194] :OUTPUT ACCEPT [6935632:558888964] -A FORWARD -s 10.8.0.128/25 ! -d 10.0.0.10/32 -j DROP -A FORWARD -s 10.8.1.128/25 ! -d 10.0.0.10/32 -j DROP COMMIT # Completed on Sat Sep 29 14:31:26 2018 # Ge...
by Bosse_B
Sun Sep 23, 2018 8:29 am
Forum: Networking and servers
Topic: OpenVPN - how to limit client access inside target LAN?
Replies: 6
Views: 5756

Re: OpenVPN - how to limit client access inside target LAN?

This thread is 8 months old (since last post) and the issue has been resolved. I ended up limiting the client IP range for these users to access only a single LAN IP address. I used IPTABLES for that. The users are identified by ccd entries where they get IP addresses in a different subnet (with the...
by Bosse_B
Thu Aug 23, 2018 5:16 am
Forum: Automation, sensing and robotics
Topic: Interfacing an AM2302 DHT sensor with RPi using freepascal?
Replies: 3
Views: 755

Re: Interfacing an AM2302 DHT sensor with RPi?

Thanks, I will try to use that.
But my preferred programming language is Pascal (as in Free Pascal /Lazarus) so do you know of an interface using Pascal?
by Bosse_B
Wed Aug 22, 2018 8:25 pm
Forum: Automation, sensing and robotics
Topic: Interfacing an AM2302 DHT sensor with RPi using freepascal?
Replies: 3
Views: 755

Interfacing an AM2302 DHT sensor with RPi using freepascal?

I have been using the Adsong AM2302 DHT sensors with ESP8266 WiFi modules (ESP-07) and it works OK. I used Arduino for the ESP-07. Programmed in C. But now I would like to attach the sensor to a RPi box and I don't really know where to begin. I have used RPi units a lot for various tasks but never f...
by Bosse_B
Fri Jul 27, 2018 6:38 am
Forum: Raspberry Pi OS
Topic: OpenVPN connection from Raspbian to remote server
Replies: 7
Views: 4452

Re: OpenVPN connection from Raspbian to remote server

I might add that this particular RPi box runs Jessie...

Code: Select all

lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
by Bosse_B
Thu Jul 26, 2018 4:06 pm
Forum: Raspberry Pi OS
Topic: OpenVPN connection from Raspbian to remote server
Replies: 7
Views: 4452

Re: OpenVPN connection from Raspbian to remote server

Are you talking about logs on the VPN server (Ubuntu) or client (Raspbian) Where should I set the verb, on the server or in the ovpn file? My suggestion was to add "verb 6" to your client config file and see if the process is wedged or if it is alive but fails to connect. Looking at the server log ...
by Bosse_B
Thu Jul 26, 2018 9:49 am
Forum: Raspberry Pi OS
Topic: OpenVPN connection from Raspbian to remote server
Replies: 7
Views: 4452

Re: OpenVPN connection from Raspbian to remote server

Look at the log and push to "verb 6" or more, there might be some information there. Are you talking about logs on the VPN server (Ubuntu) or client (Raspbian) Where should I set the verb, on the server or in the ovpn file? If this machine is already used for other tunnels, make sure this config do...
by Bosse_B
Wed Jul 25, 2018 10:35 pm
Forum: Raspberry Pi OS
Topic: OpenVPN connection from Raspbian to remote server
Replies: 7
Views: 4452

Re: OpenVPN connection from Raspbian to remote server

Well, I opened a command prompt and used the command: sudo openvpn--config /home/pi/xxxx.ovpn I had to type in the encryption password and then the connection completed. At this stage the command window did not return to the prompt but stayed on a blank line. So I started another command window and ...

Go to advanced search