• 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

Z-Wave JSUI Driver

myServer 6 supports Z-Wave devices

Z-Wave has become the defacto standard for homeowners and small businesses who are looking to automate their residences. There are thousands of Z-Wave devices from dozens of manufacturers covering everything from lighting to climate, to security and video monitoring. Allonis’ myZWave controller adds a robust, scalable and inexpensive way to control your Z-Wave devices.

As the smart home's popularity explodes, more and more connected devices are being added to people's houses. A lot of these devices – sensors, lightbulbs, heating controls, locks, plugs and the like – pack in Z-Wave to talk to each other.

In fact, there are more than 100 million Z-Wave devices in smart homes worldwide, with over 4,000 Z-Wave enabled devices to choose from.

A much lower power alternative compared to Wi-Fi, but with a much bigger range than Bluetooth, Z-Wave operates using low-energy radio waves to communicate from device to device.

Here is one 3rd party testing of Allonis's Z-Wave support: https://qubino.com//manuals/Compatibility_with_modules/Allonis_GW_Compatibility_manual.pdf

Requirements:

  • myServer 6
  • myServer 6 Z-Wave driver and license(s) for your Z-Wave devices
  • myZWave Controller (Pi, Raz GPIO Z-Wave board, microSD card or USB3 with pre-installed software, case) OR Pi, Z-Wave USB radio, case
  • Z-Wave device(s)

Main features

  • Typically myServer communicates to the Z-Wave hardware support software  via websockets.
  • Optional: Full-Featured Z-Wave to MQTT Gateway: Expose Z-Wave devices to an MQTT broker in a fully configurable manner
  • Secured: Supports HTTPS and user authentication
  • Control Panel UI: Directly control your nodes and their values from the UI, including:
    • Nodes management: Add, remove, and configure all nodes in your Z-Wave network
    • Firmware updates: Update device firmware using manufacturer-supplied firmware files
    • Groups associations: Add, edit, and remove direct node associations
    • Z-Wave JS Exposed: Provides full-access to Z-Wave JS's APIs
  • Scene Management: Create scenes and trigger them by using MQTT apis (with timeout support)
  • Debug Logs in the UI: See debug logs directly from the UI
  • Access Store Files in the UI: Access the files are stored in the persistent store folder directly from the UI
  • Network Graph: Provides a beautiful map showing how nodes are communicating with the controller
  • Supports myServer 6 Discovery via MQTT: In lieu of the official integation, can be used to expose Z-Wave devices to myServer 6 via MQTT discovery.

 

 

Installation for Z-Wave USB radio:

  • Shutdown myServer 6 controller (or the Pi you will be running Z-Wave on as a controller)
  • Plug the Z-Wave USB radio into the Pi USB 2.0 port of the myServer controller.
    • If you are using a myServer 6 Shelf system, you also have to enable the Front USB ports
      • Go to /boot/firmware/config.txt and modify the all section with the bolded two lines, Save the File and Reboot.  
        • [all]
          over_voltage_delta=50000
          #pi5 overclocking
          #arm_freq=3000
          #gpu_freq=1000
          dtoverlay=disable-wifi
          dtoverlay=disable-bt
          hdmi_enable_4kp60=1
          enable_uart=0
          # this is to enable the external usb ports on the shelf case
          dtoverlay=dwc2,dr_mode=host
  • Ensure you have a fan solution to keep the CPU cool.

Installation for Z-Wave GPIO hat:

  • Shutdown myServer 6 controller (or the Pi you will be running Z-Wave on as a controller)
  • Plug the Z-Wave GPIO hat carefully on the 40 pins being careful not to bend any.  Or plug in the USB Z-Wave radio into the USB 2.0 port of the myServer controller.
  • Ensure you have a fan solution to keep the CPU cool.

Configuring ZWave-JS-UI software on a Pi

Setup the Pi4 operating system (sets up so that linux command shell is not bound to the serial port and can communicate with the Z-Wave Hat - note this may negatively affect bluetooth): 

From the Raspberry Pi Command line:

Type:  Sudo Raspi-Config

Navigate to: Interface Options

Navigate to: I5 Serial Port

Choose Login shell: No

Choose Serial port hardware enabled: Yes

OK, Finish, Reboot

FYI, these settings are stored in the Pi firmware...

 

 Install the Z-Wave JSUI software:

From the Raspberry File Manager, navigate to:

32 bit OS: cd /usr/local/Allonis/zwave/

64 bit OS (newer myServer images):  cd /home/allonis/applications/zwave/

