• Home
  • Products
      • Back
      • Sports Bars
          • Back
          • Control System
          • Sports Bar Info
              • Back
              • Packages
              • Project Process
              • Competition
              • Video Integration
              • Audio Integration
          • Audio Streamer
      • Residential
          • Back
          • Home Automation
      • Digital Signage
          • Back
          • Overview
          • Mosaic Video Wall
      • Drivers
      • Installations
      • SmartRemote
          • Back
          • Introduction
      • Products
      • SmartScreen
      • RV / Marine
          • Back
          • Shelly Relays - RV Slide Control
  • Shop
  • Support
      • Back
      • Documentation
          • Back
          • Downloads
      • Dealers
      • Forum
      • Contact Us
  • About
  • Login
 

Product Documentation

Documentation
Hardware
SmartRemote1
SmartRemote Screen Protector1
myServer 5 Update1
Business Related Info
About Us6
Allonis Hardware and Support1
Become an Integrator1
Copyright notices and licenses for Open Source Software1
License Transfers1
Payment Options and other Ordering FAQ1
Privacy policy1
Streaming TV for my Bar / Restaurant1
System Licensing1
Getting Started
Common Tasks
Audio / Video Integration for Audio1
Audio / Video Integration for Video1
Remote Programming - How it Works1
File Storage FAQ1
Music Streamers1
myButton: Play an audio file upon pressing a Panic button1
Sending SMS messages from myServer1
Television Control1
Troubleshooting
Network Management1
Networking FAQ1
Setting a Static IP address1
Networking - Connect to a Device Default IP address1
Accessing myServer from the Internet1
myServer 6 Router1
myFirewall Installation1
Network Switches1
Network 24 and 48 Port 10G L3 Managed Switch (Rack)1
Network Security - myFirewall21
Network Security - myFirewall41
WiFi Router Configuration1
QR Code support via myServer 61
VLAN Network Setup1
VLAN Allonis L3 Switch Network Setup1
VLAN Support on myServer 6 Controllers - Raspberry Pi41
myServer 6
myServer Setup
Installation1
myServer Startup2
myServer Configuration1
myServer Configuration - 21
Sports Bar Project Process1
myServer 6 Controller Installation1
Adding Rooms to myServer1
Adding Lighting1
myServer 6 - Master Image Installation1
Find.myServer.fyi1
Flashing Pi CM4 using the IO Board1
Migrating to myServer 6 From Previous Versions1
MultiZone Audio Design - Commercial1
myServer 6 Installation on Mint OS1
myServer 6 Installation on Windows OS1
myServer 6 USB Installation1
Networking Basics1
Creating a Bootable Image on SDMicro and USB1
myServer Virtual Environment Installation1
myServer 6 Automation Events1
myServer 6 Command Syntax1
Macros - Naming Convention1
myServer Backup and Restore1
Core System Capabilities1
MQTT
Broker
Certificate
Discovery
Testing your Setup
Logging
myServer 6 Hardware
myServer 6 1.5U Rack Mount Hardware1
myServer 6 Shelf Mount1
myServer Features1
How To
User Interface Scene Transitions1
Advanced Configuration
Authentication
Remote Access
Master Image Updates1
3rd Party Automation System Integration
Home Automation Overview1
HomeAssistant Gateway Driver1
Homeseer Driver Installation1
Node Red - Installation1
Why Automate your Home or Business1
QSC Core Driver1
Applets
TVListings App1
Weather App Installation1
Drivers1
Amplifiers
Audio Matrix
AES67 Audio IP Networking Overview1
Allen and Heath Audio Matrix Driver1
Atlas Atmosphere Audio Driver1
AVPro ACMax24A Audio Matrix1
BSS-100 Driver1
DBX - Driver1
DBX640 - Driver1
MonoPrice Blackbird Driver1
MRC88 Audio Matrix Driver1
QSC Audio Driver1
RTIADx Audio Driver1
Russound Rio Driver1
Russound RNET Audio Driver1
Wiring: Connecting RCA audio jacks to Phoenix Connectors1
DSP444 AES67 Audio over IP Driver1
DSP4428 AES67 Audio over IP Driver1
Audio Video Receivers
Anthem AVR Driver1
Denon Driver1
Integra AV Receiver Driver1
Marantz AudioVideo Receiver Driver1
Onkyo AVR Driver1
Blinds
Lutron Blinds1
Somfy RS485 Blinds1
Somfy Synergy UAI+ Blinds1
Somfy Z-Wave Blinds1
TRO.Y Blinds Controller Driver1
Bond Bridge - Shades1
Camera
BlueIris Camera NVR1
Hikvision IP PTZ Camera Setup1
IP Camera Integration1
IP Camera PTZ Driver1
Lumens Camera Driver1
Ubiquiti IP Camera Setup1
Samsung NVR Driver1
Armcrest IP Cameras1
IPCamera Wyze Integration1
Contact / Motion Sensor
Control Device
Harmony Hub Driver1
MyQ Garage Door Opener1
Tablet Power Solutions1
Infrared Control1
UPS Monitor Driver1
UPS myServer Pi Driver1
VideoStorm irUSB1
Elgato Stream Deck1
Shotbox Driver1
Ratgdo Garage Door Control1
Energy
AccuEnergy Driver1
Fan
Bond Bridge - Fans
Intercom
Keypad
Lighting
DMX Lighting1
Lutron Caseta Driver1
Lutron Driver1
Phillips Hue Driver1
Lighting Sim Driver1
Powerline DMX Pool Lighting1
Shelly Automation Device Driver1
Media Player
AndroidTV Driver1
AppleTV control1
Blu100 Driver1
BluRay Player IR Control1
Cable TV - IR1
DLNA Media Player Driver Installation1
Emby Media Server Configuration1
eStream4K Device Using IR1
FireTV 4K Installation1
HEOS Driver1
Kodi Application1
Live Streamer Driver1
MediaMTX Streaming Media Driver1
MediaPlayer Audio Amp1
myAudioPlayer1
myMediaPlayer1
Oppo Blu-Ray Player Driver1
Roku Player Control1
Streaming Media Hardware Comparison1
Sony X1000 BluRay Driver1
Tivo Player Driver1
Sonos Driver1
Zidoo Media Players1
Media Service1
Streaming Music for Commercial Implementations1
TuneIn Application
Pool
Jandy Pools1
Projector
Optoma Projector Driver1
PJLink Driver1
BenQ Projector Driver1
Mitsubishi Projector Driver1
NEC Projector Driver1
Sony Projector
Vivitek Projector Driver1
JVC Projector Driver1
Sony VPL Projector Driver1
JVC LX-NZ30 Projector Driver1
Receiver
Relay
Digital Loggers1
Dingtian Relay Driver1
Electronic Salon GPIO Relay1
iMatic Relay Driver1
Satellite
DirecTV Driver1
Dish Network Driver1
Security System
DSC Security System Driver1
ELK Driver Installation and Use1
Security Simulator Driver1
Honeywell Security1
Outdoor Grill Integration
Traeger Grill Integration
Green Mountain Grill Driver
Sensor
1-Wire Temperature Sensor1
GPS Receiver Driver1
Water Tank Level Sensing1
Television / Monitor
Controlling TVs via CEC1
Generic TVIR2
HiSense TV Control1
NoHassle TV Driver1
Insignia TV Control1
LG TV Driver1
LGWebOS Driver1
Samsung BET Driver1
Samsung Signage TV Driver1
Samsung Tizen TV Driver1
Samsung TV Driver1
Sony TV Driver1
Sharp TV Driver1
Sunbrite TV Driver1
Viewsonic TV Driver1
PJLink Driver1
TCL TV Driver1
Peerless TV Driver1
Vizio TV Driver1
Thermostat
Climate Simulator1
EcoBee Thermostat1
Venstar Thermostat Driver1
Tuner
Video Matrix
Video Wall Control1
AVPro QuadView Driver1
AVPro Video Matrix2
ANeuVideo Driver1
Brightlink Video Switcher1
Factor A8 Matrix Switch Driver1
HDTV HDBaseT Driver1
HDTV Video over IP Driver1
AVOIP 4K Driver1
HDMI 36x36 Video Matrix1
HDMI Matrix Basics1
HDTV HDBitT Driver1
HDTV Quad Driver1
Just Add Power Driver1
Knox Video Switcher Driver1
MOiP Video Matrix Driver1
Shinybow Video Driver1
Connectivity Technologies
CAN Driver1
Connecting Bluetooth Devices to a Windows PC1
Controlling a Water Valve via Tasmota Relay1
DMX
DMX - PKNight Art-Net controller setup1
Art-Net DMX Driver1
GenericGPIO Relay Driver1
Generic Modbus Driver1
Generic Serial Driver1
GlobalCache Driver1
IFTTT Configuration1
Infrared Control2
Matter1
MQTT Use1
OBD/VIC Driver1
OLA Service Monitor1
Raspberry BLE Device Driver1
Relays - IP controlled1
Sainsmart IP Relay Driver1
Serial to Net for Pi Installation1
Sonoff Devices1
Tasmota1
UPB Lighting Driver1
Waveshare GPIO Relay Driver1
Zigbee Driver1
Z-Wave JSUI Driver1
ZWay Raz Driver1
ESP32 Projects
ESP32 Doorbell Camera
ESP32 - Rotary Encoder1
User Interfaces
myDesigner 6
myDesigner 61
myDesigner 6 Installation1
myDesigner 6 Useage1
Administrator Template1
Modern
Modern Template - Phones1
Modern Template - Tablets1
Moonlight
Moonlight Template Strategy1
Moonlight - SmartRemote1
Moonlight - SmartPhone1
Moonlight - Tablet1
Sheer Template
Sheer Template - Phones1
Sheer Template - Tablets1
SportsBar
SportsBar - Tablet1
SportsBar - SmartPhone1
TV Placement1
Browser Compatibility1
Adding Grafana Charting into your UI1
Device Networking1
iPort Surface Mounts1
Setting up a Tablet for myServer 6 Templates1
Setting up an iPad / iPhone for system access1
Tools and Helpers
Developer Tools
Driver Examples

