-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 3B+ AND POE-HAT Support? #1636
Comments
@kawakawa77 Maybe the PoE HAT doesn't provide enough power to run the camera? Or have you successfully used the camera with the HAT and the camera running Raspbian for example? |
im using a pi 3b+ with poe hat, everything works fine, except there is a Raspbian update for the poe hat that enables the cooling fan to operate, how do I get this update under motioneyesos? as my pi is running very hot to the point of shutdown |
I solved the problem with not working camera. The network connection had no access to gateway, dns and ntp. Following that, MotionEyeOs did not start the camera device. So it did not work and the camera LED did not light. The problem was: I connected my laptop directly to a standalone poe-switch and connected the PI to the switch directly too. Because of I configured gateway, both dns and ntp in MotionEyeOs, on startup the PI searched for gateway, and so one, but could not found any. Following that, camera device was not started. After I connected the poe-switch to my network, the gateway, dns and ntp were found, so the camera was started too. That was the reason of not working camera. But one question remains: POE-HAT supports a cooling fan, which is controlled by i2c bus of the pi. Raspbian needs an update for making the fan to work. @ccrisan Could you add the POE-HAT fan funktionality to a later release of MotionEyeOs? So we could build a PoE-powered MotionEyeOs-camera. Wouldn't it be cool? |
@kawakawa77 I'm going to release a new version of motionEyeOS that includes updates to various components (such as Kernel and Firmware). However, I am not planning on adding support for various hats in motionEyeOS. If the update won't solve your problem, you'll have two options:
|
@ccrisan Thank you for your answer. The PoE-HAT I mean, is not any PoE-HAT from "some producer XY". I mean the official PoE-HAT. This one: https://www.raspberrypi.org/products/poe-hat/ I understood the politics by releasing the Raspi 3B+ model, that the users will get a official PoE powering option. So the Raspi could be used in environments, where is no electricity available, but a network cable. Maybe you can overthink this matter. |
I did not know we now have an official hat for PoE. Thanks for clarifying that for me. We could add some more DTBs to the OS image - I'll have to think about it and see what criteria to use for selecting them. |
Thank you very much. |
This feature would be awesome! The official PoE hat is really great for building CCTV cams. Thus it would be great if it could be supported by motioneyeos. |
The fan of the POE hat is controlled via I2C via the raspi‘s firmware mailbox property. The original raspi operating system powers the fan according to the temperature of the CPU. Maybe the following information from another project which uses an own operating system are helpful for implementing this feature in motioneyeos: Analysis: Implementation: |
Is there any update on using the PoE hat? |
Maybe someone has made the POE hat fan to work for them? If so can you share your solution? |
We can do this. Let's get the Official PoE hat FAN working for motioneyeos. This is a good link to something similar: I am trying to figure out how to "build the kernel" because I already did what is mentioned in this link: which was to add to /boot/config.txt the following line: I rebooted a couple times and the fan is still not working. http://www.embeddedpi.com/documentation/installing-linux-os/mypi-industrial-raspberry-pi-device-tree-overlays |
Want to bump this thread for more support. Think this would be a great addition to Motion. I have multiple cameras running off Motion and basically just wired the fan to my header pins because it really gets up there in temp. The downside being I have no control over the fan and it just runs constantly...I forsee problems with that. |
Any updates to this? |
Any updates yet? I built a Pi 3B+ plus infrared cam plus the PoE hat, it works great, except for the dead fan:
I fear this limits the lifetime of the hardware. |
If everything goes well, the next nightly build will include support for device-tree overlays. More specifically, the dtoverlays configuration file can be used to load additional device tree overlays from I'm hoping this is the solution to this issue. |
I installed dev20191002 (https://github.com/ccrisan/motioneyeos/releases/tag/nightly-dev) and I'm happy to confirm the fan now works. The temperature nicely stays around 50°C.
However, it turns out the fan makes quite a bit of noise. My cam is in a hedgehog house, and I'm pretty sure the noise will scare away any potential residents. I can hear it from meters away. So I will switch off the fan and try reducing frame rate and resolution to keep the RPi3 a bit cooler. But nonetheless, thanks a lot for implementing this! |
@onnozweers thanks for getting back to us! |
You're welcome! By the way, in case anyone (after upgrading) wants to turn off the fan: ssh as admin into the OS, then
Then add this line to
Then reboot. |
Installed just now. Edit/Update: Took the case off while I showered and it brought it down from the 82C I started at to 49C and the fan stopped spinning (guessing 50 is the threshold). Thanks again. |
I am running motionEyeOS version: 20180627
I am using the following board/model: Raspberry PI 3B+
I am using the following type of camera: Raspberry Pi Spy Cam (vc.ril.camera / MMAL Camera)
Hello,
here comes the problem...
I configured MotionEyeOs to work als WIFI-Device. It worked fine, I got video from attached camera.
Today I got the new POE-HAT for Raspi 3B+ and installed it.
While MotionEyeOs was working on WIFI I accessed the Web-Interface and disabled WIFI. I have all network credentials defined as static (no DHCP).
I disconnected the power supply from my PI.
I inserted the network cable into my Pi, where the other end was connected to a POE-capable switch.
The Pi started. I was able to connect to the Web-Interface of MotionEyeOs.
The only difference was, that the camera LED was NOT lighting. And I got no video from camera in the Web-Interface. I am getting the picture, which is showing a stroken through camera only.
Then I shutdown the Pi by Web-Interface an disabled the Pi by pulling the network cable from it.
I startet with network cable inserted again, but there was no difference.
So I enabled WIFI in the Web-Interface of the Pi again and restarted it. The Pi was running in WIFI-Mode now.
After connecting to the Web-Interface, I saw the camera video and the camera LED was lighting.
So where could be the problem? When the Pi is supported with power by the POE-HAT, I am getting no video signal from camera or the PI does not recognise the attached camera. While the Pi is powered by the standard power supply, all things are fine.
Do you have an idea, where is the problem?
Does the POE-HAT need an future update of MotionEyeOs? Is the POE-HAT not supported yet?
Thank you for your answers.
Regards
Artur
P.S.
Excuse my bad english.
The text was updated successfully, but these errors were encountered: