HomeGenie Forum

General Category => General Discussion => Topic started by: Gene on December 11, 2014, 12:58:30 AM

Title: New quad core single board computer
Post by: Gene on December 11, 2014, 12:58:30 AM
http://ameridroid.com/products/odroid-c1 (http://ameridroid.com/products/odroid-c1)

looks like interesting alternative to Pi and other clones.
Anyone tried this with HG? =)

g.
Title: Re: New quad core single board computer
Post by: RoChess on December 11, 2014, 01:50:56 AM
Looks like you can only pre-order it, delivery starting Dec 16th.
Title: Re: New quad core single board computer
Post by: bkenobi on December 11, 2014, 05:55:11 AM
If the Raspi isn't powerful enough to run my Advanced Smart Lights code, I'd definitely consider this!  I need to have a single board, compact system so Raspi seemed like the best option, but if I need more capability I'd jump on this especially considering the price.
Title: Re: New quad core single board computer
Post by: drpepper on December 16, 2014, 02:12:20 AM
Ordered a C1 with Linux emmc to try Homegenie on, I'll report back if I have issues. Not that HG needs the additional processor power but I can always repurpose my Pi.

Unrelated, does HG accept bitcoin and/or equipment donations instead of Paypal?
Title: Re: New quad core single board computer
Post by: Gene on December 16, 2014, 04:15:29 AM
Paypal do not accept bitcoin payment at the moment but there are gateways like these:

http://www.btctopp.com/ (http://www.btctopp.com/)
https://bcexer.com/ (https://bcexer.com/)

not sure about how serious these service are, so better search for other providers as well.

g.

EDIT: it seems that the owner of paypal account must be the same as the bitcoin one =/
Title: Re: New quad core single board computer
Post by: RoChess on December 16, 2014, 09:41:18 PM
PayPal should accept Bitcoins already, but only via: https://www.paypal.com/webapps/mpp/paymentshub for the time being.
Title: Re: New quad core single board computer
Post by: Eric_S on December 23, 2014, 06:54:30 AM
I like the BeagleBone Black Rev C. It has enough eMMC to run Ubuntu or Debian with a full GUI and you can get a 4" or 7" touch screen cape for it. It is tiny, about the size of a credit card or Altoids can, barely bigger than a Z-Stick. Amazon has an aluminum case for it too. Runs HG effortlessly.
Title: Re: New quad core single board computer
Post by: drpepper on December 25, 2014, 11:50:03 AM
Reporting back - I got the ODROID-C1, flashed the Ubuntu image onto my eMMC, apt-get install mono-complete, HG seems to work fine.

I do get plenty of the dreaded "Got a bad hardware address length for an AF_PACKET 16 8" error, but that sounds like a consequence of using the mono packages instead of compiling from master.

It's quite a bit snappier than my B model Pi, which would peg the CPU for a few seconds while rendering my HG dashboard. That said, the OS images are still pretty new and I had some issues there with ttys and the serial service. IMHO, if you had $35 for a Pi or ODROID-C1, I'd take the C1 all day long.

Gene, if you give me the details I'd be happy to create a tuned C1 image with mono+HG for the downloads page.

On the other matter, I went with paypal but think about posting a Bitcoin address ;)

Merry Christmas, HGers!
Title: Re: New quad core single board computer
Post by: drpepper on December 27, 2014, 04:16:39 PM
I do get plenty of the dreaded "Got a bad hardware address length for an AF_PACKET 16 8" error, but that sounds like a consequence of using the mono packages instead of compiling from master.