iP Camera Integration

Integration of most IP cameras for live viewing works with many available cameras.

As myServer 6 displays the user interface using browser technology, the camera feed must support displaying natively in a browser.  Many cameras support an mjpeg output.  This is the preferred means.  Many other cameras support RTSP output.  Allonis's IP Camera driver can instruct the camera to take "snapshot images" and send those to the browser.  h.264 and h.265 popular camera protocols require an "app" with a media player embedded to display video.  This is not natively supported in a browser.

BlueIris is a Windows based camera NVR (network video recorder) that also can transcode many cameras outputs to a mjpeg stream that can be displayed in the browser.  The downside is encoding is a very CPU intensive operation so a fast Windows PC is required to transcode multiple streams concurrantly.  Running myServer 6 on the same PC is popular, but note that BlueIris will take much of the processor resources that may impact myServer's performance.

You can also use a Raspberry Pi 3/4 with it's varied supported cameras as an IP camera.  An ESP8232 Wifi board is also a very inexpensive and low overhead camera that can be used.

Camera Control

Many IP cameras also support Pan / Tilt / Zoom and other controls.  the Generic IP Camera driver supports sending those commands.  The key is to know which command gets sent for your camera make / model.

Some references for camera control:

https://www.ispyconnect.com/sources.aspx

 

