Comments (7)
could you please send the sonoff-debug.py
output so I can have a reference to it? I will also like to add the humidity sensor also if possible
from hass-sonoff-ewelink.
Here is an example.
{
"__v": 0,
"_id": "[hidden]"
"apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"brandName": "Maker",
"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": "5611402280a0e2630f7b102d",
"description": "WWJG000898",
"mac": "xx:xx:xx:xx:xx:xx",
"manufacturer": "\u6df1\u5733\u521b\u6613\u667a\u80fd\u7cfb\u7edf\u6709\u9650\u516c\u53f8",
"model": "PSA-BHA-GL",
"modelInfo": "566e54549f6c65fc6f8953c5",
"ui": "\u6052\u6e29\u6052\u6e7f\u6539\u88c5\u4ef6",
"uiid": 15
}
},
"group": "",
"groups": [],
"ip": "[hidden]"
"location": "",
"name": "[hidden]",
"offlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"online": false,
"onlineTime": "xxxx-xx-xxxxx:xx:xx.xxx",
"params": {
"controlType": "7",
"currentHumidity": "unavailable",
"currentTemperature": "16",
"deviceType": "normal",
"fwVersion": "2.6.0",
"init": 1,
"mainSwitch": "off",
"rssi": -67,
"sensorType": "DS18B20",
"staMac": "xx:xx:xx:xx:xx:xx",
"startup": "off",
"switch": "off",
"timers": [
{
"at": "0 8 * * 1,2,3,4,5",
"coolkit_timer_type": "repeat",
"do": {
"mainSwitch": "off",
"switch": "off"
},
"enabled": 1,
"mId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"type": "repeat"
}
]
},
"productModel": "Sonoff THS",
"settings": {
"alarmNotify": 1,
"opsHistory": 1,
"opsNotify": 0
},
"sharedTo": [],
"showBrand": true,
"tags": {
"disable_timers": []
},
"type": "10",
"uiid": 15
}
from hass-sonoff-ewelink.
@hernani hi :)
i didn't officially merge your PR yet but in theory it should merge automatically in the future when i put everything in master
branch (i think, do not cancel it though!)
I've build up upon your code and I created a new branch https://github.com/peterbuga/HASS-sonoff-ewelink/tree/sensors it will mean a lot for me if you could take it for a spin and try this code (and let me know if it works properly 🤞) before I completely merge it.
ps: i am unable to properly test the code right now and as far as I don't like to say this, I blindly coded this without running it even once 😞. returning any errors will greatly help me to move forward faster
from hass-sonoff-ewelink.
I have use now, and i see humidy ant temperature on TH16.
Work perfect.
But, when turn on switch , don't stay on...return off immediatly.
Thanks!
from hass-sonoff-ewelink.
@alesoft73 thanks for testing it out!
does the switch eventually changes its state in HA? is there like a delay or it's not working at all?
another person reported a problem regarding the on/off state changes and I pushed a fix (as of time of writing) ~1h ago.
can you please make sure you have the latest version of the files from sensors
branch!
thanks again for reporting back 👍 !
from hass-sonoff-ewelink.
Ok, now on/off state is ok.
Many thanks!
from hass-sonoff-ewelink.
@alesoft73 Awesome 🙌 !
I can finally close this issue one, feel free to report any other problems.
Thanks!
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.