At long last I found the time to get Gambas2 compiled and running on Raspberry Pi with Raspbian Wheezy and DomotiGa (http://domotiga.nl).
Things were made extra hard by my determination to not expand the 2GB rootfs so I had to strip some stuff out- but it does mean you can restore to any SD card 2GB or larger.
SSH is enabled but I didn’t put vncserver on this time.
I didn’t document the process- but essentially kept trying to
./configure
gambas2 and each time an error came up I used http://www.debian.org/distrib/packages to try and determine what I needed to install. Because of the lack of free space I had to wget and
dpkg –I
to install many of the packages- I couldn’t use
apt-get
. I used
df –h
to check on free space as I went and
find / -type f -size +5000k
to find and remove large files (cache/docs etc).
Shell login: pi Shell password: raspberry Mysql root password: raspberry
Download
http://tickett.net/downloads/raspbian_gambas_domotiga.img.7z
http://tickett.net/downloads/raspbian_gambas_domotiga.img.7z.md5
Mirror
http://speedy.sh/J3MhY/raspbian-gambas-domotiga.img.7z
http://speedy.sh/srE7C/raspbian-gambas-domotiga.img.7z.md5
Please let me know how you get on!
L

Hi Lee,
I Would like to try and download the SD image but the 1st mirror is down.. could you save the image elsewhere ?
Thanks Merijn
Did you try the speedyshare one? Appears to be working AOK.
L
Great work
Got it working using the USB433 dongle from ukhomeautomation switching lightwaveRF sockets few minor config setup to do in domotiga but running solid. Only issue at the moment is the is no sound from domotiga although the sound works on desktop playing wav files etc…… Next is a IR receiver using the GPIO I let you know how that goes.
I had major issues with USB hubs and anyone experiencing ANY problems with the PI should try to run without a hub and connect via tightvnc as it works fine. It’s a well documented problem at the moment.
If you have any questions on what I have done or would like some help post your comments here and I will try to help.
Thanks again
Dave
Hi Dave – I’m having trouble with an error message from the RFX433…
I get…
RFXCom transmitter Error: Cannot open serial port (#5)
ERROR: RFXCom transmitter serial interface FAILED to connect to Port /dev/ttyUSBD8
As far as I can tell my dongle is plugged to /dev/ttyUSB0 – is there some config I need to change in DomotiGa to get it to talk to ttyUSB0 for the transmit side of the box?
Thanks,
Martyn
Sorry – was just being stupid… I see where to change it now.
Excellent – downloaded the Wheezy image – and it works except for a small misconfiguration in apache. It is configured to load the php5 module – but this module is not present in /usr/lib/apache2/modules/. Otherwise Domotiga starts up and runs immediately.
Thanks
how is performance? Is it sutable for home automation or is the raspberry pi to slow?
What z-wave dongle is recomended?
Hey, thanks for this. Very handy as my Domotiga image no longer boots, so its handy to have a premade image :0).
Can I ask, is the hardware SPI enabled for the GPIO pins with this?
Cheers
Hello,
Thanks for your work.
Is libusb-dev already installed in the image?
I get a can’t locate package if i try to install it via sudo apt-get install libusb-dev
Thanks for a short reply.
Andreas
All the mirrors for the squeeze image are down?
Hi Tickett
The download link to your own and to the Speedy site do not work. Can you please fix it?
Regards
OWK
My webserver has crashed and i’m working away at the moment. I will be back tonight and get it back online.
OK, thanks
It should be back now. Sorry for the wait.
Ok, thanks. Will download it later today
Have a nice weekend!
Hello,
Can you tel me where i can download de image domotiga for Raspberry PI.
De link is not working
Wolderwijd
Seems to be working ok: http://tickett.net/downloads/raspbian_gambas_domotiga.img.7z
Now he works again, from Saturday, already tried several times and it didn’t work.
Thank you
Wolderwijd
Hi, firstly thanks for the clear effort put into this. Unfortunately I’m not having the luck others are, probably because I’m not sure I understand the post-image activities that need to be done. As another contributor said, there’s a PHP5 error in the Apache, which I assume I’ve fixed by running the apt-get update followed by install php5 commands. In the /var/www there’s no domotiga directory, assume that still needs to be manually copied over? The main issue I have is that I cannot get the 9009 port to be listened to, so assume there’s a fault with my XMLRPC config but I’m entirely lost as to where that’s invoked, or how to check it’s running. If someone would be so kind as to write a one-page “Now that you’ve got the SD card written, you need to do THIS….” I’d be really grateful! Desperate to get this bit sorted so I can move onto installing the RFXCom 433 transceiver and actually doing some work with it. Thanks so much.
As an update, just realised that I was running the server on another window, and that had crashed, when I restarted it, I could connect. Just goes to show – never take anything for granted!
Great- glad to hear you’re making progress. I have to admit I haven’t been using my Pi or domotiga for some time (due to other commitments). Whilst the software is great, with a vast number of modules and strong community I think the technology (gambas) is a limiting factor.
I have invested in EVE, a kickstarter project promising to deliver a “daughterboard” adding the various rf protocols directly via gpio (http://www.kickstarter.com/projects/ciseco/eve-alpha-raspberry-pi-wireless-development-hardwa). I look forward to seeing which direction they go down (with regard to software).
Ultimately I could end up going back to domotiga (now with more recent releases of Raspbian and the latest 512MB Pi)
Please keep us updated with your progress!
I have download your version (great work) But when I make a 4gb sd card ready with your image (w32 disk imager) And I start my raspberry pi (512mb latest model)I got a screen full of colours and the leds in my case are only red.
So I tought the sd card was corrupt so I downloaded and installed it again . but the same thing.
What’s wrong. I can’t connect with putty and the thing does nothing. Any suggestion?
thanks and sorry about my poor english
is the screen full of colours the standard boot screen? the gradient/colour palette?
i’ve yet to try the image on a 512MB pi so that could be an issue.
The image works OK on my 512MB pi so I suspect it’s more a problem with the method of putting the image onto the SD card.
don’t know if this is the default bootscreen but I don’t think. when i create the image myself with the manual steps it works (I’m at the middle of the procedure).
But how must I place the image on the SD-card? I have used w32imager.
try dd i think that’s the most common tool of choice
I did mine using DD under Mac OS X so haven’t tried win32diskimager although I know the various guides recommend that software. There’s another piece of software called flashnul described here – http://elinux.org/RPi_Easy_SD_Card_Setup#Copying_the_image_to_an_SD_card_on_Windows_if_first_option_isn.27t_successful
hi, latest Ras PI image with gambas and domotiga is corrupt (I’ve tried to download is the last 3 days), mostly disconnected after a couple of MB. Once I got it in total but corrupted.
Is it possible to put it back online, it should be a huge help for me, as I can’t get gambas compiled properly on rasPI.
Thanks in advance,
jeroen
I’m on holiday till February 4th but the image should be fine. Did you try both mirrors?
I succeeded by downloading 3 in parallel.
It strange, now it succeeded.
Thanks and have a great holiday !!
The speedy mirrors dont seem to work any more, and the non speedy mirror is incredibly slow. are you able to move it to another mirror??
Hi Dave, the non-speedy mirror is on a 20Mbit uplink in the UK so I guess it’s the journey round the world slowing it down. You could try using a download manager with multiple threads.
I’m a bit hesitant to upload to a mirror as they notoriously don’t last long (and the image could do with updating too- it’s quite old now). I have a new Raspberry Pi and the EVE Alpha board I may try loading up later this week.
L
Hi. As you’ve said before Lee, running DomotiGa under Gambas2 on a Raspberry Pi is a bit slow and clunky.
Yesterday I stumbled across the Domoticz project – http://www.domoticz.com
For those who haven’t seen it yet it’s an Open Source cross platform home automation HTML5 fronted compatible with the RFXCom transceivers and it runs pretty well on a Raspberry Pi.
There are even instructions for how to install it on the Pi on the wiki…
http://sourceforge.net/p/domoticz/wiki/Installing%20and%20running%20Domoticz%20on%20a%20Raspberry%20PI/
Results seem pretty good so far. It’s currently a bit limited in what sort of devices it knows about but the guy running the project, Rob, seems very keen to expand it to cover all sorts of things.
DomotiGa actually runs a lot better on the more recent Raspbian releases but I do have concerns with the Gambas programming languange. I really like the sound of a purely web based system.
Do you know what language it’s written in?
Funnily enough today I am playing with my RasPi and EVE Alpha board I bought on kickstarter recently to try and eradicate a bunch of USB radios!
Thanks for the heads up! Please keep me posted on your experiments (let me know if you’ll be blogging/tweeting etc).
L
I did keep meaning to try to install Gambas from scratch my v2 Raspberry Pi with the latest Wheezy release but hadn’t got round to it. Domoticz does seem really easy to use with all the config done through the web interface.
It’s written in C++, you can only download binaries for Windows but it’s pretty easy to compile it on a Debian box (including the Raspberry Pi) and there are good instructions on their wiki.
Looking forward to hearing how you get on with the EVE board. I may well post a blog entry about how I get on with Domoticz – I’ll let you know if I do.
I downloaded the image but it won’t boot on my PI.
Black screen.
I already uncomment config_hdmi_boost=4 but no result.
When I put the same card with the standard Raspbian “wheezy on, there are no problems.
Any Idea?
I had another report of this happening and it turned out to be a corruption issue (don’t recall if it was with the download or with the flashing of the sd card). I suggest you redownload the file and reflash the sd card. Though this is now quite an old image it may be time to build a new one :)
Good luck!
I’ve got it working.
After redownloading the image 3 times it’s working :)
Thanx for the image