Announcement

Collapse
No announcement yet.

Z-Wave Lock Events Script - Discussion Thread

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

    Originally posted by gearyt View Post

    what do I do next ?
    Go to the web page to configure it: http://www.xxx.yyy.zzz/doorlock.aspx

    replace www.xxx.yyy.zzz with the ip address of your HS system.
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      threw up...
      Attached Files
      Ubuntu on the Intel NUC ( 8i5BEK ), 32 G, 250G SSD, V4 Pro 😎

      Comment


        Originally posted by gearyt View Post
        threw up...
        Can you confirm if there is a Newtonsoft.Json.dll file in the /opt/HomeSeer_V4/bin/homeseer folder? If so, then change your settings.ini file to include a reference to it:

        Code:
        [settings]
        ScriptingReferences=System.Data.SQLite;/opt/HomeSeer_V4/Bin/System.Data.SQLite.dll,Newtonsoft.Json;/opt/HomeSeer_V4/Bin/homeseer\Newtonsoft.Json.dll
        Case is important in linux so make sure the paths use the exact case of the files and folders on your system.
        HS 4.2.8.0: 2134 Devices 1252 Events
        Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

        Comment


          new years day, and I am at work, will check it out tonight
          Happy New Years !!

          Geary
          Ubuntu on the Intel NUC ( 8i5BEK ), 32 G, 250G SSD, V4 Pro 😎

          Comment


            Originally posted by gearyt View Post
            threw up...
            The error looks like the common failure you get with the ASPX web pages under Mono.

            Try loading /test.aspx rather than /doorlock.aspx

            If that fails, try the following:

            Code:
            install -p /usr/bin/vbc /usr/bin/vbnc
            Alternatively, you can also navigate to the usr/bin folder. In that folder is the file vbnc. Open vbnc in an editor and change vnbc.exe to vbc.exe
            Jon

            Comment


              Thanks guys... will try changes when I get home
              G
              Ubuntu on the Intel NUC ( 8i5BEK ), 32 G, 250G SSD, V4 Pro 😎

              Comment


                Originally posted by sparkman View Post

                Can you confirm if there is a Newtonsoft.Json.dll file in the /opt/HomeSeer_V4/bin/homeseer folder? If so, then change your settings.ini file to include a reference to it:

                Code:
                [settings]
                ScriptingReferences=System.Data.SQLite;/opt/HomeSeer_V4/Bin/System.Data.SQLite.dll,Newtonsoft.Json;/opt/HomeSeer_V4/Bin/homeseer\Newtonsoft.Json.dll
                Case is important in linux so make sure the paths use the exact case of the files and folders on your system.
                YEP, tis there
                Ubuntu on the Intel NUC ( 8i5BEK ), 32 G, 250G SSD, V4 Pro 😎

                Comment


                  Originally posted by jon00 View Post

                  The error looks like the common failure you get with the ASPX web pages under Mono.

                  Try loading /test.aspx rather than /doorlock.aspx

                  If that fails, try the following:

                  Code:
                  install -p /usr/bin/vbc /usr/bin/vbnc
                  Alternatively, you can also navigate to the usr/bin folder. In that folder is the file vbnc. Open vbnc in an editor and change vnbc.exe to vbc.exe
                  failed. ... installing pkg
                  Ubuntu on the Intel NUC ( 8i5BEK ), 32 G, 250G SSD, V4 Pro 😎

                  Comment


                    Originally posted by gearyt View Post

                    failed. ... installing pkg
                    yep, that did it... !! Thanks
                    geary
                    Ubuntu on the Intel NUC ( 8i5BEK ), 32 G, 250G SSD, V4 Pro 😎

                    Comment


                      Hey,
                      Upgraded to HS4, Windows 10, I downloaded the new versions, and removed my ini file figured I'd start from scratch. IN HS3, I remember I had the ability to go to Doorlock through the web interface but I couldn't find it, so I tried going to http://x.x.x.x/doorlock.aspx and I keep getting a compile error:

                      Can anyone help? Thanks

                      edit: if I try to run /test.aspx I get the same error
                      Edit#2 Never mind, I got it working, since I'm using scheduled tasks I had to put in "start in" Directory

                      Code:
                      Server Error in '/' Application.
                      Compilation Error
                      Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
                      
                      Compiler Error Message: The compiler failed with error code 1.
                      
                      
                      Show Detailed Compiler Output:
                      
                      C:\Windows\system32> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\assembly\dl3\1c619f2e\00f8ade9_ 5b75cf01\System.Data.SQLite.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\assembly\dl3\864dc6d1\006315bb_ 0985c801\Anthem.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Compone ntModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\Syste m.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing \v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4. 0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Service Model\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll " /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\assembly\dl3\56111580\009b4a85_ 104ed501\HSCF.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime .Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime .Serialization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Lin q\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Service Model.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel .Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Dyn amicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicDa ta.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0 _4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\App_global.asax.m9hceeh3.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\assembly\dl3\9f77d7a2\00e68f22_ fc3cd701\HomeSeerUtil.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4 .0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Workflo wServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServ ices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Ext ensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions .dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configu ration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.d ll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Enterpris eServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseSe rvices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Ser vices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll " /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_ 4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Identit yModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.d ll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Service Model.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.Servi ceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4. 0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSha rp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Service Model.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Servi ceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\assembly\dl3\262caeeb\0083d6b3_ b28ad601\HomeSeerAPI.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.App licationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.A pplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activit ies\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Da taSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.D ataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\assembly\dl3\f1c471ed\00f4b629_ fc3cd701\Scheduler.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\App_Web_doorlock.aspx.cdcab7d2. z7rvnpus.dll" /debug- /nowarn:41008,40000,40008 /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,Syst em.Collections.Generic,System.Collections.Specialized,System .ComponentModel.DataAnnotations,System.Configuration,System. Linq,System.Text,System.Text.RegularExpressions,System.Web,S ystem.Web.Caching,System.Web.DynamicData,System.Web.SessionS tate,System.Web.Security,System.Web.Profile,System.Web.UI,Sy stem.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,S ystem.Web.UI.HtmlControls,System.Xml.Linq /warnaserror- /optionInfer+ "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\App_Web_doorlock.aspx.cdcab7d2. z7rvnpus.0.vb" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\9ec7fdb2\db74ae4b\App_Web_doorlock.aspx.cdcab7d2. z7rvnpus.1.vb"
                      
                      
                      Microsoft (R) Visual Basic Compiler version 14.8.4084
                      for Visual Basic 2012
                      Copyright (c) Microsoft Corporation. All rights reserved.
                      
                      This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241
                      
                      D:\Program Files (x86)\HomeSeer HS3\html\doorlock.aspx(7) : error BC30009: Reference required to assembly 'PluginSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'HomeSeer.PluginSdk.IHsController'. Add one to your project.
                      
                      Dim hs As Scheduler.hsapplication
                      ~~~~~~~~~~~~~~~~~~~~~~~
                      
                      
                      
                      Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4330.0

                      Comment


                        Is there anyway to use Telegram for notifications instead of Pushover? I recently changed over to use @stefxx's Telegram's plugin.


                        Thanks,

                        Comment


                          This plugin is truly amazing.
                          I have read this entire thread and appreciate the work sparkman has put in.
                          I was wondering if it is possible to have Alexa TTS make the announcements instead of the Homeseer Speaker Client.
                          Any ideas?

                          Comment


                            Originally posted by philbert View Post
                            This plugin is truly amazing.
                            I have read this entire thread and appreciate the work sparkman has put in.
                            I was wondering if it is possible to have Alexa TTS make the announcements instead of the Homeseer Speaker Client.
                            Any ideas?
                            One option: https://forums.homeseer.com/forum/3r...r-3-homeseer-4
                            Jon

                            Comment


                              Originally posted by sparkman View Post
                              goldriver Can you try the attached version? It looks like something (minor) broke with the Pushover integration when the script was sorting the Pushover sounds alphabetically. This removes that sorting. Overwrite the doorlock.aspx file in the \html folder with the one in the zip file. doomngloom, can you try it as well and show what your Pushover settings look like?
                              I had the same issue with Doorlock,aspx on HS3 after installing the Pushover plugin this afternoon.
                              The updated .aspx file from Sparkman did the trick- thanks!
                              DSteiNeuro

                              HS3Pro

                              MSI Cubi Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2201 Mhz, 2 Core(s), 4 Logical Processor(s) 16GB DDRl RAM

                              Enabled Plug-Ins
                              BLRussound, BLSpeech, HSTouch Server, JowiHue, MyQ, Nest, Rain8, Squeezebox, Ultra1Wire3, UltraGCIR3, Vista Alarm, X10,Z-Wave

                              Comment


                                Originally posted by doomngloom View Post
                                So figured out the issue. Its not with your script. My Happy has a new version of the plugin that has some changes but isn't released on the plugins page. For those that want it here is a link. I should also note He isn't really supporting the PI in HS4. he is making updates at best effort though. I shouldve looked at the plugin page before this but i incorrectly assumed it was fine since the other pushover stuff was going out.

                                https://forums.homeseer.com/forum/ho...92#post1435192

                                Thanks a bunch for all your help sparkman
                                Thanks, this fixed my issue as well (HS3), 2 years later
                                DSteiNeuro

                                HS3Pro

                                MSI Cubi Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2201 Mhz, 2 Core(s), 4 Logical Processor(s) 16GB DDRl RAM

                                Enabled Plug-Ins
                                BLRussound, BLSpeech, HSTouch Server, JowiHue, MyQ, Nest, Rain8, Squeezebox, Ultra1Wire3, UltraGCIR3, Vista Alarm, X10,Z-Wave

                                Comment

                                Working...
                                X