Hello,
I really like Volumio2. It is stable and does everything I need. But in my opinion it still can do more then just play music.
I needed to also have IP cam in the room so decided to merge MotionEye with Volumio2.
I have spare Raspberry Pi B+ so decided to do on it.
I have downloaded Volumio2 (VERSION: 2.041) and flashed it on SD card.
Turn on Raspberry PI and system booted properly to Volumio2. Everything was working as expected.
Steps I did (a lot of steps just found on github.com/ccrisan/motioneye/wi … -On-Debian):
sudo apt-get update
wget github.com/ccrisan/motioneye/wi … _armhf.deb
sudo dpkg -i ffmpeg_3.1.1-1_armhf.deb
sudo apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev libx264-142 libavcodec56 libavformat56 libmysqlclient18 libswscale3 libpq5 v4l-utils
Here I got dependency issues so I needed to execute:
sudo apt-get install -f
And again:
sudo apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev libx264-142 libavcodec56 libavformat56 libmysqlclient18 libswscale3 libpq5 v4l-utils
To allow motion to find libraries I needed few links:
sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/libEGL.so
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/libGLESv2.so
sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/libbcm_host.so
sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/libvcos.so
sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/libvchiq_arm.so
sudo ln -fs /opt/vc/lib/libmmal.so /usr/lib/libmmal.so
sudo ln -fs /opt/vc/lib/libmmal_core.so /usr/lib/libmmal_core.so
sudo ln -fs /opt/vc/lib/libmmal_util.so /usr/lib/libmmal_util.so
sudo ln -fs /opt/vc/lib/libvcsm.so /usr/lib/libvcsm.so
sudo ln -fs /opt/vc/lib/libmmal_vc_client.so /usr/lib/libmmal_vc_client.so
sudo ln -fs /opt/vc/lib/libmmal_components.so /usr/lib/libmmal_components.so
sudo ln -fs /opt/vc/lib/libcontainers.so /usr/lib/libcontainers.so
sudo ln -fs /opt/vc/lib/libopenmaxil.so /usr/lib/libopenmaxil.so
Now install MotionEye:
sudo pip install motioneye
And do some configuration:
sudo mkdir -p /etc/motioneye
sudo cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
sudo mkdir -p /var/lib/motioneye
sudo cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
sudo systemctl daemon-reload
sudo systemctl enable motioneye
sudo systemctl start motioneye
Now I have Volumio2 interface on port 80 and MotionEye interface on port 8765.
Till now it works really nicely.
Couple of problems I had:
- I wanted to build Volumio2 with Build scripts (github.com/volumio/Build)
Scripts created the image, Raspberry PI booted to Volumio2 but it seemed that communication with MPD was not working.
When I played some radio I did not hear any music and also pages to add NAS shares (My Music) were not working.
But MPD and Volumio services were running. - I am not sure if this installation could be done in a better way, e.g. as some plugin or so.
I do not know if the plugin is a good idea to have this done and actually I am not sure how to make a plugin. - Maybe it could be also a good idea to incorporate it to Build script as some optional possibility.
Again not sure how to do it, especially when the images are not running for me.
If the idea seems nice for someone and he would like to contribute and knows the system more then me,
he can help to incorporate it ti Volumio2 in a better way.
Also any ideas are welcomed.
Thanks again for great OS.