Cubieboard2 + domoticz
Moderator: leecollings
-
- Posts: 11
- Joined: Sunday 03 November 2013 16:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: ES
- Contact:
Re: Cubieboard2 + domoticz
Nice to know. Well, I was having lately some annoying delays using Openzwave (not in the past), I had other plans for this Raspi, and saw some recommendations to use CB2, so I took the plunge. The delays are gone (but I still have to move everything that was on the Raspi to the CB2: 2 GPIO reed sensors and a Node.js server for Sonos).
-
- Posts: 11
- Joined: Sunday 03 November 2013 16:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: ES
- Contact:
Re: Cubieboard2 + domoticz
Hello!
I had to reinstall my cubie (it didn't boot after an apt-get upgrade ???), and I chose to use Debian Wheezy (not Jessie) from the same page that is referred from the wiki http://www.domoticz.com/wiki/Installing ... ubieBoard2.
But after the reinstall, I cannot start domoticz:
./domoticz: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
(Yes, I did install libudev-dev)
...nor compile it:
Has anybody have some clues? Or should I go back to linaro (or Debian Jessie)?
Thanks in advance.
I had to reinstall my cubie (it didn't boot after an apt-get upgrade ???), and I chose to use Debian Wheezy (not Jessie) from the same page that is referred from the wiki http://www.domoticz.com/wiki/Installing ... ubieBoard2.
But after the reinstall, I cannot start domoticz:
./domoticz: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
(Yes, I did install libudev-dev)
...nor compile it:
Code: Select all
[ 33%] Building CXX object CMakeFiles/domoticz.dir/hardware/HardwareMonitor.cpp.o
In file included from /usr/include/linux/kernel.h:4:0,
from /usr/include/arm-linux-gnueabihf/sys/sysinfo.h:25,
from /home/pi/domoticz/hardware/HardwareMonitor.cpp:14:
/usr/include/linux/sysinfo.h:8:2: error: ‘__kernel_long_t’ does not name a type
/usr/include/linux/sysinfo.h:9:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:10:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:11:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:12:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:13:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:14:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:15:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:18:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:19:2: error: ‘__kernel_ulong_t’ does not name a type
/usr/include/linux/sysinfo.h:21:22: error: ‘__kernel_ulong_t’ was not declared in this scope
/home/pi/domoticz/hardware/HardwareMonitor.cpp: In member function ‘void CHardwareMonitor::FetchUnixData()’:
/home/pi/domoticz/hardware/HardwareMonitor.cpp:372:35: error: ‘struct sysinfo’ has no member named ‘totalram’
/home/pi/domoticz/hardware/HardwareMonitor.cpp:372:54: error: ‘struct sysinfo’ has no member named ‘freeram’
/home/pi/domoticz/hardware/HardwareMonitor.cpp:373:51: error: ‘struct sysinfo’ has no member named ‘totalram’
make[2]: *** [CMakeFiles/domoticz.dir/hardware/HardwareMonitor.cpp.o] Error 1
make[1]: *** [CMakeFiles/domoticz.dir/all] Error 2
make: *** [all] Error 2
Thanks in advance.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Cubieboard2 + domoticz
Look @ the wiki
Change pi to your hardware somwhere in a rule
I see pi in your code
Change pi to your hardware somwhere in a rule
I see pi in your code
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
-
- Posts: 11
- Joined: Sunday 03 November 2013 16:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: ES
- Contact:
Re: Cubieboard2 + domoticz
Thanks Derik. No, I didn't have to change pi anywhere (btw: I created a pi user to streamline the move from a previous Raspi). It seems that it's a known problem under last Wheezy image (see quote, under this thread http://www.cubieforums.com/index.php/to ... 5.780.html).
Moral: If, according to the wiki for installing and running domoticz on cubieboard, you prefer to use debian instead of linaro, stick to Jessie (and not Wheezy).
I have repeated all the steps using Jessie and everything worked fine. I just thought that Wheezy would be more stable.I finally found a solution for the problem with compiling oscam. You have to add these lines to /usr/include/linux/sysinfo.h (just the four lines from #ifndef __kernel_long_t to #endif):
Moral: If, according to the wiki for installing and running domoticz on cubieboard, you prefer to use debian instead of linaro, stick to Jessie (and not Wheezy).
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Cubieboard2 + domoticz
ok...
I will give jessie a try... [ on my other cb2 ]
Where do you download the image, is my first problem ]
And nand, or sd?
I will give jessie a try... [ on my other cb2 ]
Where do you download the image, is my first problem ]
And nand, or sd?
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
-
- Posts: 11
- Joined: Sunday 03 November 2013 16:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: ES
- Contact:
Re: Cubieboard2 + domoticz
I've used the latest Jessie image linked from the opening post in that thread. It's only SD, but you can later move all to NAND executing a script from /root.
All is working Ok now for me.
All is working Ok now for me.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Cubieboard2 + domoticz
I see wheezy,
no Jessie image ?
no Jessie image ?
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
-
- Posts: 11
- Joined: Sunday 03 November 2013 16:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: ES
- Contact:
Re: Cubieboard2 + domoticz
In the OP, click on HDMI:
Jessie v2.4 VGA | HDMI (340 Mb)
Jessie v2.4 VGA | HDMI (340 Mb)
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Cubieboard2 + domoticz
sorry i am a dombo for sure...
Op? opening post? i see no jessie, also no hdmi...
jessie 2.4 with google no thing like a image that i can use..
Please a download link....
Op? opening post? i see no jessie, also no hdmi...
jessie 2.4 with google no thing like a image that i can use..
Please a download link....
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
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Cubieboard2 + domoticz
THANKS!!
Also for Cubieboard 2?
Or only for Cubietruck...
That explane perhaps that i was not able to find it...
Also for Cubieboard 2?
Or only for Cubietruck...
That explane perhaps that i was not able to find it...
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
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: Cubieboard2 + domoticz
does anyone here have some issue between their internet router doint NAT, and their cubieboard ?
I have syn_wait syndrome that I don't have on a raspberry... either with nginx and lighttpd... so I guess this is not related to them.
I have syn_wait syndrome that I don't have on a raspberry... either with nginx and lighttpd... so I guess this is not related to them.
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Cubieboard2 + domoticz
Hi all
I have a Cubietruck (Cubieboard 3) on the way from China.
What is the best OS/ditro to work with Domoticz?
Is there a way to boot from Sata SSD ?
Thanks
I have a Cubietruck (Cubieboard 3) on the way from China.
What is the best OS/ditro to work with Domoticz?
Is there a way to boot from Sata SSD ?
Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- Posts: 116
- Joined: Saturday 13 July 2013 13:28
- Target OS: Linux
- Domoticz version: Latest
- Location: Hilversum, The Netherlands
- Contact:
Re: Cubieboard2 + domoticz
I use Armbian.
Ssd is possible.
Ssd is possible.
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Cubieboard2 + domoticz
Thanksantwan wrote:I use Armbian.
Ssd is possible.
I will go with armbian.
What abound booting from SSD, is there a wiki or a guide that I can look for? I haven't found many info...
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Cubieboard2 + domoticz
see the armbian install instructions, there is a script to copy it to the nand or ssd drive
Quality outlives Quantity!
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Cubieboard2 + domoticz
ok, found on https://github.com/igorpecovnik/lib/blo ... install.sh and found also on armbian docs http://www.armbian.com/documentation/ (How to install to eMMC, NAND, SATA & USB?)
I should have look better.
Now waiting for cubieboard and ssd to arrive
I should have look better.

Now waiting for cubieboard and ssd to arrive
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Cubieboard2 + domoticz
Just got the Cuibietruck (Cubieboard 3).
Installed armbian (having problem with ssd, written to armbian and cubieforums to find solution) and now trying to install domoticz.
I'm following the instruction at http://www.domoticz.com/wiki/Installing ... ubieBoard2.
When I download from http://domoticz.sourceforge.net/beta/do ... armv7l.tgz the file contains only
should I download something else to install domoticz?
Thanks
Installed armbian (having problem with ssd, written to armbian and cubieforums to find solution) and now trying to install domoticz.
I'm following the instruction at http://www.domoticz.com/wiki/Installing ... ubieBoard2.
When I download from http://domoticz.sourceforge.net/beta/do ... armv7l.tgz the file contains only
Code: Select all
linaro@cubietruck:~/domoticz$ tar xvfz domoticz_linux_armv7l.tgz
scripts/
scripts/download_update.sh
Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Who is online
Users browsing this forum: No registered users and 1 guest