Camera Snapshot and Recording

Look in myServer/Configuration/Media folders. Make sure the folder is pointing to a valid location. The PI via the IPCameras driver will do the recording. It reads the h264 frames from the camera and transcodes to .mp4 video using FFMPeg. The file will be placed in the videos folder of the media folder defined in myServer. The default name is <<CameraName>>-<<timestamp>>.mp4

 

360 View Cameras

360 cameras are of two types.  Those intended for active sports and systems for vehicles.

For RVs, Trucks and Autos, on the market are camera systems that have typically four cameras.  Front, Rear and sides.  These camera images are brought into a specialized NVR where their images are combined (stiched) and edited (cropped) so that they appear from a vehicle top side view to show a full 360 degree view around the vehicle.  The top of the vehicle is an image that is superimposed to create the illusion of a birds eye view.  The output of this NVR can be integrated into myServer browser by treating the NVR as a "camera".

Sports cameras (like those from GoPro, Garmin, Samsung) contain wide angle lenses and software that allows the output to be dynamic in that you can click on the touchscreen (like on your phone) and move the image to view a 360 degree spherical perspective.  We haven't yet tested to see how this might integrate with myServer's browser but it looks like fun.

 

This section will be further expanded as we gain more background with these emerging products.

 

Installation

The IPCamera driver is Legacy.  Please see the new MediaMTX driver for the latest.

Example of configuring the IP Camera Driver 

Download and install the IP Camera Driver  from Software Updater on the primary myServer 6 Controller. You should also download the sample HTML5 Sheer.Tablets and Phones UI templates and install on your myServer 6 Controller.

