Sonoff talking to Xiaomi without a new firmware

I have the Xiaomi hub and temperature sensors and the Sonoff switches. Why mix them?

I had the Xiaomi already and you can add the temp sensors to many places without the switches. Also prefer the Sonoff as a switch as it has the CE marks.

Did not want to go and mess with the Sonoff wiring, looks easy enough but wanted to see if other options where easier.

  • Install openHAB2
  • Use the Xiaomi app on your phone, about menu and double tapping (good instructions online)
  • Use the openHAB2 inbox and add any things
  • Add items for the things
  • Install the openHAB Cloud
  • Configure the Open cloud in the service and add the items
  • Create an account in myopenhab.org (need to search for ID and secret)
  • Your items should appear
  • create an IFTT account
  • Open your IFTT add the ewelink account
  • Open your IFTT and add the openHAB account
  • you can now mix Xiaomi and sonoff in IFTT rules.

Its a lot of kit to keep running, it works but flashing might be easier long term :slight_smile:

Yes it will work, the problem here is that you are relying on two Chinese cloud providers…
I know, I wouldn’t

Agreed (well at least one as the openhab is covering the Xiaomi).
And since then have discovered that IFTTT is not the greatest coding platform for complicated conditions. Might have a look at the rules engine in openhab.

I feel some soldering coming up.

Why soldering? The flashing is done in seconds and only need once. I used male-pins and held them into the holes. Worked on Sonoff Basic, TH, Dual and RF Bridge.

1 Like

…and - What’s the best and easiest method for a Sonoff Basic? What is the simplest procedure ?

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwjWyte1nMPfAhURVRUIHQGFDiAQwqsBMAB6BAgGEAQ&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpVPPiYAo8NI&usg=AOvVaw1NWPi3rFhciXorS_Qqllib
or
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=2ahUKEwjWyte1nMPfAhURVRUIHQGFDiAQwqsBMAJ6BAgGEAo&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-9zNS-ljDzo&usg=AOvVaw3fx6yMmE6BC6P59LZoJQEX