HomeGenie Forum

General Category => How-To Videos => Topic started by: Gene on September 16, 2014, 12:40:26 PM

Title: Meet Eden!
Post by: Gene on September 16, 2014, 12:40:26 PM
HomeGenie - Eden Sensor Board (http://www.youtube.com/watch?v=j6S7nWi6oKg#ws)

http://www.homegenie.it/docs/diy/eden.php (http://www.homegenie.it/docs/diy/eden.php)

files for pcb printing will be published soon.

g.
Title: Re: Meet Eden!
Post by: Gene on September 23, 2014, 05:36:38 PM
Eden Sensor Board prototype just arrived! Still missing a couple of components that are on the way.
Isn't it cute?

https://plus.google.com/photos/105697864928973520721/albums/6062280027680885457

g.
Title: Re: Meet Eden!
Post by: Gene on September 27, 2014, 08:20:54 PM
Plugging into Eden a cheap UEXT LCD and a 5V Relay module, we get a complete DIY Network Thermostat...

https://plus.google.com/105697864928973520721/posts/VM335qMq1wf

g.
Title: Re: Meet Eden!
Post by: dani on October 10, 2014, 06:08:41 PM
Hi Gene,

Do you sell the Eden PCB Board, with or without component ?
Or where can we get the PCB Board ?

Cheers
Dani
Title: Re: Meet Eden!
Post by: Gene on October 10, 2014, 10:58:34 PM
Hi dani,

I'm still waiting for "beta" boards to arrive from china. 
I will be giving 10 of them to users who want to help testing and improving the product (perhaps already assembled).
It will only cost the price of the shipping.
Any other user interested?

Cheers,
g.

Title: Re: Meet Eden!
Post by: dani on October 11, 2014, 11:17:43 AM
Hi Gene,

I can make the assembly if necessery, so no problem.for testing.

Cheers
Dani
Title: Re: Meet Eden!
Post by: bkenobi on October 13, 2014, 04:07:44 AM
I'm interested, but I only have the one Raspberry Pi that's installed currently.  I want to add sprinkler controller capabilities before next summer, but I don't want to upset my wife by messing up the HG setup.   8)

If you don't find enough testers, I'd certainly be interested but I don't want to take away from someone that might be more responsive with testing.
Title: Re: Meet Eden!
Post by: NicoVermeir on October 13, 2014, 08:11:16 AM
I'd be very interested in testing this out as well. my HG install is currently running on an old tablet using the aeotec 2 stick but I plan on adding a secondary HG as a "slave" on an rpi. install it in the living room for IR / temperature stuff
Title: Re: Meet Eden!
Post by: mvdarend on October 13, 2014, 11:12:27 AM
If Eden also works with a BananaPi I'd be very interested in testing this too.
Title: Re: Meet Eden!
Post by: jarrettv on October 13, 2014, 04:50:07 PM
I'm also interested in Eden.

I'm running on beaglebone and I'm a C# expert.
Title: Re: Meet Eden!
Post by: Gene on October 13, 2014, 10:37:14 PM
People listed here will get Eden Sensor Board:

- dani
- bkenobi
- NicoVermeir
- mvdarend
- Automate

jarrettv: the board is not compatible with Beagle Bone.
mvdarend: the board works on BPi but currently IR transceiver driver is not available for BPi

I'll post a message here when I'll get boards ready for shipping (still waiting them to arrive from china).

Cheers.
g.
Title: Re: Meet Eden!
Post by: RoChess on October 14, 2014, 02:46:08 AM
I'm tempted to get a Banana Pi just for messing with HomeGenie, but my electronics background is from a rusty past so not sure I could be of any short term assistance with an Eden board.

Pick somebody else more involved with Adruino/BPi if you have lot of names to pick from, but if you have a spare toss my name in the hat.
Title: Re: Meet Eden!
Post by: Gene on October 31, 2014, 12:30:44 PM
Finally, after 1 month and a half, Eden Boards arrived.

Please e-mail your shipping address to info (at) homegenie (dot) it in order to receive it.

Cheers,
g.

Title: Re: Meet Eden!
Post by: Bitcraze on November 12, 2014, 04:57:26 PM
Hi, Gene

How can I get my hands on an Eden board?

Currently running R416 on Rapsberry PI, with Vision Z-Stick connected to Fibaro RGBW 441. Also busy testing a DHT-11 and DS18B20 temp sensors.
Title: Re: Meet Eden!
Post by: Gene on November 12, 2014, 08:26:42 PM
Hi Bitcraze,

from now on (till no more testing boards are left) to get Eden Board the following is required:

1) make a donation of at least $12 (PayPal donation link can be found here http://www.homegenie.it/docs/index.php (http://www.homegenie.it/docs/index.php))
2) in the donation message write "Donation for HomeGenie/Eden Sensor Board"

