Upgraded Tasmota firmware and (real) SI7021 stopped working.

24 views
Skip to first unread message

st2000

unread,
Jun 17, 2024, 8:24:03 AMJun 17
to TasmotaUsers
I have had a real 2 wire I2C (data and clock) SI7021 connected to my Tasmota run Sonoff device for over 4 years now. It has been working great. Recently I upgraded the Tasmota firmware and the SI7021 stopped working.

It appears that Sonoff markets a device called an SI7021. However, Sonoff has added a processor to the actual SI7021 sensor turning it into a 1 wire device.  I believe Tasmota has since changed their code such that the original SI7021 no longer works as expected.

I think there is a way to configure and/or recompile the Tasmota code to use a realy SI7021 I2C device.  But I can not find out how.  Anyone know?

-thanks

Philip Knowles

unread,
Jun 17, 2024, 8:39:15 AMJun 17
to st2000, TasmotaUsers
What version did you upgrade from?


From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of st2000 <rickj...@gmail.com>
Sent: 17 June 2024 13:24
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Upgraded Tasmota firmware and (real) SI7021 stopped working.
 
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d4a7ea75-9dd0-4720-9c8a-f8658ee1a857n%40googlegroups.com.

st2000

unread,
Jun 17, 2024, 11:42:50 PMJun 17
to TasmotaUsers
It appears to have been 13.1.0 to 14.1.0. But what would that have to do with getting the SI7021 working with 14.1.0?

Note, this is just a SI7021. This is not the "Sonoff SI7021" (which is really a SI7021 with a processor converting the SI7021's I2C bus into some sort of 1 wire bus).

st2000

unread,
Jun 17, 2024, 11:58:23 PMJun 17
to TasmotaUsers
Well, you got me thinking "did I ever back up the configuration when it was working".  Turns out I did. I loaded the configuration from 13.1.0 and I started to see temperature and humidity on the home page of the Tasmota / Sonoff switch.

So, I have Configuration->Configure Module->Module type "Sonoff 4CH Pro (23), Configuration->Configure Module->GPIO1 "I2C SCL", Configuration->Configure Module->GPIO2 "None" & Configuration->Configure Module->GPIO3 "I2C SDA".  And under Configure->Configure Template->GPIO1 "User", Configure->Configure Template->GPIO2 "User" & Configure->Configure Template->GPIO3 "User".

I am not sure if there needs to be a command entered into the Console to get things going.

Philip Knowles

unread,
Jun 18, 2024, 12:27:34 AMJun 18
to st2000, TasmotaUsers
Sounds like you may have may have somehow enabled a template which didn't have the I2C GPIOs in place.Was the upgrade OTA?


Sent: Tuesday, June 18, 2024 4:58:22 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Upgraded Tasmota firmware and (real) SI7021 stopped working.
 

st2000

unread,
Jun 18, 2024, 8:30:09 AMJun 18
to TasmotaUsers
Yes, it was OTA.  But there was confusion regarding downloading, burning and memory limitations. I finally got it to work, but I wonder if I corrupted the devices (supposedly) non-volatile data/settings.

Philip Knowles

unread,
Jun 18, 2024, 9:02:43 AMJun 18
to st2000, TasmotaUsers
It should work by just selecting the top box
But sometimes it doesn't (I don't know why) and this one stuck on 13.4 so go to the appropriate library
Download the correct .bin and use the bottom box. Try with the main bin first but if it fails try the minimal followed by the main one


Sent: 18 June 2024 13:30
Reply all
Reply to author
Forward
0 new messages