A complete set based on ESP8266 (Updated! Project finished and uploaded!)

Everything about esp8266 and more.
Post Reply
MarioMaker
Posts: 2
Joined: Tuesday 03 November 2015 17:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

A complete set based on ESP8266 (Updated! Project finished and uploaded!)

Post by MarioMaker » Tuesday 03 November 2015 17:48

This is my first post. Thank you for creating this amazing project. We´re a small team of student of the UPCT (Cartagena University, Spain), called UPCT Makers:
http://www.makers.upct.es/?cat=21

We're working now with the extremely cheap ESP8266 and mainly we're using it running the ESP Easy firmware.
We´re planning to design a complete set of devices with its own power supply, the ESP and the sensor or actuators. We´ll design also their cases and support (to fix motors, or instance) ready to 3D printing, and of course their own PCB. We´re planning to achieve a device with relay with a price between 5 and .
All our project wil be upload to Thingiverse and Sourceforge.

We hope you all find these small adaptations interesting.

Greetings.

PS: I´ve done a lot of minor changes on Transifex (spelling and style). When those changes will take effect?


EDIT:

Hello,

After a couple of years I release my whole project almost finished.

Finnaly it consist in a base PCB and several plugins, with their 3D cases. I could design more if you want to.
Also I include 3D printing designs (cases and devices), including one device that can accommodate a NEMA17 to drive a shutter.
Really, now we have devices like Sonoff, so for example my relay shield is a silly thing, but others of my shields, like the DC control (LED strips..) and the stepper controller (motors), may be interesting for you all.

The original archives are in DipTrace (PCB designer, freeware) and Solidworks (3D design software).
Would be so easy for anyone to send PCB's to any chinese manufactures for a couple of dollars and assemble yourself in house.
If you need I can generate gerber files of any of my designs, just ask me.

Here you got: https://goo.gl/NRLWPz

If you have any question or suggestion, please, don't hesitate. This is free hardware!
Last edited by MarioMaker on Tuesday 10 April 2018 1:11, edited 5 times in total.

User avatar
Derik
Posts: 2100
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: A complete set based on ESP8266

Post by Derik » Tuesday 03 November 2015 22:19

mmm

Please can u give me a example what you are planning to do with your project in Domoticz?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

deennoo
Posts: 935
Joined: Wednesday 10 December 2014 14:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: A complete set based on ESP8266

Post by deennoo » Tuesday 17 November 2015 9:55

Already done by ESPEasy team !

http://www.esp8266.nu/index.php/Main_Page
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / ESP8266 / MQTT / BLE
http://domo-attitude.fr

Roach
Posts: 4
Joined: Wednesday 18 November 2015 18:42
Target OS: Linux
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by Roach » Wednesday 18 November 2015 21:19

Really nice project, thanks for sharing.

Still missing some information about the connection with Domoticz:

I did this tutorial:
Using the ESP Easy as a simple input switch in Domoticz
http://www.esp8266.nu/index.php/Tutoria ... icz_Switch

I've uploaded the code and configured the esp8266 to my network. Seems to work as I see in the log file:

Welcome to ESP Easy : ESP8266

MainConfigHardwareDevicesTools

Log
127202 : WD : Uptime 2 ConnectFailures 0 FreeMem 18112
157214 : WD : Uptime 2 ConnectFailures 0 FreeMem 18072
187218 : WD : Uptime 3 ConnectFailures 0 FreeMem 18016
217223 : WD : Uptime 3 ConnectFailures 0 FreeMem 18000
230315 : SW : State 1
232398 : SW : State 0
234436 : SW : State 1
236480 : SW : State 0
238725 : SW : State 1
247224 : WD : Uptime 4 ConnectFailures 0 FreeMem 17984


Following the tutorial; In Domoticz I created a virtual switch:

Turn On 39 ESP8266 0014076 1 ESP8266 Lighting 2 AC Off 7

I have 2 questions:

1. In the configuration page of the esp8266 we see the "Controller IP" entry. Is this the same IP as the Domoticz webserver IP?
2.What else do I have to configure to make a working connection between the esp8266 and Domoticz

Thanks for reading.

Roach
Posts: 4
Joined: Wednesday 18 November 2015 18:42
Target OS: Linux
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by Roach » Thursday 19 November 2015 0:45

Yes I've got it ;-)

1. Yes, it's the same IP
2. Dashboard > Switches >Edit your ESP switch > On Action: http://<IP>/control?cmd=GPIO,0,0. Off Action: http://<IP>/control?cmd=GPIO,0,1

regards,

dijkdj
Posts: 101
Joined: Saturday 07 March 2015 23:10
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by dijkdj » Thursday 19 November 2015 9:24

MarioMaker wrote:This is my first post. Thank you for creating this amazing project. We´re a small team of student of the UPCT (Cartagena University, Spain), called UPCT Makers:
http://www.makers.upct.es/?cat=21

We're working now with the extremely cheap ESP8266 and mainly we're using it running the ESP Easy firmware.
We´re planning to design a complete set of devices with its own power supply, the ESP and the sensor or actuators. We´ll design also their cases and support (to fix motors, or instance) ready to 3D printing, and of course their own PCB. We´re planning to achieve a device with relay with a price between 5 and 7 $.
All our project wil be upload to Thingiverse and Sourceforge.

We hope you all find these small adaptations interesting.

Greetings.

PS: I´ve done a lot of minor changes on Transifex (spelling and style). When those changes will take effect?
If you really want to get something out of it: make them available for sale. I will give you my money if you can give me a complete working ESP switch/pir in a nice housing. I like DIY, but I also like to have an option when I dont have the time. Off course there are Zwave devices, but the are not as open or flexible as ESP.

Good luck!

User avatar
BigDog
Posts: 300
Joined: Tuesday 17 September 2013 13:59
Target OS: Raspberry Pi
Domoticz version: V3.9269
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by BigDog » Thursday 19 November 2015 9:29

count me in :)
if they are available for sale i would buy a bounch of them to inplent them in my domoticz house :)
Greetz BigDog/Bob
1X Raspberry1B : Domoticz V3.8153 [Linux ver. 4.14.34+ #1110]
1X RFXtrx433 USB Firmware:183
1X Mysensors Gateway 1.5 -3 Mysensors
3X Cresta Thermo-hygro sensor
6X ESP8266: easy firmware(Testing)
1X 8 Channel Relay Web Control Ethernet interface(Testing)

dijkdj
Posts: 101
Joined: Saturday 07 March 2015 23:10
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by dijkdj » Thursday 31 December 2015 12:45

The first post was the last post :)

NietGiftig
Posts: 140
Joined: Sunday 11 October 2015 8:50
Target OS: Raspberry Pi
Domoticz version: V3.6224
Location: Holland
Contact:

Re: A complete set based on ESP8266

Post by NietGiftig » Thursday 31 December 2015 16:00

dijkdj wrote:The first post was the last post :)
Yes that's sadly true, students i think, probably short memory
http://www.makers.upct.es/?cat=21

But it is not not the project ESPEasy
http://www.esp8266.nu/index.php/Main_Page

Better to ask you questions about ESPEasy and Domoticz on their forum
http://www.esp8266.nu/forum/
RPI-2 + SSD / ESPEasy Sensors & Switches / Sonoff / RFLink / Action Switches / TP-Link switch / Node-Red / Reacticz

User avatar
Conn-artist
Posts: 80
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist » Thursday 14 January 2016 21:27

Not to worry.

Check this out: the Oak, by Digistump.

An Arduino compatible, WiFi built-in device with the ESP8266.
Can be programmed wirelessly, cloud-based IDE, REST API, lots of other goodies, very small, very cheap.

I ordered a couple from the Kickstarter campaign, they're being shipped now. I can't wait for them to arrive!
--
Martijn

SweetPants
Posts: 2076
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.9671
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by SweetPants » Friday 01 July 2016 8:28

Conn-artist wrote:I ordered a couple from the Kickstarter campaign, they're being shipped now. I can't wait for them to arrive!
And???
Ubuntu 16.04.3 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (source)

