New issue
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
After 2024.1 POWR320D Not Addining #1293
Comments
I tried to reinstall the integration and got the same result. Thank you in advance for your help. |
I've the same prblem with sonoff PowR320D and Home Assistant 2024.1 in debug i've read that there is a problem in file init.py row 57. This is the error in debug: |
I've the same prblem with sonoff PowR320D 2024-01-04 21:57:38 [D] AUTO mode start I Hope, you can solve. Thank you very much |
I rolled back to the 2024.12.0 and the PowR320D is working again |
there is any other way except roll back mate ? |
Not that am I aware of, the addon would need to be updated.
Regards,
Shaun de Kok
+27 (0) 83 263 0767
…________________________________
From: aleenca1309 ***@***.***>
Sent: Thursday, January 4, 2024 5:51:33 PM
To: AlexxIT/SonoffLAN ***@***.***>
Cc: shaundekok ***@***.***>; Author ***@***.***>
Subject: Re: [AlexxIT/SonoffLAN] After 2024.1 POWR320D Not Addining (Issue #1293)
I rolled back to the 2024.12.0 and the PowR320D is working again
there is any other way except roll back mate ?
—
Reply to this email directly, view it on GitHub<#1293 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AORNS3FBCUJM37L2W2OXLZTYM3FYLAVCNFSM6AAAAABBM3IGXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGMZDOOBWHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I do same way, rolled back to version 2023.12.4 and running well |
I have the same issue. I found a workaround by messing around with the code which prevents the recursion error and actually adds the devices. If you don't mind disabling the use of dayKwh and monthKwh, remove this code in /config/custom_components/sonoff/core/devices.py ln 332-335:
So it should now look like this: After the change, restart Home Assistant. My PowR devices are at least functioning again. |
The POWR320D is not adding, seeing the following in the logs:
2024-01-04 14:19:23 [D] xxxxx320 UIID 0190 | {'version': 8, 'fwVersion': '1.1.1', 'demNextFetchTime': 1704405600000, 'switches': [{'switch': 'on', 'outlet': 0}], 'configure': [{'startup': 'off', 'outlet': 0}], 'pulses': [{'pulse': 'off', 'switch': 'off', 'outlet': 0, 'width': 500}], 'sledOnline': 'on', 'rssi': -73, 'current': 557, 'voltage': 22832, 'power': 122907, 'timeZone': 2, 'dayKwh': 33, 'monthKwh': 33, 'threshold': {'actPow': {'min': 10, 'max': 500000}, 'voltage': {'min': 16500, 'max': 27700}, 'current': {'min': 10, 'max': 2100}}, 'overload_00': {'minAP': {'en': 0, 'val': 10}, 'maxAP': {'en': 1, 'val': 500000}, 'minV': {'en': 0, 'val': 16500}, 'maxV': {'en': 0, 'val': 27700}, 'maxC': {'en': 1, 'val': 2100}, 'minC': {'en': 0, 'val': 10}}, 'getHoursKwh': {'start': 0, 'end': 743}}
2024-01-04 14:19:23 [W] xxxxx320 !! can't setup device| File "/config/custom_components/sonoff/core/ewelink/init.py", line 57, in setup_devices| entities += [cls(self, device) for cls in get_spec(device)]| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|RecursionError: maximum recursion depth exceeded|
2024-01-04 14:19:24 [D] xxxxx320 !! skip setup for encrypted device
The text was updated successfully, but these errors were encountered: