Skip to content
Use motioneye video clients on Raspbian & BATMAN-adv Ad-Hoc network
Python Shell
Branch: master
Clone or download
Latest commit 30be14d Oct 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archive init Sep 30, 2019
MusingParabolaGenerate.py + Parabola script Oct 12, 2019
README.md Update README.md Sep 30, 2019
batmanBATSpace.service init Sep 30, 2019
batmanConfig.sh init Sep 30, 2019
batmanRC.sh init Sep 30, 2019
dBmLoss.py init Sep 30, 2019
motionConfig.sh init Sep 30, 2019

README.md

Decentralized Video Monitoring over a Pi 'Zero W' Mesh Network

Using motioneye video clients on Raspbian & a BATMAN-adv Ad-Hoc network

link: motioneyeos
link: motioneye Daemon
link: Pi Zero W Tx/Rx data sheet:
link: BATMAN Open Mesh

The Pi Zero uses an onboard BCM43143 wifi module. See above for the data sheet. We can expect around a ~19 dBm Tx signal from a BCM43143 if we are optimistic. Unfortunately, "usable" Rx gain is unclear in the context of the Pi.

This implementation of motioneye is running on Raspbian Buster (opposed to motioneyeos).

Calculating Mesh Effectiveness w/ Python:

Please take a look at dBmLoss.py- the idea here is one should be able to estimate the maximum plausible distance between mesh nodes before setting anything up. It can be run with no arguments-

python3 dBmLoss.py

...with no arguments, it should use default values (Tx = 20 dBm, Rx = |-40| dBm) to print this:

you can add (default) Rx Tx arguments using the following syntax:
                 python3 dBmLoss.py 20 40
                 python3 dBmLoss.py <Rx> <Tx>                 


 57.74559999999994 ft = max. mesh node spacing, @
 Rx = 40
 Tx = 20

Try a few values from a shell or take a look in the file for more info.

Order of Operations:

All shell scripts should be privileged to match chmod u+x and assume a Raspbian Buster environment.

See ./motionConfig.sh to configure motioneye.
See ./batmanConfig.sh to install & configure BATMAN-adv.
See ./batmanRC.sh to initialize the network
See batmanBATSpace.service for a systemd service framework

You can’t perform that action at this time.