Joshua
Junior Member
Posts: 75
|
Post by Joshua on Oct 4, 2018 0:20:51 GMT
Hey folks, I'm converting my home IOT system from zwave to the RFM and ESP nodes in this forum. I'll share the construction of each node along with the 3d design files. Here's the list of nodes I plan to post. RFM Devices can be found in the OpenHAB & RFM69-based Arduino board here- Gateway - Door - Motion/Temperature/Humidity - Garage - Current - LED controller ESP Devices - Dimmer - Relay switches
|
|
Joshua
Junior Member
Posts: 75
|
Post by Joshua on Oct 4, 2018 2:27:56 GMT
decor switch housing for ESP relay....
I designed this to replace a Honeywell timer switch that quit working.
*Always change the WPA AP Mode Key: to a high entropy password. The ESP will setup its own SSID when it cannot connect to your network. This could allow someone, in the know, to connect to the ESP and pull you network connection information (including your password)_
Here are the devices enabled:
Push button
1st GPIO: GPIO-0 (D3) Pull UP: enabled Switch Type: Switch Switch Button Type: Push Button Active High
Relay
1st GPIO: GPIO-5 (D1) Pull UP: enabled Switch Type: Switch Switch Button Type: Normal Switch
Rule: (Enable Rules via Tools - Advanced - Rules (checkbox)) on button#switch do if [button#switch]=1 gpio,5,1 else gpio,5,0 endif endon
Parts list
- JinKe Polymer PPTC PTC DIP Resettable Fuse 16V 0.25A 250mA (I use this in between the AC/DC adapter and the ESP VCC in) - I get the wire from an old computer power cord
Download the 3d file from Thingiverse
High voltage power supplies present a serious risk of personal injury if not used in accordance with design and/or use specifications, if used in applications on products for which they are not intended or designed, or if they are used by untrained or unqualified personnel.
|
|
|
Post by papa on Oct 4, 2018 15:48:48 GMT
Thanks, Joshua, for adding a thread in the ESP82xx board. We needed new activity here.
Perhaps you could add a wiring diagram for this project.
|
|
Joshua
Junior Member
Posts: 75
|
Post by Joshua on Mar 1, 2019 18:45:32 GMT
ESP Dimmer Housing.... Armtronix Resources
*Always change the WPA AP Mode Key: to a high entropy password. The ESP will setup its own SSID when it cannot connect to your network. This could allow someone, in the know, to connect to the ESP and pull you network connection information (including your password) Parts list - Wifi AC Dimmer Esp8266 one Triac Board alexa/echo- 120V DUPLEX RECEPTACLE WALL OUTLET PLUG - R3-11 Fuse Holder Socket Used For 5mm x 20mm Fuse Chassis Mount 10A 250V US- 5x20mm Quick Blow Glass Tube Fuse Assorted Kit Fast-blow Fuse 2 amp for this build - Hubbell 15-Amp 125-Volt White 2-Wire Plug | I trimmed off the housing of this plug as it will be installed in my 3D printed housing - I get the wire from an old computer power cord - I'm not implementing a potentiometer or momentary switch for the "virtual switch". This option didn't work well for me.
openHAB Configuration | The switch and the slider control the same node. You have an option to use either a slider or switch... or both openHAB 1 Items /* ESP Controllers */ //ESP Dimmer 1 Switch Switch ESP01Switch "Armtronix Light" <light> (All,Random_Switches) {mqtt=">[mosquitto:/esp/dimmer01/sub:command:on:R13_ON],>[mosquitto:/esp/dimmer01/sub:command:off:R13_OFF]"} //ESP Dimmer 1 Slider Dimmer ESP01Dimmer "Armtronix Dimmer [%d %%]" <slider> (All,Quick_Access,Random_Dimmers,Morning,BedTime) {mqtt=">[mosquitto:/esp/dimmer01/sub:command:*:Dimmer\\:${command}]"} openHAB 1 Rule rule "Set ESP Dimmer to 99 from 100" // The ESP module doesn't register 100. // 99 is the max command that this module can receive. when Item ESP01Dimmer changed to 100 then sendCommand(ESP01Dimmer, 99) end openHAB 2 Items
//ESP Dimmer 1 Switch Switch ESP01Switch "Josh's Light" <light> (All,Random_Switches) { channel="mqtt:topic:2c214008:ESP01Switch" }
//ESP Dimmer 1 Dimmer Dimmer ESP01DimmerProx "Josh's Dimmer" <slider> (All,Quick_Access,Random_Dimmers,Morning,BedTime) Number ESP01Dimmer "Josh's Dimmer" { channel="mqtt:topic:2c214008:ESP01Dimmer" }
{ channel=“mqtt:topic:2c214008:ESP01Dimmer” } will be changed based on you channel information below
openHAB 2 Rules
rule "Dimmer1Correct" when Item ESP01DimmerProx changed // slider on UI changed state then var Number forESP01 = ESP01DimmerProx.state // value from UI slider, already an integer if ( forESP01 == 100 ) forESP01 = 99 // catch & correct out-of-bounds value ESP01Dimmer.sendCommand( forESP01 ) // send integer value to the ESP01 Dimmer end
Paper UI Channel
Number Channel
MQTT state topic : /esp/dimmer01/pub (based on your initial ESP configuration)
MQTT command topic: /esp/dimmer01/sub (based on your initial ESP configuration)
Outgoing value format: Dimmer:%s
High voltage power supplies present a serious risk of personal injury if not used in accordance with design and/or use specifications, if used in applications on products for which they are not intended or designed, or if they are used by untrained or unqualified personnel.
|
|
|
Post by papa on Mar 1, 2019 19:45:17 GMT
papa: Thanks, Joshua. Very complete addition to our projects & again we needed more in the ESP82xx board. Joshua: "openHAB 1 Items | I haven't tested with openHAB 2 yet" papa: perhaps you have seen my recent updates on using OpenHAB 2.5.0.M1, the MQTT 2.xx Binding, & the Embedded MQTT broker. It works well while one must tolerate some tedious clicking & field-filling until PaperUI gets upgraded to the next generation. You might get some hints in this thread.
|
|
|
Post by jimkernsjr on May 18, 2019 5:05:42 GMT
I wouldn't recommend this, you could create an insurance issue if it causes a fire. It's also not for amateurs, and is illegal in many parts of the world. Here is a prebuilt solution: www.amazon.com/gp/product/B07K67D43J/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1you can get it for $15 on sale, and it can take ESPeasy or Tasmota without even opening it up. Tuyaconvert works perfect with it.
But that ARMtronix board is cool too - shame it's kinda pricy for what it is.
|
|
Joshua
Junior Member
Posts: 75
|
Post by Joshua on Aug 8, 2019 17:40:35 GMT
Another FTDI Clip
I would just assume purchase one of these. However, I can't find one quite like the clip provided by easySensors CP2102 with Pogo clip for 2.54 pitch FTDI headers located here. They have been sold out for quite some time. After you print it out, you'll need to drill out the holes for the pogo pins. Additionally, I stretched out the spring shown on the pictures. I've included the dimensions of a larger spring on the parts list below that should work better. Finally, the rubber band will help with tension. Here's the parts list. - 6 - P75-E2 Spring Test Probe Pogo Pin 1.3 mm Conical Head 1.0mm (I recommend having spares) - 9mm Outer Diameter 1.2mm Wire Dia 30mm Long Compression Spring (I'm guessing here) - M5 machine screw and nut (a least 25mm in length) - Female Header 1x40 2.54mm (trimmed down to solder onto ends of the pogo pins) - hot glue to hold the header/pogo pins in place
|
|
Joshua
Junior Member
Posts: 75
|
Post by Joshua on Aug 21, 2019 16:25:52 GMT
Convert a Decora Form Factor Dimmer/Switch
to a Dimmable/Switchable ECOplug
The limitations of the Armtronix dimmers have become too much of a pain and the above comment from jimkernsjr led me to develop this project. You should be able to easily convert an Decora switch or dimmer to a lamp plug with this box.
Here's the parts list for my build below.
High voltage power supplies present a serious risk of personal injury if not used in accordance with design and/or use specifications, if used in applications on products for which they are not intended or designed, or if they are used by untrained or unqualified personnel.
Papa: Thanks, Joshua
|
|
Joshua
Junior Member
Posts: 75
|
Post by Joshua on Aug 21, 2019 18:47:32 GMT
Sonoff S26 FTDI Programing jig
|
|