Skip to content
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

Acting up? #423

Closed
snug-inglenook opened this issue Mar 11, 2021 · 5 comments
Closed

Acting up? #423

snug-inglenook opened this issue Mar 11, 2021 · 5 comments
Labels
question Further information is requested

Comments

@snug-inglenook
Copy link

snug-inglenook commented Mar 11, 2021

Hi, the integration started acting up recently. Haven't touched it but maybe it's on my side. Anyway letting you know. Thanks.

2021-03-11 09:47:37  DEBUG    main          SysInfo: {'version': '2021.3.3', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.7', 'docker': True, 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.4.83-v8', 'supervisor': '2021.03.4', 'host_os': 'Home Assistant OS 5.12', 'docker_version': '19.03.13', 'chassis': 'embedded'}
2021-03-11 09:47:37  DEBUG    main          AUTO mode start
2021-03-11 09:47:40  ERROR    sonoff_cloud  Login error: {'error': 400, 'msg': 'params is error'}
2021-03-11 09:47:40  WARNING  main          Can't connect to eWeLink Cloud
2021-03-11 09:47:40  DEBUG    main          Init force_update for attributes: {'temperature', 'power'}
2021-03-11 09:47:40  DEBUG    main          Init auto sensors for: ['temperature', 'humidity', 'power', 'current', 'voltage']
2021-03-11 09:47:40  INFO     sonoff_local  1000bd7276 <= Local1 | No devicekey for device
@JacobErnst98
Copy link

JacobErnst98 commented Mar 11, 2021

Mine also started acting up, how do I locate the logs you showed? @snug-inglenook

@snug-inglenook
Copy link
Author

Mine also started acting up, how do I locate the logs you showed? @snug-inglenook

You have to add:
debug: true
in the configuration.yaml
OR read the readme by Alexxit ;-)

@AlexxIT
Copy link
Owner

AlexxIT commented Mar 25, 2021

Maybe this helps for you? #386

@AlexxIT AlexxIT added the question Further information is requested label Mar 25, 2021
@snug-inglenook
Copy link
Author

snug-inglenook commented Mar 30, 2021

After the last update it seems to connect to the cloud.

Here is what i get now:

2021-03-30 09:50:42  DEBUG    main          SysInfo: {'version': '2021.3.4', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.7', 'docker': True, 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.4.83-v8', 'supervisor': '2021.03.6', 'host_os': 'Home Assistant OS 5.12', 'docker_version': '19.03.13', 'chassis': 'embedded'}
2021-03-30 09:50:42  DEBUG    main          AUTO mode start
2021-03-30 09:50:46  DEBUG    sonoff_cloud  Redirect to region: us
2021-03-30 09:50:48  DEBUG    sonoff_cloud  3 devices loaded from the Cloud Server
2021-03-30 09:50:48  DEBUG    main          100080e35b == Init   | {'uiid': 1, 'extra': {'manufacturer': 'coolkit', 'model': '0185', 'sw_version': 'PSF-B01-GL v3.5.0'}, 'params': {'init': 1, 'timers': [], 'staMac': '...', 'rssi': -65, 'pulseWidth': 500, 'version': 8, 'switch': 'off', 'bindInfos': {'gaction': ['...'], 'iftttTriggerCnt': 0, 'scene': 2, 'alexa': ['...']}, 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.5.0', 'only_device': {'ota': 'success'}, 'ssid': '...', 'bssid': '...', 'cloud': 'offline'}}
2021-03-30 09:50:48  DEBUG    main          1000bd7276 == Init   | {'uiid': 32, 'extra': {'manufacturer': 'SONOFF', 'model': 'POW', 'sw_version': 'PSC-B67-GL v3.5.0'}, 'params': {'bindInfos': {'gaction': ['...'], 'alexa': ['...']}, 'version': 8, 'sledOnline': 'on', 'fwVersion': '3.5.0', 'staMac': '...', 'rssi': -52, 'init': 1, 'alarmType': 'pcv', 'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'off', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'power': '0.00', 'voltage': '118.88', 'current': '0.00', 'oneKwh': 'get', 'uiActive': 7200, 'timeZone': -5, 'only_device': {'ota': 'success'}, 'ssid': '...', 'bssid': '...', 'hundredDaysKwh': 'get', 'endTime': '', 'startTime': '2021-02-01T09:34:20.205Z', 'cloud': 'online'}}
2021-03-30 09:50:48  DEBUG    main          1000f1532a == Init   | {'uiid': 2, 'extra': {'manufacturer': 'coolkit', 'model': '0285', 'sw_version': 'PSF-B04-GL v3.4.1'}, 'params': {'bindInfos': {'gaction': ['...'], 'alexa': ['...']}, 'version': 8, 'sledOnline': 'on', 'fwVersion': '3.4.1', 'staMac': '...', 'rssi': -39, 'init': 1, 'lock': 0, 'configure': [{'startup': 'off', 'outlet': 0}, {'startup': 'off', 'outlet': 1}, {'startup': 'off', 'outlet': 2}, {'startup': 'off', 'outlet': 3}], 'pulses': [{'pulse': 'on', 'width': 6500, 'outlet': 0}, {'pulse': 'on', 'width': 6500, 'outlet': 1}, {'pulse': 'off', 'width': 1000, 'outlet': 2}, {'pulse': 'off', 'width': 1000, 'outlet': 3}], 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}], 'zyx_clear_timers': False, 'cloud': 'offline'}}
2021-03-30 09:50:48  DEBUG    sonoff_cloud  Start refresh task for 1 POW
2021-03-30 09:50:48  DEBUG    sonoff_local  1000bd7276 <= Local1 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'off', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 118.88, 'current': 0, 'ssid': '...', 'bssid': '...'} | 7524
2021-03-30 09:50:51  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1617112251042'}

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 24, 2022

Probably fixed in latest master-version

@AlexxIT AlexxIT closed this as completed Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants