]> git.sven.stormbind.net Git - sven/scripts.git/commitdiff
use microconverter id only ones
authorSven Hoexter <sven@stormbind.net>
Tue, 12 May 2020 21:07:43 +0000 (23:07 +0200)
committerSven Hoexter <sven@stormbind.net>
Tue, 12 May 2020 21:07:43 +0000 (23:07 +0200)
It seems the model I experiemented initially with was wrongly labeled
and had the same serial printed on it twice. A different model I got
my hands on has two consecutive serial numbers, which all makes a lot
more sense.

home/enverbridge.py

index 4342407bc7af04681106b152820fa433b0ac4c6c..a1405a6bbecda02b921121ed270d92b54b4bf344 100755 (executable)
@@ -45,7 +45,7 @@ def validateMIID(miids):
 def buildMIIDList(miids):
     msg = ""
     for id in miids:
-        msg = msg + id[8:16] + id[8:16]
+        msg = msg + id[8:16]
     return msg