Git Product home page Git Product logo

Comments (18)

Arduingo avatar Arduingo commented on May 23, 2024 1

These are the GPIO Used in the 4CH

GPIO13 | Status LED (blue)
GPIO12 | Relay 1
GPIO05 | Relay 2
GPIO04 | Relay 3
GPIO15 | Relay 4
GPIO00 | Button 1 / Flash
GPIO09 | Button 2
GPIO10 | Button 3
GPIO14 | Button 4

The 4CH uses a ESP8285, the PRO uses a ESP8285 and an STM32, STM32 is used for some features related switching relay modes, but as far I have read and remember from the schematic relays and buttons can be controlled from the ESP too

from esp-homekit-devices.

omarkmsft avatar omarkmsft commented on May 23, 2024 1

Thanks RavenSystem I will try this weekend. I have 4ch Pro. Will let you know result.

from esp-homekit-devices.

Arduingo avatar Arduingo commented on May 23, 2024 1

@omarkmsft maybe the PRO has a couple of relay signals inverted, please take not of that, also if you can try de behavior with different dip switch configurations will help adjust the code

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

Of course that is possible to suport Sonoff 4ch. The problem is that I don’t have one. My devices are Sonoff Basic, S20, S22 and TH16. I want to suport dual and 4ch too. Your help is welcome.

Can you install the Sonoff_Basic firmware and post here the results? I need an initial idea and I need what are the similar elements with Sonoff Basic switch.

Another question: your device is 4ch or 4ch pro? I think that are differents.

Many thanks.

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

According to info provides by @Arduingo , I have released the code of Sonoff 4ch. Feel free to test it and comment (Try it on 4ch and 4ch Pro too).

Many thanks.

from esp-homekit-devices.

omarkmsft avatar omarkmsft commented on May 23, 2024

@RavenSystem @Arduingo any chance one of you could build 4ch binary and drop in releases for me? I'm trying to setup a build environment on my box but running into issues. Would go faster if I could get a binary.

from esp-homekit-devices.

omarkmsft avatar omarkmsft commented on May 23, 2024

i was able to build fine so no need to drop a binary. I'll try flashing sometime in next few days.

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

@omarkmsft Excellent!

from esp-homekit-devices.

omarkmsft avatar omarkmsft commented on May 23, 2024

Got it flashed to my Sonoff 4ch Pro today and was able to connect to Homekit directly from device - awesome! Ch1/Switch 1 seems to be responding to DIP switch settings 2sec On then Off relay. Apple homekit updates after 2 seconds of on which is cool.

Somehow Ch2, Ch3, Ch4 - don't have that behavior. Not sure if that is switch settings on board, or something to do with firmware. All I use is Ch1 so ok for now.

from esp-homekit-devices.

omarkmsft avatar omarkmsft commented on May 23, 2024

btw this video is helpful in showing how to get 4ch Pro in boot loader mode for flashing - https://www.youtube.com/watch?v=hOFvbdYkOII

from esp-homekit-devices.

kiralikbeyin avatar kiralikbeyin commented on May 23, 2024

#18

from esp-homekit-devices.

kiralikbeyin avatar kiralikbeyin commented on May 23, 2024

@omarkmsft Are you using v1.1 or v2 4ch-pro?

from esp-homekit-devices.

simoneorsi avatar simoneorsi commented on May 23, 2024

with the new ravencore firmware release all my sonoff 4ch pro stop to work.
Interlocking mode didn`t funcion more. I truy to downagrade the firmware but i connot do it!
any suggestion?
thaks

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

@simoneorsi What version was you using before, and what are you using now?

from esp-homekit-devices.

simoneorsi avatar simoneorsi commented on May 23, 2024

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

@simoneorsi There is a lot of changes since 0.4.10. Please, update to last version 0.5.14 and provide logs and details of your bug. I suggest to open a new issue with all info about.

from esp-homekit-devices.

simoneorsi avatar simoneorsi commented on May 23, 2024

from esp-homekit-devices.

simoneorsi avatar simoneorsi commented on May 23, 2024

from esp-homekit-devices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.