-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 SC not accurate #795
Comments
Sonoff SC has 2 parts: Tasmota is responsible only for est8266 part, so It has no relation to sensor reading and calibration. |
Same issue here, Humidity only meassured between 10-15% (which is completely wrong), Temperature about 5 degrees to high. Tjhanks a lot |
Is replacing the DTH11 with DTH22 would do the job? They are electrically identical, so the replacement should be straight forward |
Warning ! DHT11 Power supply: DC 3.5~5.5V - https://akizukidenshi.com/download/ds/aosong/DHT11.pdf |
But this guy was able to switch DTH11 with DTH22: |
It's possible, I'm not sure how accurate is the reading. |
I have the DTH22 connected to Sonoff Basic. It is quite accurate, when compared to a weather station from a local shop readings are almost the same. And the resolution of temperature and humidity is 0.1% compared to 1% in DTH11 |
This seems like a good thread to talk about making the SC more accurate. Is there anything that can be done about the air quality sensor? |
@arendst it's not related to DHT11 resolution anyhow. Look at the pic, I bought a several of devices and stoped my smarthome project because after flashing them with your firmware they shows a very irrelevant information, look at the pic: It's unusable. At all. Everything is wrong. And DHT11 isn't the cause - it has 5% accuracy (for 28° it means ±0.05°) and it's work proper with default firmware (I compare to gm320 infrared thermometer - default firmware pretty close to thermometer, ±2°) when your firmware shows +5° all the time. I didn't research is it constant delta or not, but looks like in average it +5° (compared to AC settings). As for humidity it's opposite now - default firmware shows 56%, yours - 45%. I opened and experimented with second device only today, before I compared temp with AC and ir thermometer, so not sure about delta of humidity, but pretty sure in temp. - it's always higher on about 4-6°. So there is a bug maybe? |
I confirm the same issue here:
Unfortunately I don't remember the sensor readings before the fw upgrade... Is it possible that in the original ESP firmware maybe some normalization was applied on the AT328 sensor readings before sending out the info via wifi? |
Mine is 3 degrees too hot. As the sensor is in the casing you might expect problems with this hardware setup. BTW my humidity is way off too. As iTead also writes the device is a proof of concept and do not expect any thing useful from it:
|
Right, but come on, the device cannot be used not even as a toy. I would have expected some minimal degree of maturity with this product even in the harsh conditions of the disclaimer you've quoted earlier :) Anyway it seems the easiest thing we could do is upgrade to DHT22, but I'm curious what's the new deviation. Or, a function could be built and applied to the raw sensor values, which should adjust the reported values based on various sensor readings versus corresponding real values (measured with a "competent" device), for both temperature and humidity. Then the function could be applied directly in the Tasmota firmware, in function SonoffScSerialInput (values sc_value[0] DHT11 Humidity and sc_value[1] DHT11 Temperature in Celsius). That's just an idea :) |
Hi, If your issue was solved, please close it. Thanks 👍 |
It's not solved, but can be closed anyway |
A calibration now can be done with new commands ADD, SUB and MULT for rules. Thanks. |
All, Please see below the Temp and Humidity values as they are being reported by two sets of sensors:
Both sensors are placed one next to another. Considering the Xiaomi device has a very good accuracy (I have "visually" tested it against several weather stations), the average offsets of the reported values are: As the acquired sensor value range is quite narrow at this moment, I will continue to monitor the data sets in other conditions as well - most probably I need to wait for the autumn/winter to come :) Ideally the tests should be performed in lab conditions, to enable measuring of the full range of reported values and hence to allow one to adjust the values reported by Sonoff SC. I will also send an email to our friends from Itead, maybe they will consider performing these tests. If the deviation problem could be solved, I believe Sonoff SC would prove itself to be a pretty valuable smart home thing, even though the DHT11 sensor has a limited precision. |
How is this closed? I didn't see a resolution... Is an offset calibration really sufficient to get some decent accuracy? |
This issue is closed because it is solved. If you want to modify the sensors values inside Tasmota just use the example provided in rules at the wiki. Thanks |
@ascillato could you give example comand? |
Example of the wiki: If command |
what is the name of ther Sensor (Sensorname#temperature). what command show me the Sensorname? with status 8 i get: stat/sonoff/STATUS8 = {"StatusSNS":{"Time":"2019-01-10T12:23:55","SonoffSC":{"Temperature":26.0,"Humidity":32.0,"Light":80,"Noise":10,"AirQuality":90},"TempUnit":"C"}} |
In order to be used as a trigger in a rule every teleperiod time check the following example:
|
Hi, anybody can help with the default orig. itead firmware for sonoff sc,only the esp firmware,thank you. |
If you plan is to use a binary that someone else provides from one of their devices to flash it back onto your device, the likelihood is extremely high that this will not work. Itead binaries are usually "keyed" to the specific device (i.e., the binary only works with the device it came on). |
I understand, one try is more than anything.thk. |
OK then, here you go - https://github.com/rt400/Sonoff-Firmware/blob/master/SONOFF_SC_2.0V.bin |
Many thanks,i try it but the flashing stop's at 27%, i think is something with the backup,do u have any pot to try it?or test it? |
This is not a Tasmota issue. That repository link I provided is just that, a repository where users have "donated" their binaries. That's about it. You and Google are on your own as far as how to attempt to restore the firmware. How are you trying to load that firmware? If you are trying to load using Tasmota OTA, that's not going to work. You need to use serial flashing, erase_flash, and then upload the file. Also, I have NO idea what settings you should use (e.g., flash size, DIO/DOUT/..., etc.). Mike |
Understand,thk you for your help. |
Hi,i follow your steps i succesuly uploaded an orig. backup firmware from sonoff rf bridge on sc the led is blinking it shows wifi connection that sims Like the uploading method is good, when i upload your sc firmware doesn't do anything. |
That isn't my firmware file. I don't own a Sonoff SC. It's just a file that 's someone uploaded to that repository. As your issue is not related to Tasmota, it's best to not spam this issue with any further dialog on your efforts to restore Itead firmware on a Sonoff device. Please take any further questions to the Itead support forum - https://support.itead.cc/ Best of luck with your efforts. Mike |
Hello,
I´m testing Tasmota with Sonoff SC, but the returned info are very inacurate !!
Using a Thermo-Hygrometer (very accurate)
Temp: 24.2 C
Hum: 37%
On the sonoff SC:
Sonoff SC Module
Temperature 29.0°C
Humidity 12.0%
The text was updated successfully, but these errors were encountered: