Announcement

Collapse
No announcement yet.

$25 Sonoff 4CH for irrigation control

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Michael McSharry View Post
    I believe the OEM app ewlink allows scheduling of the relays, but you will not have integration with HS..
    Oh? You think that the firmware update is needed for HomeSeer communication? I didn't realize that.
    Don

    Comment


    • #17
      The OEM firmware is outsourced to 3rd party company in China. It is cloud based. It does respond to Echo commands that are also from the cloud.

      To update firmware you will remove 4 screws that hold the case together. There is a sequence of three through-hole pads on the circuit card. You can solder a header pin to it, use the header pin and some temporary pressure such as clay or tape, or solder wires directly to pads. You only need to do this once as subsequent updates of firmware are done just like HS updates with a browser.

      A usb/serial adapter with 3.3 volt signal levels is used to transfer the firmware from pc to Sonoff. These sell for around $10. I can do it for you but you will pay more in shipping than for the hardware. It is cheaper to ship from China than it is to ship between any two places in USA.

      There are many how-to on internet. There is also one at the top of the mcsMQTT forum that was contributed by one of our forum members. I have updated the mcsMQTT manual with the setup for irrigation control and it includes the 4CH circuit card walkthrough. Should have it posted in a day or two. My 4CH testing is done and now confirming same firmware works with single relay basic Sonoff.

      Comment


      • #18
        Thanks. Got the two Sonoffs and will try to follow your instructions.
        Don

        Comment


        • #19
          What USB to serial adaptors are being used to flash the Sonoff?

          Thanks
          Don

          Comment


          • #20
            I have purchased a few varieties over time. In my recent order history on Amazon I have the following. The first will likely suit you better since it has the jumper wires you will need.

            https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

            https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

            If you dont have the headers for the circuit board then something like this from Amazon is overkill, but likley cheaper than what you can get for small quantity at a local electronics store.

            https://www.amazon.com/OdiySurveil-2...+board+headers

            I did upload the firmware and updated the manual that is on the mcsMQTT thread. I did my testing with Sonoff 4CH Pro R2 and Sonoff Basic. The one awkward part is the transition from new firmware to connection to your Wifi. It is similar process as the OEM firmware. If you build from source you can put your SSID and security info into the firmrware. If not you will need to two a two step process with 192.168.4.1 being the IP that the Sonoff will open up to make your initial connection. If you want me to build a special one for you and are willing to provide PM with info then I will make an image for you.

            Comment


            • #21
              Just curious how hard it is to flash one of these for Garage Door Opener use.


              Sent from my iPhone using Tapatalk

              Comment


              • #22
                I think you got your answer in a parallel thread today. There are You Tube videos as well as other internet guidance. For over the air it is just like all the others. for direct/JTAG programming It is marginally more difficult than other units because GPIO0 that needs to be at ground during application of power is not as easy. The Sonoff basic, for example, used GPIO0 for its local push button control so all you need to do is hold it down when applying power.

                Comment


                • #23
                  Originally posted by Michael McSharry View Post
                  I think you got your answer in a parallel thread today. There are You Tube videos as well as other internet guidance. For over the air it is just like all the others. for direct/JTAG programming It is marginally more difficult than other units because GPIO0 that needs to be at ground during application of power is not as easy. The Sonoff basic, for example, used GPIO0 for its local push button control so all you need to do is hold it down when applying power.
                  Yup. I ordered a couple to try it out.


                  Sent from my iPhone using Tapatalk

                  Comment

                  Working...
                  X