Announcement

Collapse
No announcement yet.

I have a PI and RAZberry ZWave interface can I build my own Z-NET

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I have a PI and RAZberry ZWave interface can I build my own Z-NET

    I am running HS2 Pro on XP with 15 zwave nodes on a stick.

    I have been thinking its time to upgrade the PC and move from HS2 Pro to HS3Pro since I am stability problems with the PC.

    Furthermore, my 15 nodes are spread all over the large single story house including some nodes in the yard, with very limited signal range due to being housed inside weather housings for protection from the elements which of course drop off for no reason periodically.

    I am a tinkerer and I bought a couple of raspberry PI's model "B" about 6 months ago to play with for other things. Last week I bought a RAZberry ZWave interface to use as a troubleshooting tool. But now I am thinking I may want to build a Z-NET device and extend my network so I can get my PC out of my HOT garage since it's crashing on hot days.

    Is there anything special I need to do my Raspberry Pi with ZWave interface to get it to work as a Z-NET device?

    #2
    Originally posted by Johnnylawless View Post
    I am running HS2 Pro on XP with 15 zwave nodes on a stick.

    I have been thinking its time to upgrade the PC and move from HS2 Pro to HS3Pro since I am stability problems with the PC.

    Furthermore, my 15 nodes are spread all over the large single story house including some nodes in the yard, with very limited signal range due to being housed inside weather housings for protection from the elements which of course drop off for no reason periodically.

    I am a tinkerer and I bought a couple of raspberry PI's model "B" about 6 months ago to play with for other things. Last week I bought a RAZberry ZWave interface to use as a troubleshooting tool. But now I am thinking I may want to build a Z-NET device and extend my network so I can get my PC out of my HOT garage since it's crashing on hot days.

    Is there anything special I need to do my Raspberry Pi with ZWave interface to get it to work as a Z-NET device?
    You would need a Linux distro and the software to allow HomeSeer to see the GPIO card through a Ethernet Interface. There's the rub, the software is supplied with the Z-Net, but not available separately.
    HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

    Comment


      #3
      Originally posted by Johnnylawless View Post
      I am running HS2 Pro on XP with 15 zwave nodes on a stick.

      I have been thinking its time to upgrade the PC and move from HS2 Pro to HS3Pro since I am stability problems with the PC.

      Furthermore, my 15 nodes are spread all over the large single story house including some nodes in the yard, with very limited signal range due to being housed inside weather housings for protection from the elements which of course drop off for no reason periodically.

      I am a tinkerer and I bought a couple of raspberry PI's model "B" about 6 months ago to play with for other things. Last week I bought a RAZberry ZWave interface to use as a troubleshooting tool. But now I am thinking I may want to build a Z-NET device and extend my network so I can get my PC out of my HOT garage since it's crashing on hot days.

      Is there anything special I need to do my Raspberry Pi with ZWave interface to get it to work as a Z-NET device?
      I think you may find that the RAZberry board and the Express Controls board used in the Z-Net are quite different pieces of hardware.

      Paul..

      Comment


        #4
        Well you can use Zee-2 with the GPIO Z-Wave Plus card as Homeseer 3 includes all of the drivers. I have it set up like this today.

        I have also just run the drivers (not HS3) and remotely connected to the Homeseer 3 Pro box running in Linux. While this way different than the ZNet device it does offer a portable via POE put anywhere Z-wave device. IE: today I am trying to melt my Zee-2 box in the attic.

        IE: all of this stuff though is DIY'd; therefore there is no support for methodologies and use of with Homeseer 3 and if you want to try you can brick you RPi2 is you mispin installation of the GPIO card. (here use stacked GPIO cards). Done correctly you should be OK. Software wise it is a non issue; if you correctly install the base RPi2 drivers. Note too that the hardware drivers have nothing to do with the HS3 software drivers; sort of.

        Here is a picture of the two modes (IE: local and remote).

        ICS-RPi2-Zee:/HomeSeer# mono HSPI_ZWave.exe server=192.168.244.171
        Connecting to server at 192.168.244.171...
        Connected, waiting to be initialized...
        Attached Files
        Last edited by Pete; August 15, 2015, 05:01 PM.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment


          #5
          Thanks Pete I will give this a go and see what happens.

          Comment


            #6
            Shut off Homeseer and keep it off for a bit.

            SSH to your RPi2 and type this. Copy and paste what you see here. Here is what I see with my Z-Wave RPi2.

            Noted that I have a Pi-Face RTC clock stacked over the Z-Wave + GPIO card and a 1-Wire network USB to serial device attached to the RPi2.

            I do not utilize a wireless 802.11X stick. (personally it will cause you more grief than help you).

            That said note that if the draw of a device like this is over 100 mA's on the USB bus it will cause you issues and I would recommend downsizing the device to some tiny USB WLAN stick or not using it at all.

            Here I utilize a wired POE connection to the RPi2.

            I am guessing you are comfortable with using SSH, nano and your RPi2 Linux in general. (if you are not comfortable doing this don't do it).

            RPi2-Zee:~# dmesg | grep tty

            [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0x2a21041 bcm2709.serial=0xe8953dca smsc95xx.macaddr=B8:27:EB:95:3D:CA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3ea00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Reboot
            [ 0.001213] console [tty1] enabled
            [ 0.667472] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3 * Z-Wave GPIO card.
            [ 2.679529] usb 1-1.4: ch341-uart converter now attached to ttyUSB0

            If you see a line like the one below to the above then it means that your console is using the console serial port and we have to adjust this for the GPIO card instead of the GPIO card.

            [ 1.268971] console [ttyAMA0] enabled

            Here is your set up stuff. Test what you do here via a reboot and SSH.

            1 - type the following in sudo su or logged in as root.

            rm -rf /boot/cmdline.txt

            2 - type this:

            echo 'dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Reboot' >> /boot/cmdline.txt

            3 - type this:

            chmod 777 /boot/cmdline.txt

            4 - type this:

            sed -i '/ttyAMA0 115200 vt100/d' /etc/inittab

            5 - type this:

            reboot

            6 - on reboot and ssh type this:

            dmesg | grep tty

            7 - you should see what I printed above.

            Start Homeseer and configure your Z-Wave stuff.
            Last edited by Pete; August 16, 2015, 05:29 AM.
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment


              #7
              Pete, Love it. Very comfortable with Linux command line, SSH and VI/text editors. I have a sub wifi adapter from edimax. I will give this a try. Very helpful.

              Comment


                #8
                Good news!

                Its been a while here since using VI. That said I did initially utilize it for the Securifi stuff and a while ago to try to fix an old Sun Solaris box that just keep working fine for many many years.
                - Pete

                Auto mator
                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                Comment


                  #9
                  Pete,

                  I finally got a little time to myself and I am working on the Raspberry Pi. So I did mention this is not a Pi2 but a just a regular "B" model. Will it still work?

                  Btw, I just started downloading and extracting the file system to the raspberry pi after following the Pi2 instructions of dropping on the boot loader onto the SD card.

                  I guess I will find out before you reply at this rate.

                  Comment


                    #10
                    Will it still work?
                    Yeah the image posted by Rob and Homeseer is for an RPI2.

                    Thinking I did read somewhere that the Wheezy images out in internetlandia work with both the RPi and RPi2.

                    So by now you will know. I am guessing though that if you used the images here it did not work.

                    The whole GPIO thing does though work with the RPi. So maybe you can get Homeseer to run on it. It will be a bit slow though.
                    - Pete

                    Auto mator
                    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                    Comment


                      #11
                      Well, here is an update. It's running on the Raspberry Pi v1 Model B. At least the homeseer web server. I was able to log into the console successfully. I was able to access the HS3 web server on the Raspberry Pi and shutdown the homeseer using the web server interface.

                      The dmesg dev:f1 ttyAMAO at MMIO 0x20.... appears in the dmesg log.

                      I ALSO see the console [tty1] enabled

                      So I think I am okay.... maybe.

                      Do I move to Step 1 you listed above?

                      Comment


                        #12
                        I have a PI and RAZberry ZWave interface can I build my own Z-NET

                        Here is the actual dmesg log.

                        [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1872 bcm2708_fb.fbheight=1168 bcm2708.boardrev=0xe bcm2708.serial=0x36c7b2e0 smsc95xx.macaddr=B8:27:EB:C7:B2:E0 bcm2708_fb.fbswap=1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait

                        [ 0.001411] console [tty1] enabled

                        [ 0.646130] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3

                        SSH is fully functioning as well. I was able to log in and collect this dmesg info from the connection.

                        Find.homeseer.com finds it fine, registered as the following:
                        System Name System. Maintenance
                        HomeTrollerZeeS2 192.168.1.35. 192.168.1.35:911


                        The system seems to be pretty snappy right now but there's no z-wave devices registered and communicating yet so that may be impacted quickly.

                        Is Step 1 next?
                        Last edited by Johnnylawless; August 21, 2015, 12:00 AM.

                        Comment


                          #13
                          Good news Johnnylawless.

                          Pick the ttyAMA0 device for your Z-Wave controller.

                          If all is well it will show the firmware et al of the GPIO device.

                          Start by adding one node. Personally here started from scratch removing the nodes from the Z-Troller/Aeon stick.

                          After a few devices try doing a scan and optimize of the network.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                          Comment


                            #14
                            I have a PI and RAZberry ZWave interface can I build my own Z-NET

                            Okay just want to clarify a couple of points. My HS3 box is not yet running so will this work with HS2 configuring the controller as Ethernet with port 2001 for testing or will this only work with HS3?

                            Once connected as a controller I assume we are not starting the Z-NETs HS3 software again. So should we disable it?
                            Last edited by Johnnylawless; August 21, 2015, 08:16 AM.

                            Comment


                              #15
                              My HS3 box is not yet running so will this work with HS2 configuring the controller as Ethernet with port 2001 for testing

                              no

                              or will this only work with HS3?

                              Yes

                              You have me lost. The only Z-Wave Plus (+) drivers are in Homeseer 3 and Z-Net device.

                              I do not know anything about running Homeseer 2 with Z-Wave + drivers but guessing right now that that will not work.


                              Z-Net is a Homeseer propietary linux software / linux build sold on the Z-Net device.

                              The Z-Wave + GPIO card does not turn your RPi in to a Z-Net device.

                              The Z-Net device talks to Homeseer 3 running in Linux or Wintel or iOS.
                              Last edited by Pete; August 21, 2015, 09:14 AM.
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                              Comment

                              Working...
                              X