Announcement

Collapse
No announcement yet.

Blue Iris - Custom models CodeProject

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

    Blue Iris - Custom models CodeProject

    Not really an HS Question, I'm trying to follow IP Cam Talks forums and I have noticed that there are few people from HomeSeer. Few HS users where able to use the custom Delivery.ps to know if there was a delivery from USPS, UPS and Amazon. Hopefully, if any of those are reading this post may jump in and try to help :-) because to be honest I'm confused on how to do it.

    Thanks

    #2
    Following

    Comment


      #3
      Following too...I finally got the yolov5l AI model to trigger on a person only in certain front house zones. Works perfectly no false triggers anymore. That delivery model looks interesting though

      Comment


        #4
        Great, it looks like that we have few users following codeproject, I will post here if I find anything interesting that I can share

        Sent from my SM-S906U using Tapatalk

        Comment


          #5
          Following. Do you have Blue Iris able to trigger HS events and vice versa? I had the Blue Iris plugin and it worked awesome, but has not been updated. I am not using MQTT which is a bit more laborious but it works ok.
          HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

          Plug-Ins Enabled:
          Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
          weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

          Comment


            #6
            Sounds interesting. I did see someone using Node Red and some server in the US using AI to recognise people. That seemed to work well but looked complicated, but I was going to look into this once I have more experience with Node Red. I am using Blue Iris, but did find it very basic, and it has not had any update. I think it has been abandoned.

            Comment


              #7
              There is a post here about using a JSON call in a script but I was unable to make it work.

              Sent from my SM-S906U using Tapatalk

              Comment


                #8
                Originally posted by wpiman View Post
                Following. Do you have Blue Iris able to trigger HS events and vice versa? I had the Blue Iris plugin and it worked awesome, but has not been updated. I am not using MQTT which is a bit more laborious but it works ok.
                I have Blue Iris triggering HS4 virtual devices on and off setup from the BI Alert/Actions/Web Request tab. In HS4 I run events based on device changes. Works perfectly.

                Example to change device status:
                PHP Code:
                http://192.168.0.3:82/JSON?request=controldevicebyvalue&ref=4111&value=100 
                You can do events as well:
                PHP Code:
                http://192.168.0.3:82/JSON?request=runevent&name=EVENTNAME 



                For the opposite I use HS4 immediate script event to instruct Blue Iris.

                Example to have my camera change to preset 5:
                PHP Code:
                &hs.URLAction("http://192.168.0.3:82/admin?camera=FrontCAM&preset=5&user=xxxxx&pw=xxxxxxxxxxx""GET""""")​ 

                Comment


                  #9
                  For some reason I'm using this but is not working for me
                  &hs.URLAction("http://192.168.0.57:8057/admin?camera=Front&enable=0&user=XXXX&pw=XXXXXX", "GET", " ", " ")​ can you please try on your system? I would like to disable a camera

                  Comment


                    #10
                    Originally posted by will40 View Post

                    I have Blue Iris triggering HS4 virtual devices on and off setup from the BI Alert/Actions/Web Request tab. In HS4 I run events based on device changes. Works perfectly.

                    Example to change device status:
                    PHP Code:
                    http://192.168.0.3:82/JSON?request=controldevicebyvalue&ref=4111&value=100 
                    You can do events as well:
                    PHP Code:
                    http://192.168.0.3:82/JSON?request=runevent&name=EVENTNAME 



                    For the opposite I use HS4 immediate script event to instruct Blue Iris.

                    Example to have my camera change to preset 5:
                    PHP Code:
                    &hs.URLAction("http://192.168.0.3:82/admin?camera=FrontCAM&preset=5&user=xxxxx&pw=xxxxxxxxxxx""GET""""")​ 
                    That looks about as laborious as the MQTT method giving you the same results. The only advantage with MQTT I can tell over that is that you just need to enable it on Blue Iris and then Homeseer can run the show. You can just subscribe to each camera as it is published.

                    Probably not worth changing over if it is working for you.

                    I'll check out this BI delivery.ps script over the holiday. Looks cool.
                    HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

                    Plug-Ins Enabled:
                    Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
                    weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

                    Comment


                      #11
                      Originally posted by alphatech View Post
                      For some reason I'm using this but is not working for me
                      &hs.URLAction("http://192.168.0.57:8057/admin?camera=Front&enable=0&user=XXXX&pw=XXXXXX", "GET", " ", " ")​ can you please try on your system? I would like to disable a camera
                      &hs.URLAction("http://192.168.0.57:8057/admin?camera=Front&enable=0&user=XXXX&pw=XXXXXX", "GET", " ", " ")​


                      yes it works for me but you need to remove the spaces between the quotes after "GET" and should work ok for you , "GET", "", ""

                      Comment


                        #12
                        Originally posted by wpiman View Post

                        That looks about as laborious as the MQTT method giving you the same results. The only advantage with MQTT I can tell over that is that you just need to enable it on Blue Iris and then Homeseer can run the show. You can just subscribe to each camera as it is published.

                        Probably not worth changing over if it is working for you.

                        I'll check out this BI delivery.ps script over the holiday. Looks cool.
                        Not labor intensive for me at all. In fact the MQTT looks more challenging to me with clients, brokers, publishing, etc...I realize its the future and works for many other applications as well and someday I should probably get the MQTT for Dummies book. At this point I have enough trouble at my age trying to remember how everything else works on my HA system

                        And don't get me started on restoring issues after power failures . Hope you guys did ok after yesterday

                        Comment


                          #13
                          Funny, I know it should work this is what I'm getting 12/24/2022 11:13:54 AM
                          HomeSeer
                          Error
                          Running script(2) &hs.URLAction("http://192.168.0.57:8057/admin?camera=StackFront&enable=0&user=XXX&pw=XXXXX", "GET", "", "")​, init error: Invalid character​

                          Comment


                            #14
                            Strange...if you have camera presets you can try running this direct from your browser as it works for me. My result returns an OK to Chrome and the camera does go to Preset 2. I tried the enable=0 but it does not work from my browser.

                            http://192.168.0.57:8057/cam/StackFront/preset=2 (not sure why I have the /cam path its been a while since I first tried this but it works.

                            I also see from reading that if Blue Iris is run as a service things don't function the same as they do when run locally

                            Comment


                              #15
                              Originally posted by will40 View Post

                              Not labor intensive for me at all. In fact the MQTT looks more challenging to me with clients, brokers, publishing, etc...I realize its the future and works for many other applications as well and someday I should probably get the MQTT for Dummies book. At this point I have enough trouble at my age trying to remember how everything else works on my HA system

                              And don't get me started on restoring issues after power failures . Hope you guys did ok after yesterday
                              Yes, getting MQTT setup the first time is difficult. But once you get past that, adding stuff is easy. ex. if I were to add a camera, it would just show up in the MCSMQTT page and I can create a device about it. That said, the whole NodeRed things seems laborious to me. Some like that.

                              When I say not labor intensive, I mean like how in the plugin I could say "if any camera triggered", or what not, and new cameras would just show up. No copying and pasting code.

                              Yes, we lost power where I was for about 13 hours. Tree fell on the line. Luckily, we have a whole house generator so the server on the UPS is still up and running.... 657 days now.


                              Click image for larger version

Name:	Screenshot 2022-12-24 at 9.57.31 AM.png
Views:	431
Size:	65.1 KB
ID:	1583071
                              HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

                              Plug-Ins Enabled:
                              Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
                              weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

                              Comment

                              Working...
                              X