• 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
4K 60 Hz HDCP 2.3 / 2.2 to HDCP 1.4 Converter / Downgrader1
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
TeamViewer1
RustDesk Remote Desktop1
myServer 61
myServer Setup
Installation2
myServer Startup3
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 Capabilities
MQTT
Broker
Certificate
Discovery
myServer Device Discovery1
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 Installation
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
AES67 Virtual Windows Sound Card1
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
Xfinity IP Driver1
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
JTech Video Over IP ZTIP3001
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
Allonis L3 Managed Switch Driver1
Atomic IP2IR Driver1
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

UPS Monitor Driver

Most all storage media will not survive power cycle events across time.  It is very important for a myServer 6 control system to be on a UPS for proper graceful shutdown when there is an AC line power outage.  Read More.  Plugging the system into a UPS is a great first step.  But what if the power outage extends beyond the physical storage capacity of the backup battery?  It is important to automate a myServer graceful shotdown on all systems.  myServer can also be configured to shut down other devices (TVs, AV receivers, video matrix, etc.)  This ability greatly reduces the potential for very expensive equipment failures.

Note that Power cycle failures are not covered under Allonis's myServer controller warranty.

This is implemented with a compatible UPS that is USB connected to myServer for monitoring.  Note that USB has a limited cable length, so pre-planning the UPS and myServer location is important (should be within approx. 10 ft from each other).

This driver requires that the NUT utilities are installed on the server that is connected to the UPS controller. Please follow the Nut tutorial here.  Perform all the steps up to the "reboot (because it’s easy)" line.

Compatible with all APC Uninteruptible Power Backups that supports UPSD technology.

UPS is connected to myServer PIs USB.

You can also run the APC UPSD software on Windows and relay the message to myServer 6 controller via ethernet.

Uses APC UPSD

Power outage.

UPS goes on battery.

UPS starting to run out of battery.

UPS script 

UPS sends message to myServer via curl command (HTTP push message) to tell myServer to shutdown gracefully (save variables to database and shut process down)

 

Automation event example

Get the variable name from the list of variables for your UPS device ID (device ID is exposed in the UPS myServer Pi Driver)

Automation Rule Conditions:

When:

{{sensor_19_battery_charge}} <= 5

Automation Rule Actions:

Shutdown 

Use case:

Control systems like our myServer, can monitor the UPS (highly recommended in any installation). When the UPS battery goes low (power has been out for awhile), then myServer gracefully shuts down. But before it goes offline, it can be configured to send notifications that the UPS advises that the power is out. The network switch / modem etc. is also on a UPS (same one or different ones). And because myServer runs locally in the home with not critical need to see Internet, it can log the power outage, send local (to the home) messages to any connected client (like your phone) without Internet. It can also send an email / text message IF there is Internet. myServer monitors if Internet is available or not so it can be configured on what it's capable of doing.

Installation

Install the UPS driver from myServer Software Updater.  Click Discover.  Your USB connected UPS should then be found.  Select "sensor" as the Family type.  Network port is typically 3493.

Data should start to update in the "Sensor" catagory.  You can use these variables in your Automation Events and user interfaces.

Network UPS Tools (NUT) Ultimate Guide


By Techno Tim7

Meet NUT Server, or Network UPS Tools.It’s an open UPS networking monitoring tool that runs on many different operating systems and processors.This means you can run the server on Linux, MacOS, or BSD and run the client on Windows, MacOS, Linux, and more.It’ perfect for your Pi, server, or desktop.It works with hundreds of UPS devices, PDUs, and many other power management systems.

This is the ultimate guide to configuring Network UPS Tools (NUT).We cover everything from installing and configuring the server on as Raspberry Pi, configuring the client on Windows and Linux, configure a charting and graphing website to visualize NUT data, spin up an additional web site use Docker, and finally set up monitoring and alerting to automate shutdowns of your machine.

https://networkupstools.org

 

UT UPS Server

plug in ups

1
lsusb

should see something like

 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 019: ID 09ae:2012 Tripp Lite
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
1
2
sudo apt update
sudo apt install nut nut-client nut-server
1
sudo nut-scanner -U

should see something like

tripp lite

