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

Sonoff LAN not working with AltoBeam (eweLink) #615

Closed
mikihacia opened this issue Oct 22, 2021 · 3 comments
Closed

Sonoff LAN not working with AltoBeam (eweLink) #615

mikihacia opened this issue Oct 22, 2021 · 3 comments
Labels
question Further information is requested

Comments

@mikihacia
Copy link

mikihacia commented Oct 22, 2021

Hi,
I've managed to get it fully working over the cloud, but in local it seems to pick current state as usual, but cannot change it. See logs below:

2021-10-22 17:55:20  DEBUG    main          SysInfo: {'version': '2021.10.1', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.9.7', 'docker': True, 'user': 'root', 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.10.17-v8+', 'supervisor': '2021.10.0', 'host_os': 'Debian GNU/Linux 10 (buster)', 'docker_version': '20.10.8', 'chassis': ''}
2021-10-22 17:55:20  DEBUG    main          LOCAL mode start
2021-10-22 17:55:24  DEBUG    sonoff_cloud  6 devices loaded from the Cloud Server
2021-10-22 17:55:25  DEBUG    sonoff_local  100108c59d <= Local1 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15107
2021-10-22 17:55:25  DEBUG    main          100108c59d == Init   | {'uiid': 78, 'extra': {'manufacturer': 'AltoBeam', 'model': 'Single channel switch,multi -channel', 'sw_version': 'ALT-D01-GL v1.4.1'}, 'params': {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off', 'local': 'online'}}
2021-10-22 17:55:25  DEBUG    sonoff_local  100108c725 <= Local1 | {'switches': [{'outlet': 0, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'on', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15110
2021-10-22 17:55:25  DEBUG    main          100108c725 == Init   | {'uiid': 78, 'extra': {'manufacturer': 'AltoBeam', 'model': 'Single channel switch,multi -channel', 'sw_version': 'ALT-D01-GL v1.4.1'}, 'params': {'switches': [{'outlet': 0, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'on', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off', 'local': 'online'}}
2021-10-22 17:55:25  DEBUG    sonoff_local  100108cb55 <= Local1 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15061
2021-10-22 17:55:25  DEBUG    main          100108cb55 == Init   | {'uiid': 78, 'extra': {'manufacturer': 'AltoBeam', 'model': 'Single channel switch,multi -channel', 'sw_version': 'ALT-D01-GL v1.4.1'}, 'params': {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off', 'local': 'online'}}
2021-10-22 17:55:25  DEBUG    sonoff_local  1000f5e246 <= Local1 | {'switches': [{'outlet': 0, 'switch': 'off'}, {'outlet': 1, 'switch': 'off'}, {'outlet': 2, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}, {'outlet': 1, 'startup': 'off'}, {'outlet': 2, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulses': [{'outlet': 0, 'pulse': 'off', 'width': 1000}, {'outlet': 1, 'pulse': 'off', 'width': 1000}, {'outlet': 2, 'pulse': 'off', 'width': 1000}], 'lock': 0, 'sledOnline': 'off'} | 15101
2021-10-22 17:55:25  DEBUG    main          1000f5e246 == Init   | {'uiid': 8, 'extra': {'manufacturer': 'AltoBeam', 'model': 'there way switch', 'sw_version': 'ALT-D01-GL v1.4.1'}, 'params': {'switches': [{'outlet': 0, 'switch': 'off'}, {'outlet': 1, 'switch': 'off'}, {'outlet': 2, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}, {'outlet': 1, 'startup': 'off'}, {'outlet': 2, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulses': [{'outlet': 0, 'pulse': 'off', 'width': 1000}, {'outlet': 1, 'pulse': 'off', 'width': 1000}, {'outlet': 2, 'pulse': 'off', 'width': 1000}], 'lock': 0, 'sledOnline': 'off', 'local': 'online'}}
2021-10-22 17:55:25  DEBUG    sonoff_local  1000e276c6 <= Local1 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15417
2021-10-22 17:55:25  DEBUG    main          1000e276c6 == Init   | {'uiid': 78, 'extra': {'manufacturer': 'AltoBeam', 'model': 'Single channel switch,multi -channel', 'sw_version': 'ALT-D01-GL v1.4.1'}, 'params': {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off', 'local': 'online'}}
2021-10-22 17:55:25  DEBUG    sonoff_local  100108cf74 <= Local1 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15263
2021-10-22 17:55:25  DEBUG    main          100108cf74 == Init   | {'uiid': 78, 'extra': {'manufacturer': 'AltoBeam', 'model': 'Single channel switch,multi -channel', 'sw_version': 'ALT-D01-GL v1.4.1'}, 'params': {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off', 'local': 'online'}}
2021-10-22 17:55:51  DEBUG    sonoff_local  100108c59d => Local4 | {'switches': [{'outlet': 0, 'switch': 'off'}]} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:55:51  DEBUG    sonoff_local  100108c59d => Local4 | Check offline with timeout 20s
2021-10-22 17:55:51  DEBUG    sonoff_local  1000e276c6 => Local4 | {'switches': [{'outlet': 0, 'switch': 'off'}]} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:55:51  DEBUG    sonoff_local  1000e276c6 => Local4 | Check offline with timeout 20s
2021-10-22 17:55:51  DEBUG    sonoff_local  100108c59d => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:55:51  DEBUG    sonoff_local  1000e276c6 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:55:59  DEBUG    sonoff_local  100108c725 => Local4 | {'switches': [{'outlet': 0, 'switch': 'off'}]} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:55:59  DEBUG    sonoff_local  100108c725 => Local4 | Check offline with timeout 20s
2021-10-22 17:55:59  DEBUG    sonoff_local  100108c725 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:00  DEBUG    sonoff_local  100108c725 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'on', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15112
2021-10-22 17:56:01  DEBUG    sonoff_local  100108cf74 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15265
2021-10-22 17:56:01  DEBUG    sonoff_local  100108c59d <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15109
2021-10-22 17:56:01  DEBUG    sonoff_local  100108cb55 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15063
2021-10-22 17:56:01  DEBUG    sonoff_local  1000e276c6 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15419
2021-10-22 17:56:02  DEBUG    sonoff_local  1000f5e246 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}, {'outlet': 1, 'switch': 'off'}, {'outlet': 2, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}, {'outlet': 1, 'startup': 'off'}, {'outlet': 2, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulses': [{'outlet': 0, 'pulse': 'off', 'width': 1000}, {'outlet': 1, 'pulse': 'off', 'width': 1000}, {'outlet': 2, 'pulse': 'off', 'width': 1000}], 'lock': 0, 'sledOnline': 'off'} | 15103
2021-10-22 17:56:11  DEBUG    sonoff_local  100108c59d => Local4 | Check offline with timeout 40s
2021-10-22 17:56:11  DEBUG    sonoff_local  1000e276c6 => Local4 | Check offline with timeout 40s
2021-10-22 17:56:12  DEBUG    sonoff_local  1000e276c6 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:12  DEBUG    sonoff_local  100108c59d => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:19  DEBUG    sonoff_local  100108c725 => Local4 | Check offline with timeout 40s
2021-10-22 17:56:19  DEBUG    sonoff_local  100108c725 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:38  DEBUG    sonoff_local  1000f5e246 => Local4 | {'switches': [{'outlet': 2, 'switch': 'off'}]} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:38  DEBUG    sonoff_local  1000f5e246 => Local4 | Check offline with timeout 20s
2021-10-22 17:56:38  DEBUG    sonoff_local  1000f5e246 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:51  DEBUG    sonoff_local  100108c59d => Local4 | Check offline with timeout 60s
2021-10-22 17:56:51  DEBUG    sonoff_local  1000e276c6 => Local4 | Check offline with timeout 60s
2021-10-22 17:56:52  DEBUG    sonoff_local  100108c59d => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:52  DEBUG    sonoff_local  100108c59d => Local4 | Device offline
2021-10-22 17:56:52  DEBUG    sonoff_local  1000e276c6 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:52  DEBUG    sonoff_local  1000e276c6 => Local4 | Device offline
2021-10-22 17:56:58  DEBUG    sonoff_local  1000f5e246 => Local4 | Check offline with timeout 40s
2021-10-22 17:56:58  DEBUG    sonoff_local  1000f5e246 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:59  DEBUG    sonoff_local  100108c725 => Local4 | Check offline with timeout 60s
2021-10-22 17:56:59  DEBUG    sonoff_local  100108c725 => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3371164239723103123), ConnectionRefusedError(111, "Connect call failed ('...', 8081)"))
2021-10-22 17:56:59  DEBUG    sonoff_local  100108c725 => Local4 | Device offline
2021-10-22 17:57:00  DEBUG    sonoff_local  100108c725 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'on', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15114
2021-10-22 17:57:01  DEBUG    sonoff_local  100108cf74 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15267
2021-10-22 17:57:01  DEBUG    sonoff_local  100108c59d <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15111
2021-10-22 17:57:01  DEBUG    sonoff_local  100108cb55 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15065
2021-10-22 17:57:01  DEBUG    sonoff_local  1000e276c6 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}], 'configure': [{'outlet': 0, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulse': 'off', 'lock': 0, 'sledOnline': 'off'} | 15421
2021-10-22 17:57:02  DEBUG    sonoff_local  1000f5e246 <= Local3 | {'switches': [{'outlet': 0, 'switch': 'off'}, {'outlet': 1, 'switch': 'off'}, {'outlet': 2, 'switch': 'on'}], 'configure': [{'outlet': 0, 'startup': 'off'}, {'outlet': 1, 'startup': 'off'}, {'outlet': 2, 'startup': 'off'}], 'switch': 'off', 'startup': 'off', 'staMac': '...', 'pulses': [{'outlet': 0, 'pulse': 'off', 'width': 1000}, {'outlet': 1, 'pulse': 'off', 'width': 1000}, {'outlet': 2, 'pulse': 'off', 'width': 1000}], 'lock': 0, 'sledOnline': 'off'} | 15105
2021-10-22 17:57:38  DEBUG    sonoff_local  1000f5e246 => Local4 | Check offline with timeout 60s
@AlexxIT AlexxIT added the question Further information is requested label Nov 19, 2021
@AlexxIT
Copy link
Owner

AlexxIT commented Nov 19, 2021

This devices has a very strange firmware. First version should not support local control

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 23, 2022

I think this is problem with device. It can't work locally

@AlexxIT AlexxIT closed this as completed Apr 23, 2022
@thiagoprati
Copy link

When using official ewelink app, the response speed is considerably faster. I Guess the app works locally with the switch. Is it possible it uses different Port?

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