I’ve got an issue while using perimeter detect, only one of the two perimeter’s loop is working. Here are some pictures :
As you can see I used your USB connector.
Here’s the code I wrote to make sure everything was working.
import zymkey import time zymkey.client.clear_perimeter_detect_info() zymkey.client.set_perimeter_event_actions(1, action_notify=True, action_self_destruct=False) zymkey.client.set_perimeter_event_actions(0, action_notify=True, action_self_destruct=False) zymkey.client.clear_perimeter_detect_info() while True: zymkey.client.wait_for_perimeter_event() print(zymkey.client.get_perimeter_detect_info()) zymkey.client.clear_perimeter_detect_info() time.sleep(1)
When my two perimeter loops are correctly wired, my code return an array with the first value set to current timestamp and the seconde one set to 0. Normally both values should be at zero.
And when I unpluged the P1 perimeter loop the second value of the array change to the current timestamp. But when I plug or unpluged the P2 perimeter loop the first value of the array stay at the current timestamp.
Did I do something wrong ?