Removed the stock mono-complete and installed the mono-odroid from http://forum.odroid.com/viewtopic.php?f=52&t=6389 (http://forum.odroid.com/viewtopic.php?f=52&t=6389) because it's mono 3.8.1, and I'm having much better luck.
Title: Re: New quad core single board computer
Post by: jarrettv on December 30, 2014, 06:46:26 PM
(https://dl.dropboxusercontent.com/u/6142956/forums/hg/EdisonZStick2.jpg)
I’ve got homegenie up and running on Intel Edison. This is by far the coolest little linux computer I’ve played with yet.

After updating the image and configuring the built-in wifi. I compiled and installed mono (http://www.dlsloan.ca/Docs/Edison/monoInstall.html) (approx 6hrs). This seemed much faster than on the BBB.

Next, I downloaded homegenie and ran with mono. It started fine and I could access from browser thru wifi. Things seem really snappy.

Next, I connected the zwave zstick2 and it shows as detected.

root@edison1:~# lsusb
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


However, in HomeGenie, I see “NO SERIAL PORTS FOUND”.

(https://dl.dropboxusercontent.com/u/6142956/forums/hg/hgnoserialportsfound.png)

root@edison1:~# cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0


I guess there is no kernel driver that gets loaded. Time for some more linux research. :)
Title: Re: New quad core single board computer
Post by: Gene on December 30, 2014, 07:59:03 PM
Hi jarrettv,

very cool!! I wish they would send me an Edison sample =D
Try to see if any port is mapped right after you plug the z-stick by issuing the dmesg command.
If you see a port, but HG doesn't list it, try the trick explained here:

http://www.homegenie.it/forum/index.php?topic=587.msg3287#msg3287 (http://www.homegenie.it/forum/index.php?topic=587.msg3287#msg3287)

Let us know your progress about this =) eventually open a new topic.

Cheers,
g.
Title: Re: New quad core single board computer
Post by: Eric_S on December 31, 2014, 07:10:28 AM
Hi Jarrettv,

This may help. You need to patch the USB through to a serial port.

http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx (http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx)
Title: Re: New quad core single board computer
Post by: jarrettv on January 03, 2015, 06:07:29 AM
Let us know your progress about this =) eventually open a new topic.


Thanks gene. I started a new thread (http://www.homegenie.it/forum/index.php?topic=606.msg3434#msg3434) and will post progress there. The dmesg doesn't show anything useful. I'll compare with my BBB dmesg.

You need to patch the USB through to a serial port.


Can you be more specific? I've tried

mknod /dev/ttyUSB0 c 188 0

And the port shows up in HomeGenie but there is still no usbserial driver loaded.

Title: Re: New quad core single board computer
Post by: Eric_S on January 05, 2015, 05:59:56 AM
Give these a read.

https://www.sealevel.com/support/article/AA-00524/0/How-to-configure-USB-serial-adapters-in-Linux.html (https://www.sealevel.com/support/article/AA-00524/0/How-to-configure-USB-serial-adapters-in-Linux.html)

http://ftdi-usb-sio.sourceforge.net/ (http://ftdi-usb-sio.sourceforge.net/)

https://bbs.archlinux.org/viewtopic.php?id=175499 (https://bbs.archlinux.org/viewtopic.php?id=175499)

http://ubuntuforums.org/showthread.php?t=2259068 (http://ubuntuforums.org/showthread.php?t=2259068)

http://ubuntuforums.org/showthread.php?t=1325846&p=8336004#post8336004 (http://ubuntuforums.org/showthread.php?t=1325846&p=8336004#post8336004)

The USB Z-Stick needs to be assigned to a COM port.

Code: [Select]
modprobe ftdi_sio vendor=0x10c4 product=0xea60
or

Code: [Select]
sudo chmod 666 /sys/bus/usb-serial/drivers/ftdi_sio/new_id
nano /sys/bus/usb-serial/drivers/ftdi_sio/new_id

and then enter your VID and PID

Code: [Select]
10c4
ea60

and save (^O = Ctrl + o)

I'll keep digging around.
Title: Re: New quad core single board computer
Post by: louis on January 12, 2015, 03:40:04 PM
Hi drpepper,

I finally got my board in (Adroid-C1) i installed mono-odroid 3.8.1 but i now can't compile any code.
I'm not really familiar with mono, i've read some docs and googled alot. but can't realy figure out what i'm doing wrong.

if using mono and i compile a simple example using dotnet : mcs test.cs -pkg:dotnet i get the following errors:
 
error CS0006: Metadata file `Accessibility.dll' could not be found (on each dll referenced)

so i guess somewhere a path is missing.

Offcourse in homegenie i have the same problem.

Any help appreciated .

Kind regards

Louis
Title: Re: New quad core single board computer
Post by: drpepper on January 12, 2015, 04:25:40 PM
Hey Louis, as far as I know, the mono-odroid package is the MRE (mono runtime environment) not the MDK (mono development kit). So you can run mono programs with it (such as HomeGenie.exe) but it's not a compile environment. You can download the homegenie tgz and run it on your C1 with that package, but checking out source and compiling it on there will require some dependencies to be installed.
Title: Re: New quad core single board computer
Post by: louis on January 12, 2015, 04:50:43 PM
Hi drpepper,

Thanks for the quick response  ;)

You mean that it's also not possible to compile any Csharp code in homegenie self ?

Cheers

Louis

Title: Re: New quad core single board computer
Post by: louis on January 12, 2015, 08:23:57 PM
Did some more googeling ;-)

Found a compile option for mcs that worked:

mcs test.cs -pkg:dotnet -lib:/usr/local/lib/mono/4.0

After some fiddling in the startup script I ended up with the following startup.sh:

===========================================================
#!/bin/sh
export MONO_PATH=/usr/local/lib/mono/4.0
if [ -f /usr/bin/mono ]
then
        MONO=/usr/bin/mono
else
        MONO=/usr/local/bin/mono
fi

EXITCODE="1"
while [ "$EXITCODE" = "1" ]; do
        if [ -z "$1" ]
        then
                $MONO HomeGenie.exe -pkg:dotnet
        else
                cd $1
                $MONO HomeGenie.exe -pkg:dotnet >/dev/null  2>&1
        fi
        EXITCODE="$?"
        echo "Exit code: $EXITCODE"
done
===========================================================

i had to remove the sudo because this resets the environment.

@gene:
- is there a reason for using a seperate script instead of incorperating it in the init script ?
- is there a possiblity of adding these changes to your repository ?

TIA

Louis
Title: Re: New quad core single board computer
Post by: v11 on January 25, 2015, 07:15:25 PM


   I wonder if Homegenie work with this motherboard> Odroid XU3 Lite?
  Now I ordered one piece and are curious if a pinout that is going to GPIO ....
   Please excuse me for English ... :)


  Thanks.
Title: Re: New quad core single board computer
Post by: lastbit on January 16, 2016, 07:07:46 PM
Also the Odroid C1+.  This computers also have GPIO pin outs. Much like the Raspberry Pi.
Title: Re: New quad core single board computer
Post by: [email protected] on January 17, 2016, 11:53:23 AM
Bit of an old thread but quite like the Look of these,  how did people get on with them?  May order one and pass it off as a birthday present!
Title: Re: New quad core single board computer
Post by: kevin1 on February 10, 2016, 05:29:27 PM
So, is this powerful enough to run HG server and a UI/browser attached to HDTV?  And finally turn off the noisy / hot laptop :-)
Title: Re: New quad core single board computer
Post by: bkenobi on February 10, 2016, 06:56:53 PM
HG is a service so no issue there.  GUI means you need a graphics interface meaning Windows or Xwindows.  A Pi can do that easily.  If this is as powerful as a Pi v1, it should work...
Title: Re: New quad core single board computer
Post by: petediscrete on February 12, 2016, 12:18:16 AM
I still don't understand how anyone could justify running a PC or laptop with HG. Why use an elephant gun to shoot a mouse. The RPI or equivalent is more than capable of controlling all of the needs of HG. I think MS Windows has taken control of everyone and it's hard to break the dependency.

Personally I haven't purchased a MS product since 2005 and believe me I never will again. HG is ideal for an embedded solution. Surely that's what the IoT is all about. Green solutions.

Why do people ask for an iPhone app when clearly the Android app is more than capable.

Computing is all about open source, collaborating and working through problems and finding solutions. We don't need any one individual to ever have a stranglehold on our day to day lives
Title: Re: New quad core single board computer
Post by: bkenobi on February 12, 2016, 03:24:07 AM
Windows is the only option for most of the corporate computers in the world.  There are other options, but no business considers it a viable option at this time.  For power users, Linux/Unix servers are very commonly used but office type users are not typically given that option.

That said, Windows is not the best choice for IoT IMO.  It is the best choice IF the computer you install it on is always on anyway.  I have a file server that is running a RAID5 and is on 24x7.  If there was a cheaper option at the time I built it, I'd have gone another way.  However, there is still no other choice that I've seen that gives file access and a viable redundant hardware RAID that would be significantly less energy hungry.  I had my HA software running on that system for years in a headless setup.  I much prefer the RPi, but it was not an option when I started years ago.

As for an iPhone app...if you have an iPhone, you can't install either the Windows or Android apps.
Title: Re: New quad core single board computer
Post by: kevin1 on February 12, 2016, 03:44:34 PM
I have the elephant gun (windows laptop) sitting there with idle processing time, I don't have rasberry pi (yet).  Nothing against pi, I've used unix/linux computers 20+ years and usually install cygwin on every windows pc I use.  Linux computers typically are more difficult to configure and I don't have much time free time to spend with trying various distros, images, mono versions, etc.  Then I would want a media center kodi variant for the pi and connect to tv.....   

Anyone know of a "HTPC" case for Pi?  Not a traditional pi case that is same size as pi with openings for ports.  Thinking of something about size / looks of small dvd player, a cover that would hide all the wires, sensors, usb sticks, etc... so I could place it near my tv.  I'd want all the cables routed to the back of the case.  Maybe just buy a dvd player from goodwill or something :-)

I find that HG can cause performance issues on i7 processor so that makes me wonder how (http://www.homegenie.it/forum/index.php?topic=898.msg5607#msg5607) performance  (http://www.homegenie.it/forum/index.php?topic=129.msg8262#msg8262)can be on pi. 

Regarding iOS, I have android phone and HG+.  I also have an ipad so iOS version would be great for it.  A Win10 metro type app would be cool too.  I like all the platforms.  Agree with both sides of the windows comments.  Open source everything would be great idea but in corporate world "FOSS" is not so free and open.

I don't know if IoT is about being green; certainly you could use it for that with home energy monitoring etc.  For me IoT or more relevant to this area... HG is more about smart home / automation / security / equipment monitoring.
Title: Re: New quad core single board computer
Post by: bkenobi on February 12, 2016, 05:52:02 PM
HA is certainly not about being green.  Anyone who tells you that is wrong.  It is possible to reduce certain energy usage by using controlled modules, but there are other things never considered.  If you have an exterior light that uses a 100W bulb and runs 24x7, you use 2400Wh per day.  If you use a dusk/dawn sensor, you can reduce that by approx half (1200Wh).  If a motion sensor is used, you can even go lower depending on how many times motion is sensed so maybe 1 hour (100Wh).  If you use a HA module of some kind, you can also control it remotely which doesn't save energy but does make it more flexible.

A standard light switch uses 0W as it's simply a on/off toggle switch.  If you use anything else, it will use some power even when off.  A photo sensor is basically 0W.  A motion sensor uses some power, but I can't locate anything that indicates how much.  I'll assume it's fairly small (1-2W).  A HA module gives no real benefit to efficiency over a motion sensor/dusk/dawn type light but uses more power.  I've read that X10 modules use at least 3W per module.  In my case, I have at least a couple dozen modules plus the various transmitters and other equipment.

I'd guess I'm using close to 100W just for the modules and that's on 24x7 (2400Wh per day).  So, if my goal was to reduce my energy footprint, I would eliminate all HA modules and install dusk/dawn/motion sensors on outdoor lights.  Also, a RPi is much lower power than a full PC, but it still uses some energy.  If you want to save the world, HA is not the way to do it.  If you want to come home and have lights turn on for you, the fireplace kick on, music start playing, and a voice say "welcome home", you are in the right place.
Title: Re: New quad core single board computer
Post by: rainsee on November 25, 2016, 08:36:58 AM
I like the Graperain quad core single board computer (https://www.graperain.com/ARM-Embedded-S5P4418-Single-Board-Computer/). It has enough eMMC to run Ubuntu or Debian with a full GUI and you can get a 4" or 7" touch screen cape for it. It is tiny, about the size of a credit card or Altoids can, barely bigger than a Z-Stick. Amazon has an aluminum case for it too. Runs HG effortlessly.