Cheers,
g.
Title: Re: Meet Eden!
Post by: Bitcraze on November 14, 2014, 03:45:16 PM
Hi, Gene

Payment has been made via PayPal. "Add special instructions to recipient" = "Donation for HomeGenie/Eden Sensor Board"


Would you pick up my delivery address from PayPal? That is the correct one.

Title: Re: Meet Eden!
Post by: Gene on November 14, 2014, 04:44:21 PM
Yes Bitcraze that is the address that will be used for shipping.

Cheers,
g.
Title: Re: Meet Eden!
Post by: mvdarend on November 16, 2014, 08:07:10 AM
Got the board (Thanks again Gene!) and all the parts except for the TMP36GT9Z, that was surprisingly hard to find in the Netherlands. I've ordered one from the UK, I hope to be able to test it all by the end of the week.
Title: Re: Meet Eden!
Post by: Gene on November 16, 2014, 11:46:55 AM
Hi mvdarend,

I would have sent you one (I got a couple few days ago).
I'm testing the TMP36 with eden, but I'm not totally happy with it as it is floating by +/-0.5 celsius and not giving a stable value (see attacched pic).
Anyway I think this can be fixed by improving the MCP3008 app so to make the value stable by sampling and averaging during a given period (eg. 1 minute or even more).
Let me know whenever you're ready to test and your impressions about it.
The main advantage of using a TMP36 is that it's very cheap.
Anyway there can be applied other solutions like using DHT-22 or DS18B20 digital sensors, but let's try to work-around this first.

Cheers,
g.

Title: Re: Meet Eden!
Post by: mvdarend on November 16, 2014, 08:09:33 PM
Thanks Gene, I was thinking about asking here first where I could best buy one, but then I found a seller on Ebay UK so I got one there. (In retrospect I could have bought a DS18B20 from my local retailer, but I didn't know that it would also work.)

I should have everything ready to test at the end of the week, can't wait to try it all out :)
Title: Re: Meet Eden!
Post by: mvdarend on November 25, 2014, 05:01:51 PM
The transistor finally arrived, but when I started soldering everything I saw that Conrad sent me the wrong part for J1 (the 1x3 2.54 male connector)

How important is the dip switch here and can I test Eden without it?

Title: Re: Meet Eden!
Post by: Gene on November 25, 2014, 10:45:06 PM
Yes mvdarend you can use without it. That is only needed for connecting things to the P3 connector.
Upgrade to r431 as there is a newer version of the MCP3008 app that support values "smoothing" and makes the TMP36 more stable and usable without a regulated voltage input.
Also keep the update frequency of MCP3008 app >= 60 seconds for better results.

g.
Title: Re: Meet Eden!
Post by: mvdarend on November 26, 2014, 08:01:44 PM
It works!  :o (I'm quite surprised I managed it without stuffing something up...)

She's showing a mixture of Celsius/Fahrenheit for the temperature sensor, but the value is correct. Now to wait on the last parts so I can connect other stuff :)

Title: Re: Meet Eden!
Post by: Marco on November 26, 2014, 08:56:25 PM
Hi Gene,
nice "temperature sensor graph"(speak about your Eden_TMP36_stats_01.png).
it's a feature of MCP3008 APP and TMP36 sensor or I can add a new graph in statistic?
I don't find nothing about it

Thank

Marco
Title: Re: Meet Eden!
Post by: Gene on November 26, 2014, 09:47:15 PM
Hi Marco,

all numeric data coming from any module parameter is automatically collected by the statistic engine.
The you can "analyze" collected data from the "Analyze" section.
In the analyze page, the "options" button (in the upper right corner) let you select what kind of data to display.

g.
Title: Re: Meet Eden!
Post by: Gene on November 28, 2014, 10:58:52 AM
Hi everybody,

this is the resulting graph with "Soft Stabilize" active on Eden's TMP36.
Much more reliable now. :)
Have any of you been trying this already?

g.
Title: Re: Meet Eden!
Post by: mvdarend on November 28, 2014, 08:50:47 PM
I haven't tried it with Stabilize set to 'No' so I can't compare, but the temperature is very stable in my situation and matches the temperature given by my Oregon scientific thermometer.

Edit: by the way, which luminance sensor should I use with Eden?
Title: Re: Meet Eden!
Post by: Gene on November 28, 2014, 10:18:50 PM
Hi mvdarend,

unfortunately I'm a electronics newbie so can't tell what luminance sensor to use.
You can take a look at adafruit's tutorial page:
https://learn.adafruit.com/photocells
Indeed I just picked one and put a 10Kohm resistor too:
https://learn.adafruit.com/photocells/using-a-photocell
And surprise.... it's working pretty well =)

g.

Title: Re: Meet Eden!
Post by: mvdarend on November 29, 2014, 04:30:36 PM
Thanks for the links Gene, went to the local electronics store and bought the cheapest sensor and it works great :)