Right click, Open in Text editor this file:

sudo nano docker-compose.yml

Adjust the Time Zone value, default is TZ=America/Detroit.  Copy / paste the exact value of your location from the Wikipedia link in the document.  

Go to the /dev folder using File Manager and verify that you see the ttyAMA0 file (GPIO serial device).  If yes, go back to the docker-compose.yml file to edit it's properties.

By default, the system is setup to support a USB Z-Wave radio.  So comment out the ttyUSB0 line and remove the # on the ttyAMA0 line if you are using a GPIO radio.  Comment out the ttyUSB0 by adding the # in front if you are using the GPIO serial device.

Edit the address of the Z-Wave hardware hat / USB: uncomment the appropriate line (delete the #).  Only one Z-Wave device can be supported at one time.

You could add another myServer hardware / software to support a second Z-Wave controller for very large systems.

Type Alt O and save the file, then Alt X to exit.

If using a USB stick radio

Plug the stick into a USB2 available slot and then boot the myServer Pi. 

Once booted, in File Manager navigate to:

/dev/serial folder should now exist.  Traverse to the "by-id" file. Right click on file and choose "rename".  Copy the full name.

Paste the name into the docker-compose.yml file.  Replace the example name with your actual name.  Remove the comment # and Save the file.

An Aeotec Gen5 USB stick reports as ttyACM0 when plugged into a Shelf myServer 6 enabled front side USB port (as example).

USB configure 1

This is yaml so indentation rules must be followed (keep same indentation as rest of uncommented lines)

The physical device gets mapped to the logical device /dev/zwave

It uses the full path to the device in the using the by-id reference path that doesn't change inbetween reboots.

 

 

 

Configure Z-Wave JSUI software

Open a terminal window:

32 bit: cd /usr/local/Allonis/zwave

64 bit: cd /home/allonis/applications/zwave/

Start the Docker Container: sudo docker-compose up

Launch this "interactively" to detect any errors during setup. 

System will now download and create the Docker  Container ZWave-JS-UI from the Internet.

Ensure there are no errors.

Once all is verified working fine (no errors noted), then run this command instead

sudo docker-compose up -d

This command instructs Docker to run the Z-Wave JSUI software in the background for production usage.

Go to a the browser on the Pi and type 192.168.1.123:8091.  This assumes the Pi is on that IP address...use your IP address instead.

You don't need to accept the permissions to send Telemetry data back to the J2UI developers.

Click on top left hamburger menu.  Go to Settings (the spoke).

Click on Z-Wave

Choose /dev/ttyAMA0 in the Serial Port dropdown (if GPIO Hat device is being used).  If you are using a USB Z-Wave dongle than the serial port will be what you defined in the docker-compose.yml (example shown above: /dev/zwave).  So you shouldn't change this dropdown in the web GUI.

Click the refresh button on all four of the S2 and S0 fields to get authentication tokens.  These tokens are used when communicating between the Z-Wave controller and your secure Z-Wave devices.

RF region is typically set for USA (your Z-Wave radio must compatible for same market).

 

Ensure that the WS Server is enabled under the "Home Assistant" tab and ensure that the server port is 3000.   This enables a JSUI service that informs myServer (and HomeAssistant) that a new device has been added to the Z-Wave network.

The Discover prefix should be set for homeassistant

At the bottom, Click Save.  We should then be able to verify that the software is communicating to the Z-Wave controller hardware.  Any errors will appear on the top right of the Settings webpage.

JSUI will restart and it will find the Z-Wave controller as "Device 1"  It will also read any configuration that exists on the Z-Wave radio and display it.  If an old ZWave device is not available on the network currently, it may show as "Unknown".

 Click Control Panel on top left nav.  You should then see your Z-Wave hardware identified.   You should also see the "Scan completed" on the very top right if succesful.  If this shows an error message instead, diagnosis and resetup should be done to address the issue.

Click on Controller Statistics (next to Actions) and then see if there are TX and RX messages as further evidence that the software is talking to the Z-Wave radio hardware.

 At this point, if no errors, now would be a good time to set Docker to launch this as a Service at boot.

To shutdown JSUI, go to the terminal window and issue Ctrl-C to stop the JSUI service.

Go back to a terminal window and ensure you are in the OS appropriate folders:

32 bit OS: /usr/local/Allonis/zwave/

64 bit OS (newer myServer images):  /home/allonis/applications/zwave/

and go type:

sudo docker-compose up -d

JSUI should show as "Started"

The next time the Pi boots, Docker runs.  Docker then runs this command at boot as well running ZWave JSON as a service.

Note: multiple automation servers can connect to the single ZWave JSON software (like HomeAssistant AND myServer 6)

 

Manage your Z-Wave network

Go back to the 192.168.1.123:8091 webpage and click Actions on bottom right hamburger menu icon and do "Managed Nodes" and then click Inclusion / Next.

If your Z-Wave devices were previously on a different Z-Wave network, you must Exclude the Devices before Including them.  Click Exclude, put your device into Exclude Mode, and the Z-Wave controller should exclude it.

Once all are Excluded (or new devices), Include them.  Ensure you have each device named and in a Location.

 

 Configuring myServer 6:

  1. Shutdown myServer 6

Select and Install the ZWave JSUI driver from Software Updater onto myServer 6

  1. Start myServer 6
  2. In the Device Drivers page, double click on the ZWave MQTT Configuration button in the driver
  3. Add a new Controller:  ZWaveJSUI|AddController~ZWave~192.168.1.123:3000~Equipment   Note that this example assumes the Z-Wave hub is installed on the myServer 6 controller GPIO - therefore we used 192.168.1.123  for it's IP address.  If you use localhost (127.0.0.1) then you won't be able to manage JSUI from Dashboard running on a non myServer 6 controller browser.
  4. myServer will automatically do a Discovery to the Z-Wave hub and auto create devices that Z-Wave has Included
  5. Click the Discover button. This should find the Razberry(s) on the network that were previously Included.  If devices don't import check that ALL devices have a name / location assigned to them.
  6. Type the Z-Wave controller's IP address if Discover didn't find it (it may be offline)
  7. The default port is 3000.  This must match what was setup in the ZWave-JSON setup page.
  8. The default poll rate is 1.5 seconds.

Upgrading JSUI

Periodically, JSUI software will be updated.

From a Terminal Window on the Pi where the Z-Wave radio is installed:

64 bit: cd applications/zwave

or:

32 bit: cd /usr/local/Allonis/zwave

sudo docker stop zwave-js-ui
sudo docker rm zwave-js-ui

sudo docker pull zwavejs/zwave-js-ui:latest
sudo docker-compose up -d

 JSUI should now be up to date.

 

Example of docker-compose files

 

64bit default:

version: '3.7'
services:
zwavejs2mqtt:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mysupersecretkey
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time and dates to match your timezone instead of UTC
# Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=America/Detroit
networks:
- zwave
devices:
# Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
# Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
# - '/dev/serial/by-id/insert_stick_reference_here:/dev/zwave'
# uncomment the following if using a z-way hat
# - '/dev/ttyAMA0:/dev/ttyAMA0'
# uncomment if using a zooz zwave stick !!!! NOTE YOUR ID WILL BE DIFFERENT !!!!
# - /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_62b401b08ebcea11b15696e368aed703-if00-port0:/dev>
# a silicon labs zwave stick will look something like this
# - /dev/serial/by-id/usb-0658_0200_E2080102-4A02-010E-1B1B-FA1965D0E930-if00:/dev/zwave
# - '/dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_66ba5effd73eeb119bfc37bcf28b3f46-if00-port0:/de>
- '/dev/ttyUSB0:/dev/ttyUSB0'
volumes:
- zwave-config:/usr/src/app/store
ports:
- '8091:8091' # port for web interface

 

32bit configured for GPIO serial:

version: '3.7'
services:
zwavejs2mqtt:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mysupersecretkey
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time and dates to match your timezone instead of UTC
# Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=America/New_York
networks:
- zwave
devices:
# Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
# Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
# - '/dev/serial/by-id/insert_stick_reference_here:/dev/zwave'
# uncomment the following if using a z-way hat
- '/dev/ttyAMA0:/dev/ttyAMA0'
# uncomment if using a zooz zwave stick !!!! NOTE YOUR ID WILL BE DIFFERENT !!!!
# - /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_62b401b08ebcea11b15696e368aed703-if00-port0:/dev>
# a silicon labs zwave stick will look something like this
# - /dev/serial/by-id/usb-0658_0200_E2080102-4A02-010E-1B1B-FA1965D0E930-if00:/dev/zwave
# - '/dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_66ba5effd73eeb119bfc37bcf28b3f46-if00-port0:/de>
#- '/dev/ttyUSB0:/dev/ttyUSB0'
volumes:
- zwave-config:/usr/src/app/store
ports:
- '8091:8091' # port for web interface
- '3000:3000' # port for Z-Wave JS websocket server
networks:
zwave:
volumes:

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