Zodiac FX
To access the switch with minicom:
minicom --device /dev/ttyACM0
Where ttyACM0 is first device connected via USB
Bash script to restart all switches at once
#!/bin/bash
echo "I'm just about to reset all 4 Zodiac switches"
sleep 3
minicom --device /dev/ttyACM0 -S restart.txt &
sleep 2
minicom --device /dev/ttyACM1 -S restart.txt &
sleep 2
minicom --device /dev/ttyACM2 -S restart.txt &
sleep 2
minicom --device /dev/ttyACM3 -S restart.txt &
sleep 2
exit 0
Where, it depends on restart.txt below:
send restart
send SIGTERM
ZodiacFX Settings
IP | MAC | MINICOM PORT | ID |
---|---|---|---|
192.168.0.50 | 70:b3:d5:6c:d6:29 | ACM1 | 123917682136617 |
192.168.0.51 | 70:b3:d5:6c:d6:23 | ACM3 | 123917682136611 |
192.168.0.52 | 70:b3:d5:6c:d6:2E | ACM0 | 123917682136622 |
192.168.0.53 | 70:b3:d5:6c:d6:1C | ACM2 | 123917682136604 |
Heartbeat
Zodiac will send echo messages every 2 seconds to keep up the connection with the controller. If echo messages fail 3 times, the switch gets disconnected.
Debugging
In order to get into debugging mode wee need to use this command:
trace