Announcement

Collapse
No announcement yet.

PHLocation V2 Feature requests

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by MNB View Post
    MIke I pared down you script to only include AllUsers and UsesMike and am using my PH2 Lat/Log from my iPhone... but I'm not seeing any new png file nor is my BI showing a image. I had set up an event that would trigger on Location change, but when I do a manual RUN of the event (should bypass the trigger and only run the script) looking at my HS3 Log I see the event followed with the script executing without any errors but no PNG or BlueIris image being displayed, am I missing something?
    Check out GoogleMaps API Docs for a quick example: https://developers.google.com/maps/d...s-static/intro

    eg. (and don't forget to add your api key)
    https://maps.googleapis.com/maps/api...aptype=roadmap &markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318 &markers=color:red%7Clabel:C%7C40.718217,-73.998284 &key=YOUR_API_KEY You should see a a map of NY with a few markers, if that works your google account must be good.

    Try just running the immediate script one liner with you specifying the full path to the map you want to download, something like this (not tested):
    &hs.GetURLImage("https://maps.googleapis.com","/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=60 0x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.7021 47,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318 &markers=color:red%7Clabel:C%7C40.718217,-73.998284 &key=YOUR_API_KEY", TRUE, 443, "/html/PHLocation2/Maps/Scripted-test.png")


    Comment


    • #32
      If it helps, I'm working on adding static maps back in to V2 right now.
      Should be available tomorrow.

      It will work with both Google and Mapquest and you can now specify up to 1000 x 1000 px output size.

      Paul..

      Comment


      • #33
        Mike, I found one problem, my GoogleAPI key didn't work so I request a new one and it now works with the Brooklyn bridge example within the browser also the script now creates the proper static map within the Path: /PHLocation2/Maps/Scripted-AllUsers.png.

        I still don't have BI working correctly, I noticed that you have within the BI app the following "Address: https://homeseerServer.domain.com" when I attempt execute it either within BI (Hyperlink) or within a browser I get a "404 Error - Page Not Found" error message what am I missing (so close but no cigar!)
        Computer: CUK Intel NUC7i7BNH
        Op System: Windows 10 Pro - Work Station
        HS Version: HS3 Pro Edition 3.0.0.435

        Plug-Ins: BLBackup, BLGData, BLRoombaWifi, Device History, EasyTrigger, ImperiHome, Nest, PHLocation, Pushover 3P, Restart, Sonos, UltraCID3, UltraWeatherWU3, Z-Wave, and Jon00 scripts.

        Comment


        • #34
          Originally posted by sooty View Post
          If it helps, I'm working on adding static maps back in to V2 right now.
          Should be available tomorrow.

          It will work with both Google and Mapquest and you can now specify up to 1000 x 1000 px output size.

          Paul..
          Paul, many thanks for a great PI, I can't wait until your next release (waiting with "Baited Breath"). I'm learning new things albeit slowly (I can be thick at times) with Mike Snook workaround using PHL2 in conjunction with BlueIris, Mike
          Computer: CUK Intel NUC7i7BNH
          Op System: Windows 10 Pro - Work Station
          HS Version: HS3 Pro Edition 3.0.0.435

          Plug-Ins: BLBackup, BLGData, BLRoombaWifi, Device History, EasyTrigger, ImperiHome, Nest, PHLocation, Pushover 3P, Restart, Sonos, UltraCID3, UltraWeatherWU3, Z-Wave, and Jon00 scripts.

          Comment


          • #35
            Originally posted by MNB View Post
            Mike, I found one problem, my GoogleAPI key didn't work so I request a new one and it now works with the Brooklyn bridge example within the browser also the script now creates the proper static map within the Path: /PHLocation2/Maps/Scripted-AllUsers.png.

            I still don't have BI working correctly, I noticed that you have within the BI app the following "Address: https://homeseerServer.domain.com" when I attempt execute it either within BI (Hyperlink) or within a browser I get a "404 Error - Page Not Found" error message what am I missing (so close but no cigar!)
            Oh sorry I should have said, homeseerServer.domain.com is just an example FQDN so just use whatever your Homeseer host name is or its internal IP address eg 192.168.1.50. you should be able to enter the full url into your internet browser and see the image, only when you have verified the image is being served up from HomeSeers webserver should you start with the BlueIris config Keep it simple man

            Something like this, assuming your Homeseer software is running on a PC with an IP address of 192.168.1.50 and on a non secure port 80 (if its running on another port other than 80 specify it like this 192.168.1.50 :81):

            http://192.168.1.50/phlocation2/maps...d-allusers.png

            You should be able to paste the above URL into Chrome/Firefox/IE and see the map, when you do move onto the virtual IP cam in BI using the same IP or Hostname you used in this example.

            Cheers,
            Mike

            Comment


            • #36
              That was the ticket! I now have a static Map being displayed within my BlueIris app, many thanxs for this teaching experience...
              PS For the weather radar, i download images from NWS and create a live stream from hundreds of images using ffmpeg and the Ngix RTMP streaming server to receive the stream.

              Ok, now to getting weather radar to work. Do I need to download both ffmeg - multimedia framework to decode, encode, transcode, mux, demux, stream, filter and play and Ngnix? It looks like Ngnix is a Linux S/W Server that runs on Rp? not sure how one cobbles the two together
              Computer: CUK Intel NUC7i7BNH
              Op System: Windows 10 Pro - Work Station
              HS Version: HS3 Pro Edition 3.0.0.435

              Plug-Ins: BLBackup, BLGData, BLRoombaWifi, Device History, EasyTrigger, ImperiHome, Nest, PHLocation, Pushover 3P, Restart, Sonos, UltraCID3, UltraWeatherWU3, Z-Wave, and Jon00 scripts.

              Comment


              • #37
                Originally posted by sooty View Post
                If it helps, I'm working on adding static maps back in to V2 right now.
                Should be available tomorrow.

                It will work with both Google and Mapquest and you can now specify up to 1000 x 1000 px output size.

                Paul..
                Hi Paul,

                V2 is looking fantastic. Very nice job! Your attention to detail is really kinda inspiring. Is there any chance you can ad the message panel you had in v1 to v2? I use that for all my coming/going notifications. It’s very nice as it reduces all notification to just one quite simple event.

                Also, not sure if anyone ever asked this but do you have any other plugins that you wrote that are unreleased that you think people would find useful?


                Sent from my iPhone using Tapatalk
                _______________________________________________

                HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
                Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
                Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

                Comment


                • #38
                  Originally posted by MNB View Post
                  That was the ticket! I now have a static Map being displayed within my BlueIris app, many thanxs for this teaching experience...

                  Ok, now to getting weather radar to work. Do I need to download both ffmeg - multimedia framework to decode, encode, transcode, mux, demux, stream, filter and play and Ngnix? It looks like Ngnix is a Linux S/W Server that runs on Rp? not sure how one cobbles the two together
                  Great glad you got it working. When Paul has the static maps part of PHL2 working you should probably switch over to using that to generate the maps and just rename the file names in BI, i did zero error checking in that script so its really not for full time use, i just wanted to chuck something together using my phone!

                  The weather radar is quite a bit of work, i would look into FFMpeg and play around with that for a while, the general idea is to start just generating a movie file you can play in your media player of the radar timelapse :

                  1) Download radar jpgs from a website of your choice which will represent frames of your movie.
                  2) Once downloaded use those as the input to ffpmeg and output to a movie file.

                  You can get the binary's that run on windows from here : https://ffmpeg.zeranoe.com/builds/ choose 4.1/win64/static and then download.
                  There is a ton of great information here https://www.ffmpeg.org/documentation.html

                  PS This is off topic so you should start a new thread, let me know where its at and i will help out a bit when i'm free.

                  Comment


                  • #39
                    Mike, I agree with you this topic should be new thread as it isn't directly PHL2 related but it was fun working the kinks out of today's activities. I started looking at FFMpeg and if I have further questions will open new topic. Mike
                    Computer: CUK Intel NUC7i7BNH
                    Op System: Windows 10 Pro - Work Station
                    HS Version: HS3 Pro Edition 3.0.0.435

                    Plug-Ins: BLBackup, BLGData, BLRoombaWifi, Device History, EasyTrigger, ImperiHome, Nest, PHLocation, Pushover 3P, Restart, Sonos, UltraCID3, UltraWeatherWU3, Z-Wave, and Jon00 scripts.

                    Comment


                    • #40
                      Originally posted by MNB View Post
                      Mike, I agree with you this topic should be new thread as it isn't directly PHL2 related but it was fun working the kinks out of today's activities. I started looking at FFMpeg and if I have further questions will open new topic. Mike
                      Glad you enjoyed it, that's what its all about

                      Comment


                      • #41
                        I for one would like to see BTraced supported in v2. It's one of the few Android/iOS solutions for split Droid/Fruit households.
                        My home is smarter than your honor roll student.

                        Comment


                        • #42
                          Originally posted by jlrichar View Post

                          Hi Paul,

                          V2 is looking fantastic. Very nice job! Your attention to detail is really kinda inspiring. Is there any chance you can ad the message panel you had in v1 to v2? I use that for all my coming/going notifications. It’s very nice as it reduces all notification to just one quite simple event.

                          Also, not sure if anyone ever asked this but do you have any other plugins that you wrote that are unreleased that you think people would find useful?


                          Sent from my iPhone using Tapatalk
                          Adding back the message panel is on the to do list. Hopefully within a week or so.

                          On the plug-in front:
                          The only other plug-in that I've made publicly available is PHEvoHome which is only for UK / Europe.

                          I do have a few others but they are really only my own take on plug-in's that already exist.
                          Having once had my "fingers burned" releasing a free version of a plug-in for which there were paid alternatives I'm very mindful of not going down that road again.

                          Paul..

                          Comment


                          • #43
                            Originally posted by Mr_Resistor View Post
                            I for one would like to see BTraced supported in v2. It's one of the few Android/iOS solutions for split Droid/Fruit households.
                            I didn't add BTraced in V2 because I didn't think anyone was using it and I'm not sure if it can be done through the HS3 web server / MyHS.

                            I'll re-visit the subject and see if it can be done.

                            Paul..

                            Comment

                            Working...
                            X