Announcement

Collapse
No announcement yet.

Thought of and request for consideration of another plugin.

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

    Thought of and request for consideration of another plugin.

    I can do some webpage design, but I have no idea how to enable a webpage to talk to HSx and I have no idea how to get HSx to talk back. I assume this is PI territory and most likely the minimum of a PI so that the API could be accessed. Is this doable through JSON? Is some sort of "connector," for want of a better word, a viable project?
    HomeSeer Version: HS4 Pro Edition 4.2.18.1
    Operating System: Microsoft Windows 10 Pro - Desktop
    Z-Wave Devices via two Z-Net G3s
    Zigbee Devices via RaspBee on RPi 3b+
    WiFi Devices via Internal Router.

    Enabled Plug-Ins
    AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

    #2
    What kind of web server are you using for your pages?
    tenholde

    Comment


      #3
      Inside, I have Apache (WAMP). I'm not sure I want the headache of security administration, but I have an outside page on a hosting company, which is xNIX based Apache. That would be nice for a weather page.
      HomeSeer Version: HS4 Pro Edition 4.2.18.1
      Operating System: Microsoft Windows 10 Pro - Desktop
      Z-Wave Devices via two Z-Net G3s
      Zigbee Devices via RaspBee on RPi 3b+
      WiFi Devices via Internal Router.

      Enabled Plug-Ins
      AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

      Comment


        #4
        Here is some code to connect to HS from another app. http://tenholder.net/tenWare2/tenHs4...HsConnect.aspx

        I use ms iis to do so for web pages, and would be glad to share that code if it would help. Same concept.
        tenholde

        Comment


          #5
          If you are worried about security, one option is to construct a weather page image/widget (similar to my banner below) which you update/upload on a regular interval. No connection to HS required.
          Jon

          Comment


            #6
            Originally posted by tenholde View Post
            Here is some code to connect to HS from another app. http://tenholder.net/tenWare2/tenHs4...HsConnect.aspx

            I use ms iis to do so for web pages, and would be glad to share that code if it would help. Same concept.
            Thank You! Thus far, Visual Studio has, for the most part, beaten me into submission (and stymied my attempts at tenScripting). I do have it loaded on my computer, but don't know how to install a project. Any helpful hints (or directions toward documentation) on how to do this, so I can look at it and see if this is above my pay grade or not? The possibilities are certainly exciting.

            Revision:
            I got the Solution loaded, updated the .Net Framework Developer Pack to 4.6.2, and I can see the files in Visual Studio. Where should I go from here?
            HomeSeer Version: HS4 Pro Edition 4.2.18.1
            Operating System: Microsoft Windows 10 Pro - Desktop
            Z-Wave Devices via two Z-Net G3s
            Zigbee Devices via RaspBee on RPi 3b+
            WiFi Devices via Internal Router.

            Enabled Plug-Ins
            AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

            Comment


              #7
              Originally posted by jon00 View Post
              If you are worried about security, one option is to construct a weather page image/widget (similar to my banner below) which you update/upload on a regular interval. No connection to HS required.
              Awesome solution! Now, my only challenge is getting the info out of HS4. Thanks!
              HomeSeer Version: HS4 Pro Edition 4.2.18.1
              Operating System: Microsoft Windows 10 Pro - Desktop
              Z-Wave Devices via two Z-Net G3s
              Zigbee Devices via RaspBee on RPi 3b+
              WiFi Devices via Internal Router.

              Enabled Plug-Ins
              AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

              Comment


                #8
                Originally posted by ewkearns View Post

                Awesome solution! Now, my only challenge is getting the info out of HS4. Thanks!
                Mine is ftp'd to my web host every minute....Should not need that duration for weather though.

                https://forums.homeseer.com/forum/3r...r-3-homeseer-4
                Jon

                Comment


                  #9
                  Originally posted by jon00 View Post
                  If you are worried about security, one option is to construct a weather page image/widget (similar to my banner below) which you update/upload on a regular interval. No connection to HS required.
                  Thanks, Jon! You certainly have sent me to the drawing board. I got it partially working last night, but Morpheus got the better of me and I think I'll have a better chance, this morning, with less droopy eyelids...
                  HomeSeer Version: HS4 Pro Edition 4.2.18.1
                  Operating System: Microsoft Windows 10 Pro - Desktop
                  Z-Wave Devices via two Z-Net G3s
                  Zigbee Devices via RaspBee on RPi 3b+
                  WiFi Devices via Internal Router.

                  Enabled Plug-Ins
                  AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

                  Comment


                    #10
                    If you are finding this difficult or want more complex designs, another option in the same vein is to take a screenshot of a web page showing the weather from Homeseer. I'll push HSTile to design the page but there may be methods to take screenshots of say HSTouch etc.
                    Jon

                    Comment


                      #11
                      Originally posted by jon00 View Post
                      If you are finding this difficult or want more complex designs, another option in the same vein is to take a screenshot of a web page showing the weather from Homeseer. I'll push HSTile to design the page but there may be methods to take screenshots of say HSTouch etc.
                      Thanks, Jon! After a good night's sleep, it didn't take long to have a fully functional first draft this morning. I'll probably wait until Monday to wrestle with the FTP part, but I have it fleshed out in a script.

                      I expected some text sizing problems as this is a file inside of a <div> in a liquid layout, but thus far I think everything works perfectly.

                      PS
                      One thing I couldn't find was the ability to include device state icons in lieu of text for simple things like battery condition. Did I miss that?
                      HomeSeer Version: HS4 Pro Edition 4.2.18.1
                      Operating System: Microsoft Windows 10 Pro - Desktop
                      Z-Wave Devices via two Z-Net G3s
                      Zigbee Devices via RaspBee on RPi 3b+
                      WiFi Devices via Internal Router.

                      Enabled Plug-Ins
                      AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

                      Comment


                        #12
                        Originally posted by ewkearns View Post

                        PS
                        One thing I couldn't find was the ability to include device state icons in lieu of text for simple things like battery condition. Did I miss that?
                        No, I can't see why a tag cannot be created to be used with the AddImage Action. I'll take a look.

                        Edit: Looking at the code, it appears to be there. Try [deviceimage 1234] (where 1234 is the ref number) as the Path for the AddImage action.
                        Jon

                        Comment


                          #13
                          Originally posted by jon00 View Post

                          No, I can't see why a tag cannot be created to be used with the AddImage Action. I'll take a look.

                          Edit: Looking at the code, it appears to be there. Try [deviceimage 1234] (where 1234 is the ref number) as the Path for the AddImage action.
                          I've just tested but it looks like there is a bug with the [deviceimage] tag. Please download V1.0.2 which corrects the issue.
                          Jon

                          Comment


                            #14
                            Thanks, Jon, I've been busy, but I'll check it....
                            HomeSeer Version: HS4 Pro Edition 4.2.18.1
                            Operating System: Microsoft Windows 10 Pro - Desktop
                            Z-Wave Devices via two Z-Net G3s
                            Zigbee Devices via RaspBee on RPi 3b+
                            WiFi Devices via Internal Router.

                            Enabled Plug-Ins
                            AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

                            Comment


                              #15
                              Originally posted by ewkearns View Post
                              Thanks, Jon, I've been busy, but I'll check it....
                              OK, finally got back to this, today. Everything works perfectly! Thank you so much for all that you do. I, now, have a much better index page! I may have some FTP questions, but I haven't as yet delved into that. Thanks, again!

                              PS
                              Another huge KUDO for the complete and thorough documentation. It is refreshing. Would it be possible to add pagination? (For a moment, you brought back memories of my younger days, when I dropped a stack of punch cards. They didn't have page numbers either, but I don't remember the floor being as far away, then, either....)
                              HomeSeer Version: HS4 Pro Edition 4.2.18.1
                              Operating System: Microsoft Windows 10 Pro - Desktop
                              Z-Wave Devices via two Z-Net G3s
                              Zigbee Devices via RaspBee on RPi 3b+
                              WiFi Devices via Internal Router.

                              Enabled Plug-Ins
                              AK Weather 4.0.5.37,AmbientWeather 3.0.1.9,Big6 3.34.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 3.3.1.0,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 3.30.1003.1,JowiHue 4.0.8.7,LG ThinQ 4.0.24.0,rnbWeather 4.4.0.0,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 3.0.11.0 2

                              Comment

                              Working...
                              X