Title: Re: Meet Eden!
Post by: mvdarend on November 30, 2014, 08:52:47 AM
I had one of these Infrared motion detectors (http://www.dx.com/p/ir-infrared-motion-detection-sensor-module-dc-5v-20v-139624#.VHrL1O90xOI) lying around, so decided to test it. I suppose you don't need Eden for this (it can connect directly to the GPIO pins), but it's a nice addition :)

Title: Re: Meet Eden!
Post by: Gene on November 30, 2014, 01:04:29 PM
very cool =) I also have that PIR, got from amazon. It's a very cheap one and works very well. =)

Title: Re: Meet Eden!
Post by: mvdarend on November 30, 2014, 09:30:05 PM
Will you be selling Eden boards? I'd like to purchase one so that I can put the one I have on the 'production' Pi
Title: Re: Meet Eden!
Post by: Gene on December 01, 2014, 01:53:37 PM
Hi mvdarend,

as Eden board didn't get too much interest from people, ain't going to sell it. But this was a good experiment that helped improving HomeGenie software and that may lead to improving the board itself in the future, making of it a more interesting and ready to use product.

Cheers,
g.
Title: Re: Meet Eden!
Post by: Gene on December 20, 2014, 08:30:03 PM
Hi all,

I just uploaded the app for using an Ssd 1306 Oled display. It can be used with Eden board as well =)

http://www.homegenie.it/forum/index.php?topic=561.msg3189 (http://www.homegenie.it/forum/index.php?topic=561.msg3189)

Cheers,
g.
Title: Re: Meet Eden!
Post by: NicoVermeir on December 20, 2014, 10:32:17 PM
can you tell me what parts I need to just get the IR stuff working on Eden? I want to be able to switch my tv on :)
Title: Re: Meet Eden!
Post by: Bitcraze on January 15, 2015, 02:14:36 PM
Hi, Gene

Could you mail me the tracking number on the Eden Board you sent me?

Thanks so much,

Eugene
Title: Re: Meet Eden!
Post by: Bitcraze on January 23, 2015, 04:05:52 PM
Hi, Gene

Have received my Eden board a week ago, thanks so much!

The on-board analogue temperature: The display went from Degrees to Fahrenheit for now reason. What could it be? On latest version and no update done that could cause.

Screenshot attached.

Also, I would like to send temp alerts to my mail. What do I use for "Sensor Name"? I have tried "Temperature" and "MCP3008 CH0", code complaing about the name.


Thanks,


Eugene
Title: Re: Meet Eden!
Post by: Bitcraze on February 02, 2015, 07:44:27 AM
Hi, Gene

The Fahrenheit / Celsius seemed to sort itself out after reboot of RPI.

I just need some advice regrading the "Sensor Name" still.

Thanks,


Eugene
Title: Re: Meet Eden!
Post by: bkenobi on February 27, 2015, 03:49:06 AM
People listed here will get Eden Sensor Board:

- dani
- bkenobi
- NicoVermeir
- mvdarend
- Automate

jarrettv: the board is not compatible with Beagle Bone.
mvdarend: the board works on BPi but currently IR transceiver driver is not available for BPi

I'll post a message here when I'll get boards ready for shipping (still waiting them to arrive from china).

Cheers.
g.
Offer still there?   8)

I am playing with 433MHz receiving and realized that my board (as well as all others) run 5v logic which Raspi doesn't.  I was going to use an arduino nano, but if eden plugs right in and is already in code, that's much easier!  I could also play with sprinklers and thermostat potentially!
Title: Re: Meet Eden!
Post by: Gene on February 27, 2015, 09:33:30 AM
Offer still there?   8)

I am playing with 433MHz receiving and realized that my board (as well as all others) run 5v logic which Raspi doesn't.  I was going to use an arduino nano, but if eden plugs right in and is already in code, that's much easier!  I could also play with sprinklers and thermostat potentially!


yes I've one EdenV1 board already assembled, plus I can also include the EdenV2 board (old revision - not assembled) that gives extra GPIOs when fitted on RPi+/2.
EdenV2 can run both 3V3 and 5V logic (by plugging arduino pro mini on it). The only difference of EdenV2 old rev with the newer rev is that the IR transceiver can only be used from Raspberry and not from arduino. With newest revision you have a jumper that let you switch routing of IR from rpi to arduino

g.

Eden Sensor Board V2 (http://www.youtube.com/watch?v=57H3ckz2c4U#ws)
Title: Re: Meet Eden!
Post by: bkenobi on February 27, 2015, 04:59:14 PM
I have a couple Nano V3 in shipment, but it looks like I need to get the Pro Mini for it to work with the Eden board.  It looks like the Raspi GPIO is covered by the shield.  Did you use long pins so they are available on top of Eden as well?  I'll PM my address and what not.
Title: Re: Meet Eden!
Post by: bkenobi on February 27, 2015, 05:49:30 PM
It looks like the documentation suggests V2 can use both 3v3 and 5v logic with the addition of a converter board.  But you said
EdenV2 can run both 3V3 and 5V logic (by plugging arduino pro mini on it).

Just trying to figure out what will need to be sourced to make things work.
Title: Re: Meet Eden!
Post by: Gene on February 28, 2015, 03:49:49 PM
EdenV2 can run both 3V3 and 5V logic (by plugging arduino pro mini on it).


well I am obviously mistaken on that. You still need a logic level converter as Arduino Pro Mini 3V3 cannot get 5V logic, though it is powered with 5V (it has a voltage regulator for that).

I have a couple Nano V3 in shipment, but it looks like I need to get the Pro Mini for it to work with the Eden board.  It looks like the Raspi GPIO is covered by the shield.  Did you use long pins so they are available on top of Eden as well?  I'll PM my address and what not.


Since I am sending you mainly EdenV1, you don't need Arduino for it. The EdenV2 board I'm also including is just a souvenir that you may not use at all.
GPIOs are not "covered", they are mode available through various pin pads (eg. see the right side of the board).

Anyway, see these links, it may be of some use for you:

http://www.ba0sh1.com/tutorial-3-3v-hacking-for-arduino-nano/ (http://www.ba0sh1.com/tutorial-3-3v-hacking-for-arduino-nano/)
http://forum.arduino.cc/index.php?topic=16846.msg122606#msg122606 (http://forum.arduino.cc/index.php?topic=16846.msg122606#msg122606)

Please note, as I don't understand much of electronics, please double check things  :)

g.
Title: Re: Meet Eden!
Post by: bkenobi on March 02, 2015, 06:32:18 PM
Ahhh, ok.  I wasn't seeing where the logic level shift in Eden was so I assumed a typo.  I'm still slogging through many forums/posts/blogs/tutorials to find a good method to get 433MHz signals from my power meter into HG.  The hard part right now is even reliably reading the signals via RF as the modules I have only pick up ~50% of the packets.  Once I get 100% packets, I'll be able to look at 433->Arduino-> Raspi, 433->Eden->Raspi, 433->Raspi, etc.  Logic level shifting tests appear to have burned one of my receiver boards, so I may be ordering more soon.   ;)
Title: Re: Meet Eden!
Post by: NicoVermeir on March 07, 2015, 12:19:25 PM
finally got around to finishing my eden board. when I add the temperature module to HG it keeps reporting raw value 0. anything I can do to troubleshoot this?
Title: About things you can do with Eden V1
Post by: Gene on March 24, 2015, 12:51:04 AM
Eden Box! =)

https://drive.google.com/folderview?id=0BzU2BIh0zi2ofjlwVXozQ01ha0MtNnBuVUZLakI5ekc3ZEJLbDRhS29BeEhHSk5jMG9zdFk&usp=sharing

I'm writing a brief doc page with instructions and updated automation programs soon.

Cheers,
g.
Title: Re: Meet Eden!
Post by: bkenobi on March 24, 2015, 04:42:43 PM
DIY security system!

...or Rave in a box?   8)
Title: Re: Meet Eden!
Post by: Gene on March 24, 2015, 07:36:18 PM
:D actually it is a bit of everything.

With the keypad you can do:
- configure system options with menus on OLED display
- activate scenarios or turn on/off lights

With 4 coloured leds:
- the blue led flashes on motion detected
- the white led can be used as a guiding light
- the red and green leds can be used for other alerts
- or simply make all leds flashing and get raving (LOL)

Sensors (motion, luminance, temperature, IR transceiver):
- thermostat
- siwtch on/off lights based on luminance and motion detection
- control lights with a common IR remote
- control TV, AVC through automation programs
- basic security alarm on motion detected (when armed)

also the cool thing is that the keypad is actually using only one input (an analog MCP3008 channel).

Title: Re: Meet Eden!
Post by: bkenobi on April 24, 2015, 03:15:40 AM
I have code that receives the power meter's 433MHz signal and decodes it at 100% reliability.  I also have sourced Arduino Pro Mini's that I'm going to try with the wired approach.  Not sure if I'll go Eden v2, Wired Arduino in a box, some other 433 Pi plate, or Uno+Ethernet+MQTT yet, but Eden board seems like the cleanest of the 3 so far (that can allow for additional features like barometric pressure).