Z-Wave.Me

Contacts

info@z-wave.me

Products & Services

  • RaZberry
  • Z-Uno
  • Z-Way
  • Catalogue
  • Where to buy
  • Support
  • Contacts
Products
  • RaZberry 7
  • Z-Uno
  • Wirenboard 7
  • Z-Station
  • UZB
  • Hub
  • Zniffer / A.R.T.
  • Z-Wave.Me NFC reader
  • Z-Wave.Me Z-Wave and Zigbee mPCIe adapter
  • Multisensor WB-MSW
Support
  • Downloads
  • UZB/RaZberry Firmwares
  • Frequently Asked Questions
  • How to report a bug?
  • Serial API commands
  • Zniffer / A.R.T.
Z-Way
  • Download Z-Way
  • Z-Way components support
  • Z-Way version history
  • Z-Way licensing
  • Z-Way license for UZB
  • Develop Quick Intro
  • Z-Way on my Hardware
Where to buy
  • Become a partner
  • For consumers
Development Tools
About us
  • Contact
  • Reviews
News
  • Subscribe
Custom development

  • RaZberry
  • Z-Uno
  • Z-Way
  • Catalogue
  • Where to buy
  • Support
  • Contacts
    Products
    • RaZberry 7
    • Z-Uno
    • Wirenboard 7
    • Z-Station
    • UZB
    • Hub
    • Zniffer / A.R.T.
    • Z-Wave.Me NFC reader
    • Z-Wave.Me Z-Wave and Zigbee mPCIe adapter
    • Multisensor WB-MSW
    Support
    • Downloads
    • UZB/RaZberry Firmwares
    • Frequently Asked Questions
    • How to report a bug?
    • Serial API commands
    • Zniffer / A.R.T.
    Z-Way
    • Download Z-Way
    • Z-Way components support
    • Z-Way version history
    • Z-Way licensing
    • Z-Way license for UZB
    • Develop Quick Intro
    • Z-Way on my Hardware
    Where to buy
    • Become a partner
    • For consumers
    Development Tools
    About us
    • Contact
    • Reviews
    News
    • Subscribe
    Custom development
  • RaZberry
  • Z-Uno
  • Z-Way
  • Catalogue
  • Where to buy
  • Support
  • Contacts
  • Z-Wave.Me
  • Support
  • Serial API commands
  • Facebook
  • VK
  • Twitter

Few helpful Serial API commands that can be used to manage RaZberry or UZB.

For echo commands use /dev/ttyAMA0 for RaZberry and /dev/ttyACM0 for UZB.

Commands are available in form for Z-Way API, echo commands (to be executed in the terminal) or via uSAPI (micro Serial API tool)

Switching between Static and Bridge mode

(supported on the 7th generation or newer)

  • Static mode (compatibility with 5th gen firmwares):
    Z-Way API:
    http://localhost:8083/JS/Run/zway.ZMESerialAPIOptionsStaticAPISet(true)
    Echo command:
    echo -ne "\x01\x06\x00\xF8\x04\x01\x01\x05" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "F8 04 01 01" -p /dev/ttyACM0 -r 1
  • Bridge mode (compatibility with 7th gen SiLabs firmware):
    Z-Way API:
    http://localhost:8083/JS/Run/zway.ZMESerialAPIOptionsStaticAPISet(false)
    Echo command:
    echo -ne "\x01\x06\x00\xF8\x04\x01\x00\x04" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "F8 04 01 00" -p /dev/ttyACM0 -r 1

Z-Wave frequency change

  • EU:
    Z-Way API:
    http://localhost:8083/JS/Run/zway.ZMEFreqChange(0)
    Echo command:
    echo -ne "\x01\x04\x00\xF2\x00\x09" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "F2 00" -p /dev/ttyACM0 -r 1
  • US:
    Z-Way API:
    http://localhost:8083/JS/Run/zway.ZMEFreqChange(3)
    Echo command:
    echo -ne "\x01\x04\x00\xF2\x03\x0A" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "F2 03" -p /dev/ttyACM0 -r 1
  • ANZ:
    Z-Way API:
    http://localhost:8083/JS/Run/zway.ZMEFreqChange(4)
    Echo command:
    echo -ne "\x01\x04\x00\xF2\x04\x0D" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "F2 04" -p /dev/ttyACM0 -r 1
  • RU:
    Z-Way API:
    http://localhost:8083/JS/Run/zway.ZMEFreqChange(1)
    Echo command:
    echo -ne "\x01\x04\x00\xF2\x01\x08" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "F2 01" -p /dev/ttyACM0 -r 1

Switching between Normal and Long Range mode

(supported on the 7th generation or newer)

  • Normal mode (compatibility with 5th gen and 7th gen non-Long-Range firmwares):
    Echo command:
    echo -ne "\x01\x05\x00\x0B\x80\x01\x70" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "0B 80 01" -p /dev/ttyACM0 -r 1
  • Long Range mode:
    Echo command:
    echo -ne "\x01\x05\x00\x0B\x80\x02\x73" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "0B 80 02" -p /dev/ttyACM0 -r 1

Reboot the Z-Wave radio chip

  • Z-Way API:
    http://localhost:8083/JS/Run/zway.SerialAPISoftReset()
    Echo command:
    echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "08" -p /dev/ttyACM0

Reset to factory default (erase the full network information)

  • Z-Way API:
    http://localhost:8083/JS/Run/zway.SetDefault()
    Echo command:
    echo -ne "\x01\x04\x00\x42\x01\xB8" > /dev/ttyAMA0
    uSAPI:
    uSAPI -b "42 01" -p /dev/ttyACM0 -r 2

RF test mode (for FCC and CE certification)

  • US (FCC)
    916 MHz:
    uSAPI -b "F8 0B 02 09 00 64 00 00 75 30" -p /dev/ttyACM0 -r 1
    908 MHz:
    uSAPI -b "F8 0B 02 09 02 64 00 00 75 30" -p /dev/ttyACM0 -r 1
    912 MHz:
    uSAPI -b "F8 0B 02 09 03 64 00 00 75 30" -p /dev/ttyACM0 -r 1
    921 MHz:
    uSAPI -b "F8 0B 02 0A 03 64 00 00 75 30" -p /dev/ttyACM0 -r 1
  • Europe (CE-RED)
    869.85 MHz:
    uSAPI -b "F8 0B 02 00 00 64 00 00 75 30" -p /dev/ttyACM0 -r 1
    868.42 MHz:
    uSAPI -b "F8 0B 02 00 01 64 00 00 75 30" -p /dev/ttyACM0 -r 1

Above 00 00 75 30 is the time in milliseconds to emit (30 000 in this case). You can change it to other values.

02 is PN9 emission (polynomial sequence), change to 01 for carrier only, or for 03 for 10101010101... sequence

Change 00 to 01 for US, 02 for ANZ, 03 for HK, 05 for IN, 06 for IL, 07 for RU, 08 for CN, 09 for US LR A, 0A for US LR B, 20 for JP, 21 for KR

Z-Way mobile app

Z-Way for iOSZ-Way for Android

Z-Way license for UZB

Buy a Z-Way license for your UZB1 dongle in three clicks.

Buy a Z-Way license

Did you know ?

that the RaZberry shield runs on all Raspberry Pi versions that have the GPIO connector such as Raspberry Pi 1, 2, 3 B, 3 B+ and 4 etc. It is even possible to connect it to an Orange Pi.

Support

Contact Z-Wave.Me support team

Get help

Follow us:

Z-Wave.Me

Smart Systems Distribution Sàrl

info@z-wave.me

Products & Services

  • RaZberry
  • Z-Uno
  • Z-Way
  • Catalogue
  • Where to buy
  • Support
  • Contacts

©  2009 — 2023  Z-Wave.Me

Privacy Policy

We use cookies to compile and aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future. Privacy Policy

Получите консультацию специалистов

Ответим в течение 15 минут

CAPTCHA →

Refresh CAPTCHA

Send