Comments (18)
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.
Thanks RavenSystem I will try this weekend. I have 4ch Pro. Will let you know result.
from esp-homekit-devices.
@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.
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.
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.
@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.
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.
@omarkmsft Excellent!
from esp-homekit-devices.
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.
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.
from esp-homekit-devices.
@omarkmsft Are you using v1.1 or v2 4ch-pro?
from esp-homekit-devices.
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.
@simoneorsi What version was you using before, and what are you using now?
from esp-homekit-devices.
from esp-homekit-devices.
@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.
from esp-homekit-devices.
from esp-homekit-devices.
Related Issues (20)
- HAA installer never completes / HAABOOT download infinite loop HOT 3
- Botton does not work (after update) HOT 1
- Shelly Plus 1PM don't boot in Wifi AP Mode
- Shelly Plus 1PM firmware issue HOT 1
- Relay/button for tuya switch not properly working HOT 2
- Switch doesn’t boot up if led invert option is enabled
- i2c not working properly (iAQ-Core, ESP32) HOT 1
- Button 1 doesn’t start any action on boot (until button 2 is toggled) HOT 3
- Sonoff SV isolated mode type garage door begin unresponsive HOT 4
- Verifying Result ERROR REEBOOTING HOT 1
- Pairings 2/40?
- Contact sensor config not working HOT 1
- Script MELPHAA tourne en boucle HOT 2
- Install loop HOT 3
- Sonoff S20 With DHT22 HOT 6
- Garage door with Shelly1 small issues HOT 3
- Shelly Plus 2PM template results in negative power meter HOT 2
- MCP23017 with ESP8266 D1 mini HOT 7
- Shelly 2PM Plus Script
- I lost my shelly after deleting in my home
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-homekit-devices.