Skip to content

Commit

Permalink
Support ihost zigbee on /dev/ttyS4
Browse files Browse the repository at this point in the history
Uses ZBdongle-E firmware
  • Loading branch information
darkxst committed Dec 21, 2023
1 parent 32f1756 commit 50e98e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions multipan_flasher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Labs Multiprotocol Addon). It will enable automatic updates for supported dongle
### Supported Devices
Currently supported devices for which firmware builds are included:
* Sonoff ZBDongle-E
* Sonoff iHost
* Easyiot ZB-GW04 v1.1
* Easyiot ZB-GW04 v1.2
* Elelabs USB ELU013
Expand Down
2 changes: 1 addition & 1 deletion multipan_flasher/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ options:
schema:
device: device(subsystem=tty)?
bootloader_baudrate: list(57600|115200)
hardware: list(elelabs|zbdongle-e|zb-gw04-1v1|zb-gw04-1v2)?
hardware: list(elelabs|ihost|zbdongle-e|zb-gw04-1v1|zb-gw04-1v2)?
verbose: bool?
stage: experimental
startup: application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ sdk="4.3.1"
if [ -d /sys/devices/platform/soc/fe201000.serial/tty/ttyAMA0 ] && [ "${device}" == "/dev/ttyAMA0" ] \
&& bashio::config.equals 'hardware' 'elelabs'; then
firmware="rcp-uart-802154-v${sdk}-elelabs-elx0x3-460800.gbl"
elif [ -d /sys/devices/platform/ff590000.serial/tty/ttyS4 ] && [ "${device}" == "/dev/ttyS4" ] \
&& bashio::config.equals 'hardware' 'ihost'; then
firmware="rcp-uart-802154-v${sdk}-zbdonglee-460800.gbl"
else
# Check USB device manufacturer/product information
usb_device_path=$(realpath /sys/class/tty/$(readlink /sys/class/tty/$(basename ${device}) | sed 's:/[^/]*tty[^/]*::g' )/../)
Expand Down

0 comments on commit 50e98e1

Please sign in to comment.