birdiary / station Goto Github PK
View Code? Open in Web Editor NEWCode to run a smart open source bird feeder.
Home Page: https://wiediversistmeingarten.org
License: GNU General Public License v3.0
Code to run a smart open source bird feeder.
Home Page: https://wiediversistmeingarten.org
License: GNU General Public License v3.0
Currently, the data is only sent according to a certain interval. However, the data transmission should take place in real time, as long as there is an internet connection. Only if there is no internet connection, the data should be sent collectively to the server as soon as an internet connection was established again.
When you use Raspberry Pi OS Rel. 5.1 (Debian Bookworm) and run the script ./get_pi_requirements you get several errors like this:
error: externally-managed-environment
This environment is externally managed
To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Once you have run the Script and make a reboot, the doesn't come up with the desktop environment anymore.
So at least the ./get_pi_requirements Script need some rework, but I think also the Python Scripts need rework. At least the picamera library is replace by the picamera2 library in this OS Release.
There should be a wizard that guides you through the initial installation process as soon as the SD card is inserted in the Raspberry Pi. This can include the following steps:
Similar to MrBeam, it should be possible to establish a connection to the Raspberry Pi via a local network hosted by the Raspberry Pi using a website that guides you through the installation process.
There should be a file in which all terminal content is stored for a certain while, for debugging purposes.
Often the sound file has not the same length as the video
There should be a digital photo frame per station and once for all stations, which automatically updates and displays the latest bird that has visited the station. Ideally with the other data supplied with the movement. This is aimed primarily at the large display of bird videos.
wood around fodder release gets destroyed by larger birds or other animals
-> strengthen with metal
Birds often land directly on the fodder or the border of the fodder.
Proposed solutions:
With the new program I had the problem that there always was the problem "out of resources" when it tried to start the camera, since it also was sending all movements at the same time. After removing all movements to send, it worked properly again. So my solution would be not start the camera and send the data at the same time
Peaked roof has some overhang at the back so it can not be mounted to a wall easily
Partially solved by mounting the interior wall angled
There should be an option, e.g. in the config file, to disable the use of the microphone for stations that run without a microphone.
We had bad experiences with the DHT22 sensor in measurement stations (values, productive life time), BME280 is our current recommended sensor (see https://sensor.community/de/sensors/airrohr/).
Raspberry Pi needs a lot of power, difficult to run it just with solar panel and power bank..
Ideas:
To achieve less failure measurements of the balance, it would be useful if there would be a balance reset in a certain interval. Otherwise e.g. by a soaked perch there is always a certain weight without a bird actually sitting on the perch
The weather protection of the station should be reconsidered. If it is not treated with linseed oil or varnish, mould can easily form.
Perhaps there are other treatment options for the wood, or other materials such as 3D printing, which would make the station more robust. Otherwise, there will be many negative experiences, which will increasingly reduce the motivation of the citizen scientists involved.
In addition, the station should be designed to operate autonomously. This includes various aspects, such as the power connection (cable, PowerBank, solar) but also the network connection (Wifi, mobile radio, LoRa)
This issue serves as a starting point for the discussion and should result in many individual aspects and issues.
can only concatenate str (not "NoneType") to str
Hi,
is it possible to create a new station but not accept to publish the data on the website?
During the setup of the Station I would not like to publish. To setup an own webserver for testing was not successful until now.
Dieter
Microphone and temperature / humidity sensor are hanging loose at the bottom of the station.
Just the usual Raspberry Pi power supply is plugged into the USB-C port, so it is exposed to the elements and difficult to fasten.
tare() so that the null weight is not rising from time to time.
With the new version i had the problem that the program was not restarting after an bug. It still tried to send the data every minute but not measuring the weight again.
Different solutions that are also already implemented at some stations:
Refilling fodder is difficult without some of it falling onto the electronics at the back (Raspberry Pi and cables)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.