-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GPIO14 to Sonoff Dual template #797
Labels
stale
Action - Issue left behind - Used by the BOT to call for attention
Comments
arendst
added a commit
that referenced
this issue
Sep 18, 2017
5.8.0 20170918 * Remove the need for NeoPixelBus library for Hue support * Consolidate WS2812 into Sonoff Led for flexible future led strip library changes * Invert WS2812 fade speed to align with Sonoff led (Speed 1 = fast, Speed 8 = slow) * Remove upper case MQTT receive buffer * Reduce code and string length for output of commands Modules and GPIOs * Add Sonoff SC debug information * Change syslog service * Removed webserver syslog disable as now no longer needed * Increased default MQTT message size from 368 to 405 bytes while keeping MQTT_MAX_PACKET_SIZE = 512 (because we can) * Fix MQTT Offline or Remove MQTT retained topic code * Fix Domoticz loop when Emulation is selected * Add blink to WS2812 and Sonoff Led (#643) * Add option WIFI_WAIT (5) to command WifiConfig to allow connection retry to same AP without restart or update flash (#772, #869) * Add support for Witty Cloud (#794) * Add GPIO14 to Sonoff Dual (#797, #839) * Add support for Yunshan Wifi Relay (#802) * Add GPIO16 input pulldown (#827) * Add timeout to DHT and DS18B20 sensors (#852) * Fix watchdog timeout caused by lack of stack space by moving to heap (#853) * Allow LogPort and MqttPort up to 65535 and add LogPort tot Status 3 (#859) * Allow command SwitchTopic in group mode (#861) * Allow command SwitchMode if no switches are defined (#861) * Add optional dimmer parameter to command Wakeup for WS2812, AiLight, Sonoff B1, Led and BN-SZ01 (#867) * Fix basic On, Off, Toggle, Blink and BlinkOff commands when other language is selected (#874)
Closed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
curzon01
pushed a commit
to curzon01/Tasmota
that referenced
this issue
Sep 6, 2018
5.7.1a * Fix Domoticz loop when Emulation is selected * Add GPIO14 to Sonoff Dual (arendst#797, arendst#839) * Add support for Witty Cloud (arendst#794) * Add support for Yunshan Wifi Relay (arendst#802) * Add GPIO16 input pulldown (arendst#827)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use I2C sensors on the Dual you need to have two free GPIO's. They are present on the ESP and solderable. I did that and customized the firmware and enabled also GPIO14.
Could you change the template for the Dual:
0, 0, 0, 0
Into:
GPIO_USER, // GPIO14 Optional sensor
0, 0, 0
I've tested both GPIO's with a DHT22 and a BME280 through I2C successful.
tele/dual_wp/SENSOR {"Time":"2017-08-27T10:20:44", "BME280":{"Temperature":26.2, "Humidity":51.2, "Pressure":1018.0}, "TempUnit":"C"}
GPIO4 => I2C SDA (red)
GPIO14 => I2C SCL (orange)
The text was updated successfully, but these errors were encountered: