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

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
MarioMaker
Posts: 2
Joined: Tuesday 03 November 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by MarioMaker »

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.
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: A complete set based on ESP8266

Post by Derik »

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: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: A complete set based on ESP8266

Post by deennoo »

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 / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Roach
Posts: 5
Joined: Wednesday 18 November 2015 17:42
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by Roach »

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: 5
Joined: Wednesday 18 November 2015 17:42
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by Roach »

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: 63
Joined: Saturday 07 March 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by dijkdj »

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!
BigDog
Posts: 82
Joined: Tuesday 17 September 2013 13:59
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.9269
Location: The Netherlands
Contact:

Re: A complete set based on ESP8266

Post by BigDog »

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 Raspberry4B : Domoticz Version 2023.1 [Linux 5.10.63-v7l+ armv7l]
1X Conbee II : 2.25.3 - 26720700
1X RFXtrx433 USB Firmware:183
1X Mysensors Gateway 1.5 -3
6X ESP8266: Tosmota firmware
Zigbee : 6 Operators, 13 Sensors
dijkdj
Posts: 63
Joined: Saturday 07 March 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by dijkdj »

The first post was the last post :)
NietGiftig
Posts: 121
Joined: Sunday 11 October 2015 8:50
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.6224
Location: Holland
Contact:

Re: A complete set based on ESP8266

Post by NietGiftig »

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: 21
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist »

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

Re: A complete set based on ESP8266

Post by SweetPants »

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???
User avatar
Conn-artist
Posts: 21
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist »

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

Re: A complete set based on ESP8266

Post by SweetPants »

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.
User avatar
Conn-artist
Posts: 21
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist »

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

Re: A complete set based on ESP8266

Post by SweetPants »

Conn-artist wrote:Hey, that's a pretty good idea to figure out how much the fridge is really using :)
Like this?
vriezer.jpg
User avatar
Conn-artist
Posts: 21
Joined: Saturday 12 July 2014 12:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8367
Location: 127.0.0.1
Contact:

Re: A complete set based on ESP8266

Post by Conn-artist »

Exactly 8-)
--
Martijn
MarioMaker
Posts: 2
Joined: Tuesday 03 November 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: A complete set based on ESP8266

Post by MarioMaker »

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.
Lyaka
Posts: 1
Joined: Wednesday 26 September 2018 9:51
Target OS: Windows
Domoticz version:
Contact:

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

Post by Lyaka »

You're doing fine, man. I wish you success. And the link you shared does not work for some reason. By the way, I think it will be interesting for you to look at this Australian site https://au.papersowl.com/case-study-writing-service it was incredibly useful for me. There you will find additional information for your work.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest