rcrum003 / HiveControl

Alternative software for use with HiveTool suite of software.
GNU General Public License v2.0
25 stars 13 forks source link

camera config with port 8080 #64

Open ptegler opened 4 years ago

ptegler commented 4 years ago

post hivecontrol install.... hivetool appears on port 8080 of localhost.... this conflicts with the hivecontrol CAMERA From hivecontrol CAMERA icon.... pages states

This supports native streaming via the "stream" protocol, streaming via javascript and a direct connection with a tool like VLC. To connect with VLC, use URL: http://192.168.1.49:8080/?action=stream when reading this post, clicking on the link above brings up hivetool.. (locally)

videostream.php is calling stream.php and using $port = 8080 a search of the drive...turns up no stream.php file (text within videostream.php)

camera page shows just a broken icon graphic instead of a video feed.

command line camera test works just fine

ptegler commented 4 years ago

a complete new RPi 'stretch' image was created, then a complete new install of the Hivecontrol performed. 20190712 All executed without a hitch. An RTC (DS3231) was installed/configuration was completed... then a configuration of the Hivecontrol app(s) VLC was installed. A 'system commands' update was peformed. Bottom left corner of page states v1.67 but a command line check does indeed state v1.94 All sensors are working as expected. A PiCam was tested and found functional (both snapshot and vid stream). Within Hivecontrol , the CAMERA link page brings up the same error as listed above. The CAMERA page simply lists the above info about VLC and presents a 'broken image icon' graphic where the vid should be.

ptegler commented 4 years ago

more testing (learning/studying?...) from the /pages/index.php the 'camera' navigation link.... brings up the page video.php mid page there.... is a broken icon pic generated by the line ## img src="/pages/videostream.php" %% in /pages/videostream.php.... there is a ## img src="stream.php" %% * that page does not exist anywhere in the latest 1.95 install/update Note: ## = < = > has to replace these in this comment as the comment replaced the real text wit ha broken image icon

crap...reading the comments again I realize I'm repeating myself here :-(

rcrum003 commented 4 years ago

Peter, we have this on our list to take a look at.

ptegler commented 4 years ago

:-) Paul (not Pete) tia (on your radar)

rcrum003 commented 4 years ago

Sorry Paul! I see the problem, doesn't look like we included mjpg-streamer in the install code. I do see a conflict with the BeeCounter, so we will need some time to separate the two - We were using the streamer to watch the counter work. Maybe on the Raspberry PI 4, it'll be powerful enough to do both at the same time. - Still working this one..

ptegler commented 4 years ago

interesting... I'd started installing mjeg-streamer but never got back to it the other day!...perhaps consider an ....either or... some might want counters, some may just want occasional checks ptegler

jhaltd commented 4 years ago

Wondering if this has been resolved, I'm seeing the same thing - VLC link and broken Live Stream image. Currently have beecounter disabled, and camera (Pi Camera) enabled. Thanks,

Dunc

ptegler commented 4 years ago

I flat out gave up on hivecontrol fixing this,.... and the wasted screen real estate with the Y axis and not holding what you have enabled to view (reverts on every update)

I needed my hives back on line so ended up going back to Hivetool.     084 is out and works great  .

ptegler

On 4/26/2020 1:05 AM, jhaltd wrote:

Wondering if this has been resolved, I'm seeing the same thing - VLC link and broken Live Stream image. Currently have beecounter disabled, and camera (Pi Camera) enabled. Thanks,

Dunc

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rcrum003/HiveControl/issues/64#issuecomment-619482745, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK2OWDF3SFES3ICQ4PJQMDROO6JNANCNFSM4IAAZ63A.

-- Paul Tegler ptegler@verizon.net www.teglerizer.com

rcrum003 commented 4 years ago

Happy to have you submit a patch if the camera is an important feature for you. We have spent our limited time to enable new sensors instead of just the webcam. For example, over the past year, we have enabled support for Raspberry 4, added support for BME temp/humidity/gas sensors, integrated PurpleAir readings into our data collection, had to design around IBM's wxunderground money grab, and finally added support for BroodMinder T/TH sensors.

So yeah, we'll get to this feature, just not high on our list.

ptegler commented 4 years ago

well understood (time and priorities) so why not just turn off this feature rather than leaving it hanging!

jhaltd commented 4 years ago

So is the camera completely non-functional? That is to say that it isn't being used by the beecounter either?