anoved / OctoPrint-EmailNotifier

Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!
GNU Affero General Public License v3.0
16 stars 35 forks source link

Attachement mirror horizontal/vertical #8

Closed Shaztech closed 8 years ago

Shaztech commented 8 years ago

My pi camera is mounted upside down. In octoprint there's options Flip webcam horizontally and Flip webcam vertically. But when I receive the email the image is upside down. Can you add the option to flip it ?

Thanks

djvaporize commented 8 years ago

Hi, I could be wrong but I think the octoprint UI flips the image via CSS. Can you try configuring the mjpegstreamer to flip it on stream and then switch the flip off on OctoPrint UI? See here: https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration

Thanks.

Shaztech commented 8 years ago

I don't know which file to edit to enable flip mjpegstreamer. Little help thx !

On Feb 21, 2016 8:30 PM, "djvaporize" notifications@github.com wrote:

Hi, I could be wrong but I think the octoprint UI flips the image via CSS. Can you try configuring the mjpegstreamer to flip it on stream and then switch the flip off on OctoPrint UI? See here: https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/anoved/OctoPrint-EmailNotifier/issues/8#issuecomment-186961673 .

djvaporize commented 8 years ago

ssh into the pi and edit /boot/octopi.txt. it is commented in there so it should be straightforward. at the line that says: camera_raspi_options="-fps 10", you need to add -hf or -vf for horizontal or vertical flip.

if you are unsure how to do that, remotely poweroff the raspberry pi through the UI, pull the SD card and put it on your desktop computer and edit the text file that way.

Shaztech commented 8 years ago

Thanks it's working

On Mon, Feb 22, 2016 at 12:08 AM, djvaporize notifications@github.com wrote:

ssh into the pi and edit /boot/octopi.txt. it is commented in there so it should be straightforward. at the line that says: camera_raspi_options="-fps 10", you need to add -hf or -vf for horizontal or vertical flip.

if you are unsure how to do that, remotely poweroff the raspberry pi through the UI, pull the SD card and put it on your desktop computer and edit the text file that way.

— Reply to this email directly or view it on GitHub https://github.com/anoved/OctoPrint-EmailNotifier/issues/8#issuecomment-187017056 .