We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
I tried to run the init command as follows and I get a "KeyError: 8".
root@ups:/var/www/html/remote/yfmos-master# python2 yfmos.py init --device 0x000001 --rollingcode 0 --profile mainroom3 AA B1 05 0A00 12D4 0500 0280 68E2 48080808080808092A2A2A3B3B2B3B3A2B3B3B3B3B3B3A2B3B3B3A3B2B3A2A2A2A2B3A2B3B3A2A3B2A2B3A3B2B3A3B2B 55 Traceback (most recent call last): File "yfmos.py", line 435, in Yfmos() File "yfmos.py", line 134, in init getattr(self, args.command)() File "yfmos.py", line 159, in init parsedConfig = self.__parse_B1(args.b1string) File "yfmos.py", line 266, in __parse_B1 if pulse[int(listOfElem[i])] is 'HWsync': KeyError: 8
The AA B1 ... sequence is obtained by sniffing on a Sonoff RF Bridge running Tasmota and Portisch.
If I run it with a sequence found here on this forum I don't get any errors:
root@ups:/var/www/html/remote/yfmos-master# python2 yfmos.py init --device 0x144051 --rollingcode 0 --profile mainroom2 AA B1 05 0A1E 12FC 050A 028A 8106 00000000000000122222233333333222233223322223333233233333333233233332332333322333333333333333333333333334 55 (init) next: 1, second: True
Please advice how can I fix this. Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
I tried to run the init command as follows and I get a "KeyError: 8".
root@ups:/var/www/html/remote/yfmos-master# python2 yfmos.py init --device 0x000001 --rollingcode 0 --profile mainroom3 AA B1 05 0A00 12D4 0500 0280 68E2 48080808080808092A2A2A3B3B2B3B3A2B3B3B3B3B3B3A2B3B3B3A3B2B3A2A2A2A2B3A2B3B3A2A3B2A2B3A3B2B3A3B2B 55
Traceback (most recent call last):
File "yfmos.py", line 435, in
Yfmos()
File "yfmos.py", line 134, in init
getattr(self, args.command)()
File "yfmos.py", line 159, in init
parsedConfig = self.__parse_B1(args.b1string)
File "yfmos.py", line 266, in __parse_B1
if pulse[int(listOfElem[i])] is 'HWsync':
KeyError: 8
The AA B1 ... sequence is obtained by sniffing on a Sonoff RF Bridge running Tasmota and Portisch.
If I run it with a sequence found here on this forum I don't get any errors:
root@ups:/var/www/html/remote/yfmos-master# python2 yfmos.py init --device 0x144051 --rollingcode 0 --profile mainroom2 AA B1 05 0A1E 12FC 050A 028A 8106 00000000000000122222233333333222233223322223333233233333333233233332332333322333333333333333333333333334 55
(init) next: 1, second: True
Please advice how can I fix this. Thank you!
The text was updated successfully, but these errors were encountered: