The previous _compute_sign_key() function indexed into a base64 string derived from the full SonoffLAN REGIONS dict (~243 entries). Our partial dict only produced a 7876-char a string but needed index 7872+, so the function must use the full dict. Solution: pre-compute the key once from the full dict and hardcode the resulting 32-byte ASCII key. This is deterministic — the SonoffLAN algorithm always produces the same output regardless of when it runs. The sonoff_ewelink driver now loads cleanly alongside all other drivers.
15 lines
265 B
Plaintext
15 lines
265 B
Plaintext
Flask==3.0.3
|
|
Flask-SQLAlchemy==3.1.1
|
|
Flask-Login==0.6.3
|
|
Flask-WTF==1.2.1
|
|
Flask-Migrate==4.0.7
|
|
Flask-SocketIO==5.3.6
|
|
Werkzeug==3.0.3
|
|
requests==2.32.3
|
|
simple-websocket==1.1.0
|
|
python-dotenv==1.0.1
|
|
WTForms==3.1.2
|
|
SQLAlchemy==2.0.31
|
|
greenlet>=3.1.1
|
|
pycryptodome==3.23.0
|