No announcement yet.

VB scripts will not run on out-of-the-box ZEE S2

  • Filter
  • Time
  • Show
Clear All
new posts

    VB scripts will not run on out-of-the-box ZEE S2

    Immediate Command Scripts produce well formed VB scripts in /tmp but they produce the below error. Same error if script is run by an event from Homeseer/scripts. As you can see even Startup.vb doesn't run. If I am interpreting the error message correctly, it looks like vbnc can't be found. Startup.vb is in Homeseer/scripts as it should be. I am new to Linux so to debug I am learning as I go, but this doesn't seem right for a new product out of the box. How do I determine if vbnc is present? Help would be appreciated.
    Nov-23 12:55:37 PM Error Compiling script Startup.vb: Error running vbnc: Cannot find the specified file
    Nov-23 12:55:37 PM Startup Running the startup script Startup.vb
    Nov-23 9:25:12 PM Error Compiling script /tmp/K1.vb: Error running vbnc: Cannot find the specified file
    Nov-23 9:25:12 PM Event Running script statement immediately: &hs.OpenComPort 0,"115200,N,8,1",1,"",""

    running command printenv SUDO_GID=0 MAIL=/var/mail/root USER=root HOME=/root OLDPWD=/ SUDO_UID=0 LOGNAME=root TERM=linux USERNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 SUDO_COMMAND=/usr/local/HomeSeer/autostart_hs SHELL=/bin/bash SUDO_USER=root PWD=/usr/local/HomeSeer
    Current Date/Time: 11/24/2018 10:26:48 AM
    HomeSeer Version: HS3 ZEE S2 Edition
    Linux version: Linux HomeTrollerZeeS2V5 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux System Uptime: 0 Days 21 Hours 31 Minutes 13 Seconds
    IP Address:
    Number of Devices: 5
    Number of Events: 2
    Available Threads: 399
    HSTouch Enabled: True
    Event Threads: 0
    Event Trigger Eval Queue: 0
    Event Trigger Priority Eval Queue: 0
    Device Exec Queue: 0
    HSTouch Event Queue: 0
    Email Send Queue: 0
    Anti Virus Installed:

    Enabled Plug-Ins Z-Wave

    To verify that the mono-vbnc package is installed correctly
    dpkg -V mono-vbnc
    Same for mono-complete
    dpkg -V mono-complete


      vbnc is evidently not installed:

      /usr/local/HomeSeer/scripts$ dpkg -V mono-vbnc
      dpkg: package 'mono-vbnc' is not installed

      /usr/local/HomeSeer/scripts$ dpkg -V mono-complete
      dpkg: package 'mono-complete' is not installed

      That's what I suspected. Thanks for teaching me the the dpkg command. Now how do I get VB? What's the difference between mono-vbnc and mono-complete?


        Wow this has to be a first, amazing this is even possible...

        Assuming nothing else is broken, you can install with these commands

        sudo apt-get update
        sudo apt-get -y install mono-complete mono-vbnc


          sudo apt-get -y install mono-complete mono-vbnc what is the -y switch? I can't seem to find documentation on it.


            Thanks, all. Seems to be working after following zwolfpacks install instructions.


              From command 'man apt-get' ...

                     -y, --yes, --assume-yes
                         Automatic yes to prompts; assume "yes" as answer to all prompts and
                         run non-interactively. If an undesirable situation, such as
                         changing a held package, trying to install a unauthenticated
                         package or removing an essential package occurs then apt-get will
                         abort. Configuration Item: APT::Get::Assume-Yes.
              Most Linux commands are pretty well documented in the man pages.