sonoff s20 i2c question
Posted: 30 Mar 2017, 11:30
hey guys
I received 2 sonoff s20's in the mail. I flashed them with espeay r148 and set it all up for working
I have 2 questions
1) does this support i2c? I know the firmware does and the chip but does anybody know where to hook it up? or am I going to have to look at the pitout diagram and jankily solder wires to the I2c pins? Reason I ask is I have some LED lights that turn on after sunset at night so you can see in the hallway if you get up during the night. However they are on all the time even if the main lights are on. So I was going to hook up BH1750. Do you think that is possible? also do you think it'd be possible to make to look nice without having the sesor dangiling off?
2) my lights in the thallway run esp01 and just a basic relay and DHT22. the setup looks terrible as I custom made a box for it with my 3d printer. Does the S20 have extra pins anywhere that I can hook up a DHT22 to 1 pin? or am I going to have to do the same as above?
I received 2 sonoff s20's in the mail. I flashed them with espeay r148 and set it all up for working
I have 2 questions
1) does this support i2c? I know the firmware does and the chip but does anybody know where to hook it up? or am I going to have to look at the pitout diagram and jankily solder wires to the I2c pins? Reason I ask is I have some LED lights that turn on after sunset at night so you can see in the hallway if you get up during the night. However they are on all the time even if the main lights are on. So I was going to hook up BH1750. Do you think that is possible? also do you think it'd be possible to make to look nice without having the sesor dangiling off?
2) my lights in the thallway run esp01 and just a basic relay and DHT22. the setup looks terrible as I custom made a box for it with my 3d printer. Does the S20 have extra pins anywhere that I can hook up a DHT22 to 1 pin? or am I going to have to do the same as above?