Page 3 of 3

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Sunday 20 November 2016 20:49
by jonas
I followed the previous tip and it works, thanks! :) But I could't find peace until I could find a solution that simplifies the installation process. You don't have to install Z-Way! :D

Write image Raspian Jessie Lite on sd-card.

1. sudo raspi-config
1.1 expand Filesystem
1.2 Change User Password
1.3 Change Timezone: set to appropriate timezone
1.4 Advanced Options: Option A3. Memory Split: Set to 16M since we don't need a graphical environment
1.5 Advanced Options: Option A0. Update
1.6 sudo reboot
2. sudo apt-get update
3. sudo apt-get upgrade
4. sudo reboot
5. sudo apt-get install rpi-update
6. sudo rpi-update
7. sudo nano /boot/config.txt
add to end of the file:
dtoverlay=pi3-disable-bt
8. removing 'console=serial0,115200' from cmdline.txt
sudo nano /boot/cmdline.txt
9. sudo systemctl disable hciuart
10. sudo stty -F /dev/ttyAMA0 9600
11. sudo reboot
12. sudo curl -L install.domoticz.com | bash

Yes I'm using RaZberry2, type OpenZWave USB with /dev/ttyAMA0 in Domoticz!

Good luck!

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Sunday 20 November 2016 21:50
by mlamie
thundernerd wrote:I finally got the setup to work. Strange thing is I've been retrying the same thing over and over again. This was my last try otherwise I would have ordered an USB Z-Wave stick.

If I have some spare time I will image my current SD and try to figure out which settings Z-Way server configures. That way the install of Z-Way server would no longer be necessary.

Thanks for your help irrbloss!!
I spend a couple of hours to upgrade from Rpi1 to Rpi3 including the Razberry board. Luckely I found this topic and, all went fine based on the steps posted by irrbloss.

If you still wonder what the installation of z-way does have a look at the screenshot below:
Image

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Sunday 11 December 2016 16:28
by kc27
Thank you irrbos, works perfect!!
Also on a Raspberry 2.
No change or simlink of /dev/AMA0 is needed.
Works "out of the box"!!

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Tuesday 07 March 2017 17:38
by K3rryBlue
I just want to add a suggestion.

The rPi and sd-card seems not to be a very happy marriage. Crashes, database malfunction etc.
Please have a look at berryboot.
Instead of installing to the sd-card, you can install it to an USB drive, which improve the stability of the rPi.

I used a USB thumb, Sandisk USB 3.0 64GB USB Stick, and so far it runs pretty stable.

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Tuesday 07 March 2017 20:00
by tontze
Thnx kerry, thats interesting.

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Friday 24 March 2017 9:33
by piokuc
Hi all :)
Is any chance to we can use on RPI3 Bluetooth in Domoticz also with wifi and Razberry ZWAVE card ?

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Friday 24 March 2017 13:20
by Ericv
Please have a look at berryboot.
What is the advantage (if any) of using berryboot in stead of following the steps mentioned earlier in this thread:
1. sudo raspi-config
1.1 expand Filesystem
1.2 Change User Password
1.3 Change Timezone: set to appropriate timezone
1.4 Advanced Options: Option A3. Memory Split: Set to 16M since we don't need a graphical environment
1.5 Advanced Options: Option A0. Update
1.6 sudo reboot
2. sudo apt-get update
3. sudo apt-get upgrade
4. sudo reboot
5. sudo apt-get install rpi-update
6. sudo rpi-update
7. sudo nano /boot/config.txt
add to end of the file:
dtoverlay=pi3-disable-bt
........
....etc

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Friday 24 March 2017 15:04
by K3rryBlue
Seems you started to mix things.......
Not sure if you read the topic or information on Berryboot?
How to install Raspbian, has nothing to do with berryboot.

The problem with installing Raspbian to a SD-Card, is that the medium acts unstable. SD-cards gets easily corrupted, database malfunction, crashes etc.
With Berryboot you can install Raspbian to a HDD, SSD, .... Which makes the rPi much more stable.
When done, you follow the setup from this topic, as this is pretty accurate.

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Friday 24 March 2017 15:26
by Ericv
You are right, sorry for mixing up things. Made an error with copy/paste text.

I currently have the Pi running from usb-stick. But did not use berryboot to get that working. I followed one of the many tutorials to copy Raspbian to usb-stick and subsequently run from usb-stick, by changing startup options. in '/boot/cmdline.txt'.

What still is not fully clear to me: if you install raspian with Berryboot on a USB drive/stick, can you then use the pi even without SD-card?

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Friday 24 March 2017 17:27
by K3rryBlue
No, you still need the sd card to boot (the smallest you can find 80MB :-) ), the OS runs fully from the attached storage device.

Only with berryboot it's much easier, also for the people who are not that experienced with linux. And berryboot gives you the "noob" function.(for those who need it)

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Wednesday 29 March 2017 14:49
by Ericv
OK, thanks.

What needs to be on the SD-card? only the '/boot/cmdline.txt' file?

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Wednesday 29 March 2017 15:01
by K3rryBlue
only a few files:
Image

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Thursday 01 November 2018 18:49
by BazsoDombiAndras
jonas wrote: Sunday 20 November 2016 20:49 I followed the previous tip and it works, thanks! :) But I could't find peace until I could find a solution that simplifies the installation process. You don't have to install Z-Way! :D

Write image Raspian Jessie Lite on sd-card.

1. sudo raspi-config
1.1 expand Filesystem
1.2 Change User Password
1.3 Change Timezone: set to appropriate timezone
1.4 Advanced Options: Option A3. Memory Split: Set to 16M since we don't need a graphical environment
1.5 Advanced Options: Option A0. Update
1.6 sudo reboot
2. sudo apt-get update
3. sudo apt-get upgrade
4. sudo reboot
5. sudo apt-get install rpi-update
6. sudo rpi-update
7. sudo nano /boot/config.txt
add to end of the file:
dtoverlay=pi3-disable-bt
8. removing 'console=serial0,115200' from cmdline.txt
sudo nano /boot/cmdline.txt
9. sudo systemctl disable hciuart
10. sudo stty -F /dev/ttyAMA0 9600
11. sudo reboot
12. sudo curl -L install.domoticz.com | bash

Yes I'm using RaZberry2, type OpenZWave USB with /dev/ttyAMA0 in Domoticz!

Good luck!
I'm wondering if the very same steps apply to Raspberry Pi 2. If yes, I'm guessing that in step 7 the "dtoverlay=pi3-disable-bt" added to the end of the /boot/config.txt has to be different. I wonder what it should be... what does this dtoverlay stuff mean anyway?

Thank you!

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Thursday 01 November 2018 19:02
by BazsoDombiAndras
Answering my own question, I think step 7 disables the bluetooth on RPI3, because that messes with the GPIO pins needed by the Razberry daughter card. Since RPI2 does not have bluetooth, I'm guessing that step 7 can be skipped comletely (unless something else messes with those GPIO pins on the RPI2, which is probably not the case).

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Tuesday 22 January 2019 12:11
by whawhe
Has anyone got this working with latest Raspbian Stretch?
On "step 10. sudo stty -F /dev/ttyAMA0 9600"
I get this:
stty: /dev/ttyAMA0: No such file or directory

Am I missing something? Something changed between Jessie and Stretch in regards to this?

[Update]
Solved it. had disabled the Serial port in raspi-config :oops:

Re: Domoticz, Pi3, RaZberry & Raspbian Jessie

Posted: Monday 29 July 2019 0:35
by arjenw
At all interested.
Same procedure works fine for Stretch on Beta 11059

Regards
Arjen