Restart myServer 6.

  1. Within IP Camera Driver, Define a Host (local myServer PI IP Address:8083) using Command Builder and Update
  2. Within the IP Camera Driver ,  Click Configure Cameras.  WebRTC should open.
  3. Wihtin WebRTC, define the Streams by clicking Add Streams.  Save
  4. Within the IP Camera Driver, click Discover.  This will add the WebRTC defined cameras to the list of cameras.  myServer Variables are automatically created for the cameras.
  5.  Name the "Make" of the camera either:  "Camera" (no control of PTZ) or "Onvif" (for Onvif compatible cameras) or "Visca" (for  Serial over ethernet controlled cameras  - common in conference room cams).
  6.  You should now be able to view the camera in a myServer web page. 
  7. click configuration and choose Add Controller from the command list.
  8. Edit the command for the IP Camera <<IPCameras|AddController~Name~IP Address~8083~RoomName>>
  9. The IP Camera Driver will create vars for the various cameras using  {video_1_image}} as the naming convention.  The default camera scenes will then automatically display those camera views if the camera is compatible with the IP Camera Driver.
  10. Open browser and open your systems "iPad" user interface.  Select the camera icon.
  11. The Camera user interface should open. Select which camera you would like to view full screen
  12. Shortly, the camera stream should connect and you should be watching the live camera image.  You can control pan / tilt as well (if supported by your camera and configured in the Camera Driver).
  13. The supported commands for the IPCamera driver are listed in the Command builder within the IP Camera Driver Configuration.

How it works:  The IPCamera Driver builds image command URL for taking snapshots.

Video|1~SetItem~Snapshot~http://192.168.1.77/cgi-bin/snapshot.cgi?1

Chrome Developer Tools on the display browser can tell you what the frame rate is for the jpeg continual refresh images.  This rate is typically how many images per second the camera can take JPEG still pictures.  To increase this number, eliminate any non needed services that the camera is processing using the cameras setup method.

 The RTSP settings are saved to: /usr/local/Allonis/rtspcamera/config.json

 

Example settings:

Name:  Diner Cam1

Make: Visca (this tells the driver to use the "Visca" protocol - ie: not Onvif)

Model: Camera

Type: Camera

IP Address:  192.168.1.204

Network Port: 52381

Stream #: 0

Stream URL: rtsp://admin:This email address is being protected from spambots. You need JavaScript enabled to view it.:554/live/av1

Device Address: http://192.168.1.216:8083/stream/fe7294b3-0ef8-44c0-83fe-4f99d9007424/channel/0/

Serial Number: fe7294b3-0ef8-44c0-83fe-4f99d9007424

Room: Equipment

 

 

Planned:  MediaMatrix component to replace WebRTC

 

From V5 documentation:

 

Using the GenericIPCam driver in Family manager add the cameras so they look like this

cam1.png
Family Manager View
cam1.png (12.45 KiB) Not viewed yet


Then open the driver. You should see something like this

cam2.png
Driver View
cam2.png (16.17 KiB) Not viewed yet


Finally double click on the camera to edit the details.

cam3.png
Camera Details
cam3.png (22.53 KiB) Not viewed yet


If the camera requires authentication enter the username and password. Otherwise you can leave off the ?user=<<username>>&pw=<<password>> bits in the following urls.

The two important fields are the Snapshot Image and Live Image.

The Snapshot image is for the static jpg image capture. Its url looks like
http://<<ipaddress>>:<<ipport>>/image/cam1?user=<<username>>&pw=<<password>>
Note: cam1 is the camera name you gave the camera in your BlueIris settings. Make sure it matches your camera name.
This image is exposed in the {{video_<id>_image}} server variable.

The live image is for the motion jpeg live stream. Its url looks like
http://<<ipaddress>>:<<ipport>>/mjpg/cam1/video.mjpg?user=<<username>>&pw=<<password>>
Again Note: cam1 is the camera name you gave the camera in your BlueIris settings. Make sure it matches your camera name.
This image is exposed in the {{video_<id>_liveimage}} server variable.

You would normally want to use the live image server variable on your scenes. However, if you have more than six cameras on your system you will run into browser limitations trying to view all the cameras on one page. Most browsers (Chrome, Safari) impose a limit of a maximum of 6 concurrent connections to a single web server at a time. If you try to view 8 motion jpegs from the same BlueIris server you'll only get to see 6 of them,

The workaround for this limitation is to switch to viewing the static image variable and then in the designer checking the reload box on the image properties. This tells the javascript to immediately reload a new image as soon the the current image is displayed. You'll still see motion just at a reduced framerate. I've been able to put up to 16 cameras on one page using this technique.

On a side note cameras these days boast incredibly high resolutions. More than is necessary for any casual viewing in a browser. I typically configure Blue Iris's web server encoder options to automatically scale down the image to make things a bit more efficient. Especially on network traffic. Here's an example of what I do. Use the best hardware acceleration option that is available on your Blue Iris PC.

 

Known bugs:

3/23/2023: Driver Locks up when adding a second controller.  RTSP software not loading.  RTSP display resolution issue.  Difficult to scroll to bottom of Add Controller UI.

Subcategories

IP Camera PTZ Driver

Contact Us

We are always open for a quick chat! Give us a call or email us any time and we will respond shortly.

  (248)918-0123
  info@allonis.com