Comments (10)
hi @Yoavcwix
just because the firmware is not explicitly marked as yes
doesn't mean it's not working, it just mean that version has been confirmed to work for sure (i update the list from time to time).
FW 2.6.1 should definitely work with no problem, so far I'm not sure what might go wrong on your side, in theory the switch entities should show up automatically, have you tried looking for them in the device list ?
meanwhile, try to run this too https://github.com/peterbuga/HASS-sonoff-ewelink/tree/master/sonoff-debug and attach the output + mention HA version and install type. should give me a better view of what is happening on your side ;)
from hass-sonoff-ewelink.
Thanks Peter. Here is the output from the script.
HA: Hassio v. 0.86.3 on Raspberry Pi
[
{
"__v": 0,
"_id": "[hidden]",
"apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"brandName": "Sonoff",
"createdAt": "xxxx-xx-xxxxx:xx:xx.xxx",
"deviceStatus": "",
"deviceUrl": "",
"deviceid": "[hidden]",
"devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"extra": {
"_id": "[hidden]",
"extra": {
"apmac": "xx:xx:xx:xx:xx:xx",
"brandId": "58e5f344baeb368720e25469",
"description": "WO18418",
"mac": "xx:xx:xx:xx:xx:xx",
"manufacturer": "\u6df1\u5733\u677e\u8bfa\u6280\u672f\u6709\u9650\u516c\u53f8",
"model": "PSA-B01-GL",
"modelInfo": "5aca25ef85a15a8f032672f7",
"ui": "\u5355\u901a\u9053\u63d2\u5ea7",
"uiid": 1
}
},
"group": "",
"groups": [],
"ip": "[hidden]",
"location": "",
"name": "[hidden]",,
"offlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"online": true,
"onlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"params": {
"controlType": "7",
"fwVersion": "2.6.1",
"init": 1,
"pulse": "off",
"pulseWidth": 500,
"rssi": -71,
"sledOnline": "on",
"staMac": "xx:xx:xx:xx:xx:xx",
"startup": "off",
"switch": "off",
"timers": [
{
"at": "xxxx-xx-xxxxx:xx:xx.xxx",
"coolkit_timer_type": "delay",
"do": {
"switch": "off"
},
"enabled": 1,
"mId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"period": "30",
"type": "once"
}
]
},
"productModel": "S26",
"settings": {
"alarmNotify": 1,
"opsHistory": 1,
"opsNotify": 0
},
"sharedTo": [],
"showBrand": true,
"tags": {
"disable_timers": [
{
"at": "xxxx-xx-xxxxx:xx:xx.xxx",
"coolkit_timer_type": "delay",
"do": {
"switch": "off"
},
"enabled": 1,
"mId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"period": "30",
"type": "once"
}
]
},
"type": "10",
"uiid": 1
},
{
"__v": 0,
"_id": "[hidden]",
"apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"brandName": "Sonoff",
"createdAt": "xxxx-xx-xxxxx:xx:xx.xxx",
"deviceStatus": "",
"deviceUrl": "",
"deviceid": "[hidden]",
"devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"extra": {
"_id": "[hidden]",
"extra": {
"apmac": "xx:xx:xx:xx:xx:xx",
"brandId": "58e5f344baeb368720e25469",
"description": "WO18418",
"mac": "xx:xx:xx:xx:xx:xx",
"manufacturer": "\u6df1\u5733\u677e\u8bfa\u6280\u672f\u6709\u9650\u516c\u53f8",
"model": "PSA-B01-GL",
"modelInfo": "5aca25ef85a15a8f032672f7",
"ui": "\u5355\u901a\u9053\u63d2\u5ea7",
"uiid": 1
}
},
"group": "",
"groups": [],
"ip": "[hidden]",
"location": "",
"name": "[hidden]",,
"offlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"online": true,
"onlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"params": {
"controlType": "7",
"fwVersion": "2.6.1",
"init": 1,
"pulse": "off",
"pulseWidth": 500,
"rssi": -69,
"sledOnline": "on",
"staMac": "xx:xx:xx:xx:xx:xx",
"startup": "off",
"switch": "off",
"timers": [
{
"at": "xxxx-xx-xxxxx:xx:xx.xxx",
"coolkit_timer_type": "once",
"do": {
"switch": "on"
},
"enabled": 1,
"mId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"type": "once"
},
{
"at": "xxxx-xx-xxxxx:xx:xx.xxx",
"coolkit_timer_type": "once",
"do": {
"switch": "off"
},
"enabled": 1,
"mId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"type": "once"
}
]
},
"productModel": "S26",
"settings": {
"alarmNotify": 1,
"opsHistory": 1,
"opsNotify": 0
},
"sharedTo": [],
"showBrand": true,
"type": "10",
"uiid": 1
},
{
"__v": 0,
"_id": "[hidden]",
"apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"brandName": "Sonoff",
"createdAt": "xxxx-xx-xxxxx:xx:xx.xxx",
"deviceStatus": "",
"deviceUrl": "",
"deviceid": "[hidden]",
"devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"extra": {
"_id": "[hidden]",
"extra": {
"apmac": "xx:xx:xx:xx:xx:xx",
"brandId": "58e5f344baeb368720e25469",
"description": "WO18418",
"mac": "xx:xx:xx:xx:xx:xx",
"manufacturer": "\u6df1\u5733\u677e\u8bfa\u6280\u672f\u6709\u9650\u516c\u53f8",
"model": "PSA-B01-GL",
"modelInfo": "5aca25ef85a15a8f032672f7",
"ui": "\u5355\u901a\u9053\u63d2\u5ea7",
"uiid": 1
}
},
"group": "",
"groups": [],
"ip": "[hidden]",
"location": "",
"name": "[hidden]",,
"offlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"online": true,
"onlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"params": {
"controlType": "7",
"fwVersion": "2.6.1",
"init": 1,
"pulse": "off",
"pulseWidth": 500,
"rssi": -64,
"sledOnline": "on",
"staMac": "xx:xx:xx:xx:xx:xx",
"startup": "off",
"switch": "off",
"timers": []
},
"productModel": "S26",
"settings": {
"alarmNotify": 1,
"opsHistory": 1,
"opsNotify": 0
},
"sharedTo": [],
"showBrand": true,
"type": "10",
"uiid": 1
}
]
from hass-sonoff-ewelink.
I have to say, the above output has nothing out of ordinary and should totally show up in your HA.
If you have any kind of custom dashboard that maybe might block the auto-showing of new devices try to look closely in the entities list, try to do a search with "1000", all the sonoff devices start with this number, therefore you should have something like switch.1000xxxx or switch.sonoff_1000xxxx depending on the used branch.
from hass-sonoff-ewelink.
I have used Tileboard. Removed that, nothing new. Wondering if...
- eWelink perhaps is blocking something?
- If any custom components might be interfering? I have one other one at the moment.
What other logs could be useful to check?
from hass-sonoff-ewelink.
Did you actually searched the entities like I mentioned above? otherwise there must be some error logs or anything else, cannot help otherwise!
the eWeLink is not blocking anything because the output from above is the same one used in the component, if one works the other one should too ;) (long shot but i think it might be some configuration problem on your side ¯_(ツ)_/¯)
from hass-sonoff-ewelink.
Yip, searched everything. Ill dive deeper into it and see what I can come up with when I can.
from hass-sonoff-ewelink.
SOLVED: Changed region to 'as' from 'eu' and sonoffs appear in entities :)
from hass-sonoff-ewelink.
That's a bit odd, the region should've change automatically even if you selected the wrong one (to mention that the sonoff-debug.py uses the same logic, so it should've totally worked in the first place, unless you ran the script from a different device or your HA is behind some kind of firewall :| )
Can you please tell me if your username is an email or phone number (and if so what number format/country?)
Also can you do a small test too: please go to eWeLink app, logout, at login screen select a country from Europe and try to login normally (be sure to be on the same network like HA device). please let me know if you get an error/message or it just logins normally.
from hass-sonoff-ewelink.
Hey Peter,
So it might be a firewall issue, bc I do have one.
As for the details:
username is phone number, beginning with +97205...
I tried to login from various EU countries, but get error: user does not exist
from hass-sonoff-ewelink.
@Yoavcwix any updates regarding this?
update: i'll reopen this if it's still unfixed
from hass-sonoff-ewelink.
Related Issues (20)
- Sonoff
- SonOff not work on Home Assistant 2021.1.1 HOT 1
- SonOff Basic R2 Support?
- SonOff not working on 2021.1.4 HOT 1
- Sonoff ZigBee SNZB-01 - Wireless Switch
- Not unique ID for entity HOT 1
- Sonoff firmware 3.5.0 HOT 1
- Error during setup of component sonoff HOT 4
- Sonoff Mini Zigbee
- Component stopped working after updating Home Assistant to version 2021.6.0 HOT 4
- Scan interval HOT 1
- Mini
- x
- Home Assistant Sonoff
- Feature request: Set the mode to lan/auto/cloud for single device HOT 1
- deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10
- N
- turn off when router died? HOT 1
- All of a sudden im getting appid is unauthorized HOT 3
- A working solution with php
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-sonoff-ewelink.