Skip to content

Instantly share code, notes, and snippets.

View jwshields's full-sized avatar

Jared Shields jwshields

View GitHub Profile
@SmartFinn
SmartFinn / dhcp_option119.py
Last active February 4, 2023 08:27
a script for converting domain names to DHCP Option 119 (Domain Search Option)
#!/usr/bin/env python3
"""Command generator for setting DHCP Option 119
This script converts the specified domain names to DHCP Option 119
(Domain Search Option) and prints commands for various DHCP servers.
USAGE:
./dhcp_option119.py DOMAIN ...
EXAMPLE:
@courtarro
courtarro / xbee_zha_settings.md
Created February 19, 2018 20:01
XBee settings for Zigbee Home Automation (ZHA)

According to https://forms.na1.netsuite.com/app/site/hosting/scriptlet.nl?script=457&deploy=2&compid=818164&h=5928a16f2b6f9582b799&article=zigbee-home-automation

When developing a Zigbee Home Automation application or Wanting to talk with a Zigbee Home Automation Device, the XBee module you should select is the XBee ZB SMT module or XBee ZB (Zigbee) Surface Mount module.

Using our XCTU software or some other Terminal Emulator or processor, the following settings within the XBee ZB SMT module would need to be set:

  • ZS 2
  • AP 1
  • AO 3
  • EE 1