User avatar
Conn-artist
Posts: 80
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist » Friday 01 July 2016 8:59

Oh man, has it been 6 months already?

I received three Oaks and had to wait a few weeks before the official firmware was released, but since it's a Kickstarter project that wasn't a problem. I did have issues loading the firmware and connecting the Oaks to my wireless network. In fact, one of the three has refused so far, which makes it unusable. I have ordered, and not received, an FTDI programmer, hoping that that would work better than over the air programming.

The Particle dashboard was not available for creating sketches - I could see my Oaks on it (i.e. they did connect to the Particle cloud) but sketches wouldn't compile - something that is being worked on by the Oak and Particle teams (in fact, it may be working now, I haven't checked). I am using the Arduino IDE now, which works very well and is faster than the Particle dashboard, anyway.

The build quality is excellent, nothing bad to say about it.

I made a project for reading sensor data from a Voltcraft CO-100 and that went well. Had to get used a bit to the peculiarities of the device (as opposed to, say, an Arduino) but nothing unsurmountable. It's running 24/7 and very stable.

My initial enthusiasm has tempered a bit: coding through a web interface is not my thing. It's just too slow and I like to have my code on my own computer in stead of someone else's. Also I don't see myself uploading data to 'the cloud': I did that with Pachube/Xively for a while and it's cool and all, but since I am also running Domoticz with its awesome graphing capabilities there's really no need to upload my data to someone else's database. Heck, if I want to show someone the CO2 levels in my home I can connect to Domoticz through an Openvpn almost just as easily (if a bit slower) as going to Particle's website.

I bought another ESP8266 board (NodeMCU) which has the similar capabilities top the Oak but lacks the Particle goodies, and it performs very satisfactorily as well (also talks to Domoticz, also over MQTT).

So unless you're really into the whole Cloud integration with Particle, IFTTT, etcetera I'd stick with a NodeMCU because they're dirt cheap and readily available :)
--
Martijn

SweetPants
Posts: 2076
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.9671
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by SweetPants » Friday 01 July 2016 15:39

Conn-artist wrote:I made a project for reading sensor data from a Voltcraft CO-100 and that went well.
Have done a similar thing with a cheap chinese power meter http://www.domoticz.com/forum/viewtopic ... wer#p56059. using native C (SDK 1.5.2) and TuanPM's MQTT library https://github.com/tuanpmt/esp_mqtt and Node Red, works great, have 4 of these running now.
Ubuntu 16.04.3 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (source)

User avatar
Conn-artist
Posts: 80
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist » Friday 01 July 2016 15:51

Hey, that's a pretty good idea to figure out how much the fridge is really using :)
--
Martijn

SweetPants
Posts: 2076
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.9671
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by SweetPants » Friday 01 July 2016 16:16

Conn-artist wrote:Hey, that's a pretty good idea to figure out how much the fridge is really using :)
Like this?
vriezer.jpg
Ubuntu 16.04.3 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (source)

User avatar
Conn-artist
Posts: 80
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist » Friday 01 July 2016 22:16

Exactly 8-)
--
Martijn

MarioMaker
Posts: 2
Joined: Tuesday 03 November 2015 17:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by MarioMaker » Tuesday 10 April 2018 0:57

Hello,

After a couple of years I release my whole project almost finished.

Finnaly it consist in a base PCB and several plugins, with their 3D cases. I could design more if you want to.
Also I include 3D printing designs (cases and devices), including one device that can accommodate a NEMA17 to drive a shutter.
Really, now we have devices like Sonoff, so for example my relay shield is a silly thing, but others of my shields, like the DC control (LED strips..) and the stepper controller (motors), may be interesting for you all.

The original archives are in DipTrace (PCB designer, freeware) and Solidworks (3D design software).
Would be so easy for anyone to send PCB's to any chinese manufactures for a couple of dollars and assemble yourself in house.
If you need I can generate gerber files of any of my designs, just ask me.

Here you got: https://goo.gl/NRLWPz

If you have any question, please, don't hesitate.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests