Go to advanced search

by grininmonkey
Thu Feb 21, 2019 5:09 pm
Forum: General discussion
Topic: Strange Multiple AM2302/DHT22 Issue
Replies: 7
Views: 204

Re: Strange Multiple AM2302/DHT22 Issue

Very strange thing.... well, maybe strange.... I re-wired the power wire for each of the AM2302s to gpio pins and adjusted my code to detect the age of value output files and if greater than 2 minutes.... cycle the gpio pin (power) for respective sensor... that action is also set to publish a MQTT m...
by grininmonkey
Tue Feb 19, 2019 9:32 pm
Forum: General discussion
Topic: Strange Multiple AM2302/DHT22 Issue
Replies: 7
Views: 204

Re: Strange Multiple AM2302/DHT22 Issue

This is my first experience with any DHT22 sensor..... using the AM2302 ....

So DHT22's are sorta known to hang? If so then I guess what I am experiencing would be kind of expected and should wire their power to a gpio pin.
by grininmonkey
Tue Feb 19, 2019 7:48 pm
Forum: General discussion
Topic: Strange Multiple AM2302/DHT22 Issue
Replies: 7
Views: 204

Re: Strange Multiple AM2302/DHT22 Issue

I have only replaced the wiring.... did that with the 2nd replacement... to that position. I havn't physically moved the "working fine from day 1" sensor over to the left side of tank though... I just would find it hard to believe there would be some import with that... but at this point I could alm...
by grininmonkey
Tue Feb 19, 2019 12:28 pm
Forum: General discussion
Topic: Strange Multiple AM2302/DHT22 Issue
Replies: 7
Views: 204

Strange Multiple AM2302/DHT22 Issue

I have setup a piZeroW to monitor a snake tank with 2 1W DS18B20 sensors and two Adafruit AM2302 DHT22 sensors... and then using two gpios to control relays for heat lamps. All has been well and working great with the exception of an AM2302 in a specific location of the tank. The two AM2302 are posi...
by grininmonkey
Fri Feb 08, 2019 6:16 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Re: Trying to track down a possible memory issue...?

The MariaDB settings where not touched... still the same (as in the new 10.1 update did not replace my tuned settings) As best as I can tell (currently) there appears to be some change from version 10 to 10.1 where 10.1 is caching activity way more than 10.0 did. Again... same applications doing the...
by grininmonkey
Fri Feb 08, 2019 3:58 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Re: Trying to track down a possible memory issue...?

Well.. I still cant track down specifically other than something is constantly increasing "Pagecache" .... and maxing out quickly and then causing the continuous use of swap... Trying to find a fincore package or the right ftools package with fincore in it? I execute sync; echo 1 > /proc/sys/vm/drop...
by grininmonkey
Thu Feb 07, 2019 2:14 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Re: Trying to track down a possible memory issue...?

Drive sleep mode may be true, however something is now going on that was not happening before and its now bugging me. I checked my other Pis and none of them are bumping swap... this one (my thermostat pi) is now hitting swap and doing so in short period of time and the amount used keeps creeping up...
by grininmonkey
Wed Feb 06, 2019 6:36 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Re: Trying to track down a possible memory issue...?

vm.swappiness was 60 when I checked just now... I think 60 was the default in the past? not completely sure because I never thought about it much on my Pi's So out of curiosity.... its using a 2.5" (Spin) drive pulled from a trashed laptop via USB->SATA cable... so I don't expect much performance bu...
by grininmonkey
Wed Feb 06, 2019 5:56 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Re: Trying to track down a possible memory issue...?

When the Meltdown side-channel security issue was discovered Intel's initial response (paraphrased) was what do you mean by bug? The hardware is functioning in exactly the way it was designed to. This is likely what is going on with swap: it is doing exactly what it was designed to do. When the sys...
by grininmonkey
Wed Feb 06, 2019 5:52 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Re: Trying to track down a possible memory issue...?

What does `top` report? That might give some idea of which process is using a loot of memory. From program allocation perspective.... not much is taking up ram... looking at RES or %mem etc within htop... its buffer/cache allocation that seems to grow quickly recently and that's what I am not clear...
by grininmonkey
Wed Feb 06, 2019 2:11 pm
Forum: General discussion
Topic: Trying to track down a possible memory issue...?
Replies: 11
Views: 445

Trying to track down a possible memory issue...?

In short.... I have noticed recently that one of my Pis has started using swap and since that Pi is booting from an external spin drive... it is noticeable. I understand to a limited degree that Buffer/Cache is supposed to (depending) become available to something needed memory, however this is not ...
by grininmonkey
Fri Dec 21, 2018 1:24 am
Forum: General discussion
Topic: 5" screens enyone?
Replies: 2
Views: 121

Re: 5" screens enyone?

I recently got one of these .... https://www.adafruit.com/product/2260
by grininmonkey
Thu Dec 20, 2018 9:20 pm
Forum: General discussion
Topic: Interesting Wifi behavior between Arch and Raspian
Replies: 0
Views: 88

Interesting Wifi behavior between Arch and Raspian

I have had Wifi issues with my Pi's in the form of, after a period of time they can not be pinged etc from another device but from the Pi itself connectivity is fine. Where I last left this issue was considering that perhaps the Pi's just don't like the access point and would perhaps work better wit...
by grininmonkey
Wed Dec 12, 2018 9:52 pm
Forum: General discussion
Topic: PIGPIO REMOTE FROM WINDOWS
Replies: 3
Views: 146

Re: PIGPIO REMOTE FROM WINDOWS

No, the pigpio library and pigpiod service will take care of all that automatically. Just specify at library initialisation time that a remote connection will be used, the rest of the code will be similar to using local GPIO. See: http://abyz.me.uk/rpi/pigpio/python.html#pigpio.pi and http://abyz.m...
by grininmonkey
Wed Dec 12, 2018 8:03 pm
Forum: General discussion
Topic: PIGPIO REMOTE FROM WINDOWS
Replies: 3
Views: 146

Re: PIGPIO REMOTE FROM WINDOWS

You will likely need to design your program running on your PC (Windows) as a "Client" and design a program on the Pi with network socket / server functionality in mind. The pi is essentially a small computer on your network, so any communications to and from would be no different than communicating...
by grininmonkey
Wed Dec 12, 2018 7:20 pm
Forum: General discussion
Topic: Data logger with raspberry
Replies: 19
Views: 853

Re: Data logger with raspberry

I would recommend googling some basics on python, in particular how to define functions, classes etc... based on the examples, I believe your are still trying to figure out (in general) how to organize or construct a flow of execution ? In very "very" basic terms... Define a function, within that fu...
by grininmonkey
Wed Dec 12, 2018 6:52 pm
Forum: General discussion
Topic: can anyone guide me how to set Home automation Bridge on Raspberry Pi 3 Model B+ using LibreElec
Replies: 4
Views: 189

Re: can anyone guide me how to set Home automation Bridge on Raspberry Pi 3 Model B+ using LibreElec

Whats "Home automation Bridge" ? I am aware and have played around with "Homebridge" https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi on the Pi ..... my thermostat project is running a hook so that I can use the Apple iHome app to change temp etc.... but I am at a los...
by grininmonkey
Mon Dec 10, 2018 3:30 pm
Forum: General discussion
Topic: Need chromium-browser in kiosk mod but not fullscreen
Replies: 3
Views: 292

Re: Need chromium-browser in kiosk mod but not fullscreen

I have only ever "dabbled" with the switches for google-chrome and chromium .... but in my experience, specifying --kiosk (with no other instances of chrome currently open) it has always launched to full-screen (same as pressing F11). With instances of chrome currently open.... --kiosk does nothing ...
by grininmonkey
Mon Dec 10, 2018 3:08 pm
Forum: General discussion
Topic: Automation for irrigation
Replies: 2
Views: 90

Re: Automation for irrigation

Using an RC Circuit (3-wire) moisture sensor.... where all you need is Power, Ground and a standard GPIO pin to set as output throw LOW then set as input and then loop till it registers as HIGH... I would say... Possible, technically? But... due to the process being a measurement over a period of ti...
by grininmonkey
Mon Dec 10, 2018 2:41 pm
Forum: General discussion
Topic: Need chromium-browser in kiosk mod but not fullscreen
Replies: 3
Views: 292

Re: Need chromium-browser in kiosk mod but not fullscreen

I may be wrong, but to my understanding... the --kiosk flag is essentially the command line switch equal to a user pressing F11 which is full-screen no tabs and no window frame ? A sized window would technically not be "Kiosk" but rather just a windowed app... if you are trying to open a URL in just...
by grininmonkey
Mon Dec 10, 2018 2:25 pm
Forum: General discussion
Topic: MariaDB ODBC
Replies: 5
Views: 341

Re: MariaDB ODBC

Are there specific applications you are trying to use on the local Pi that require ODBC ? I never mess with ODBC, so was curious if there where specific requirements in your case. I have been using MariaDB on the Pi in place of MySQL with no issue and using either/or (MariaDB/MySQL) client/dev libra...
by grininmonkey
Fri Dec 07, 2018 6:29 pm
Forum: Gaming
Topic: Portable gaming setup
Replies: 24
Views: 2183

Re: Portable gaming setup

ARM only games may not be as plentifull, though we still have thousands of them that are recent releases. One to look at is !OOLite (a new game based on the concept and gameplay of Elite), and it runs greate on RISC OS on the Raspberry Pi. I gota check this out.... I never played Elite, but played ...
by grininmonkey
Fri Dec 07, 2018 6:11 pm
Forum: General discussion
Topic: Rpi 3B+ over Asus Tinker Board
Replies: 27
Views: 2364

Re: Rpi 3B+ over Asus Tinker Board

On the topic of trying non Raspian OSs... I have several Pis and did have some fun going thru the exercise of installing a couple "officially supported" and non official distributions during my "lets check stuff out phase". In the end, overall... the standard Raspian/Raspian-lite are optimal and bes...
by grininmonkey
Fri Dec 07, 2018 4:59 am
Forum: General discussion
Topic: Are there any benefits from the Raspberry Pi using ARM?
Replies: 77
Views: 2961

Re: Are there any benefits from the Raspberry Pi using ARM?

You mean this one: https://www.microsoft.com/en-gb/software-download/windows10 Which says: To get started, you will first need to have a licence to install Windows 10. It says that, but you can install it... it will have a warning and if you do not set a valid product key within 30 days.... it will...
by grininmonkey
Thu Dec 06, 2018 7:31 pm
Forum: General discussion
Topic: Just about to buy Raspberry Pi for Media Centre and would appreciate help
Replies: 30
Views: 1311

Re: Just about to buy Raspberry Pi for Media Centre and would appreciate help

After shutting down the system first, if course! Most power supplies with a switch in the 5v side drop voltage and will probably give you headaches later on when you start getting the "lightning bolt" Get the Pi, the official supply (its cheaper and far stronger than most other options anyway) and ...

Go to advanced search