1
2
3
4
5
6
7
8
[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "09AE"
        productid = "2012"
        product = "Tripp Lite UPS"
        vendor = "Tripp Lite"
        bus = "001"

apc 1500

1
2
3
4
5
6
7
8
9
[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "051D"
        productid = "0002"
        product = "Back-UPS XS 1500M FW:947.d10 .D USB FW:d10"
        serial = "3xxxxxxxxxxx"
        vendor = "Tripp Lite"
        bus = "001"

apc 850

1
2
3
4
5
6
7
8
9
[nutdev3]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "051D"
        productid = "0002"
        product = "Back-UPS ES 850G2 FW:931.a10.D USB FW:a"
        serial = "3xxxxxxxxxxx"
        vendor = "American Power Conversion"
        bus = "001"
1
sudo nano /etc/nut/ups.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pollinterval = 1
maxretry = 3

[tripplite]
    driver = usbhid-ups
    port = auto
    desc = "Tripp Lite 1500VA SmartUPS"
    vendorid = 09ae
    productid = 2012

[apc-network]
    driver = usbhid-ups
    port = auto
    desc = "APC Back-UPS XS 1500"
    vendorid = 051d
    productid = 0002
    serial = 3xxxxxxxxx

[apc-modem]
    driver = usbhid-ups
    port = auto
    desc = "APC 850 VA"
    vendorid = 051d
    productid = 0002
    serial = 3xxxxxxxxx
1
sudo nano /etc/nut/upsmon.conf
 
MONITOR tripplite@localhost 1 admin secret master
MONITOR apc-modem@localhost 1 admin secret master
MONITOR apc-network@localhost 1 admin secret master
1
sudo nano /etc/nut/upsd.conf

Change 127.0.0.1

 
LISTEN 127.0.0.1 3493 

to all interface

 
LISTEN 0.0.0.0 3493 
1
sudo nano /etc/nut/nut.conf
1
MODE=netserver
1
sudo nano /etc/nut/upsd.users
1
2
3
[monuser]
  password = secret
  admin master
1
sudo nano /etc/udev/rules.d/99-nut-ups.rules
1
2
3
4
5
6
7
SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"

# TrippLite
#  e.g. TrippLite SMART1500LCD - usbhid-ups
ACTION=="add|change", SUBSYSTEM=="usb|usb_device", SUBSYSTEMS=="usb|usb_device", ATTR{idVendor}=="09ae", ATTR{idProduct}=="2012", MODE="664", GROUP="nut", RUN+="/sbin/upsdrvctl stop; /sbin/upsdrvctl start"

LABEL="nut-usbups_rules_end"

reboot (because it’s easy)

 

 

UPS Battery FAQ

Uninterruptible power supply (UPS) batteries store energy and provide backup power when the main power source fails. The technology used in UPS batteries has evolved over time and today a variety of options exist depending on budget, environment, desired lifecycle and even safety requirements.

This article explores the pros and cons behind five major battery types: lead acid, lithium iron phosphate, sodium-ion, lithium-ion and nickel-cadmium. All are leveraged by modern UPS systems; however, newer technology (namely lithium iron phosphate and sodium-ion) are rapidly gaining popularity for their cost-to-performance balance, safety ratings and low environmental impact.

Lead Acid (SLA)

Lead acid batteries are one of the most commonly used constructions in UPSs. They are reliable, cost-effective, easy to manufacture and offer a relatively large storage capacity; however, they have a shorter lifespan, heavier weight and occupy a much larger footprint than other battery types. Lead acid UPSs are generally cheaper to purchase upfront, but their short life makes them a much costlier option overtime — especially when used in larger whole-building and mission-critical systems.

Another drawback with lead acid batteries is their environmental impact. Lead is a toxic material that requires specialized handling and disposal, and lead acid batteries tend to recharge inefficiently causing them to draw more power than other UPS options.

  • Typical Battery Life: 2 – 3 years
  • Upfront Cost: Low
  • Long-Term Cost: High
  • Maintenance: High
  • Maximum Operating Temperature:  32 – 104 degrees F
  • Environmental Impact: Medium

 

Lithium iron phosphate batteries are rapidly gaining popularity with UPS manufacturers due to their long life, low maintenance and ecological benefits. Not to be confused with lithium-ion which we’ll discuss later, lithium iron phosphate technology is also safe and stable even in warm conditions. In fact, they tend to outperform most other battery formats — including lead acid — in high temperature environments.

Lithium iron phosphate batteries have a 3x greater average lifespan (8 – 10 years) than traditional lead acid technology with very little maintenance required. Additionally, they are non-toxic and don’t contain cobalt, a metal with environmental and ethical issues.

The downside to lithium iron phosphate is it’s upfront cost, and UPSs built with lithium iron phosphate batteries tend to have a higher initial cost but a lower overall cost considering their long life, low maintenance need and highly efficient performance.

  • Typical Battery Life: 8 – 10 years
  • Upfront Cost: High
  • Long-Term Cost: Low
  • Maintenance: Low
  • Maximum Operating Temperature:  32 – 113 degrees F
  • Environmental Impact: Medium

Sodium-Ion (Na-Ion / SIB)

Sodium-ion battery technology has seen a resurgence in recent years due to it’s low cost, wide temperature operating range, reliability and low ecological footprint. As their name implies, sodium-ion batteries use sodium ions to store and maintain an electric charge. Sodium, an abundant and low cost mineral, performs extremely well over long periods of time and in extreme conditions, and sodium-ion batteries are typically rated for 10 – 15 years in temperatures up to 140 degrees F.

The downside to sodium-ion technology is its low energy density, resulting in larger and heavier UPSs.

  • Typical Battery Life: 10 – 15 years
  • Upfront Cost: Low
  • Long-Term Cost: Low
  • Maintenance: Low
  • Maximum Operating Temperature:  -4 – 140 degrees F
  • Environmental Impact: Low

Lithium-Ion (Li-Ion)

Not to be confused with lithium iron phosphate which we discussed above, lithium-ion technology is being phased out of UPS use due to thermal concerns. As noted with consumer electronics, lithium-ion batteries can overheat uncontrollably, releasing gas and potentially causing a fire or explosion when damaged or operated in a hot environment.

That said, lithium-ion technology is still used due to its moderate cost and longer lifespan; however, regular inspection is recommended.

  • Typical Battery Life: 8 – 10 years
  • Upfront Cost: Medium
  • Long-Term Cost: Medium
  • Maintenance: Low
  • Maximum Operating Temperature:  32 – 104 degrees F
  • Environmental Impact: Medium

Nickel-Cadmium (NiCd)

Nickel-cadmium batteries have largely been phased out of UPS use due to their high overall cost and negative environmental impact. Though they have a long lifespan (15 – 20 years), nickel-cadmium batteries tend cost more than other battery constructions due to required maintenance and difficulties with manufacturing.

Additionally, nickel-cadmium batteries contain both nickel and cadmium — two highly toxic materials — making disposal difficult. Combine this with a large physical footprint and a tendency to loose charge even when not being cycled, and nickel-cadmium has rapidly lost favor with most UPS manufacturers.

  • Typical Battery Life: 15 – 20 years
  • Upfront Cost: Medium
  • Long-Term Cost: High
  • Maintenance: High
  • Maximum Operating Temperature:  -4 – 104 degrees F
  • Environmental Impact: High

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