Blueiris camera's in HASS

I created mine as a sensor instead of a binary_sensor, It works very well so far.

The problem I have now is when I try to create a script to send a mqtt payload message to blue iris.
Blue Iris is listening on this topic (topic: ‘BlueIris/admin’). with capital B and I.
Apparently scripts in HA do not like capitals letters, and blue iris do not receive the payload.

Do you know any way around that,
Thanks

Can you share your config the way you did the BlueIris MQTT.

Thanks

Sure,

in Blue Iris Options (Digital IO and IoT)
I have

Server address: 192.168.1.4 Port: 1883
Login: mymqttusername
Password: mymqttpassword
Idle disconnect: 60 sec

I do not hit the test button at the bottom because my blue iris tend to freeze when I do that.
In the camera Alert settings
I have

MQTT topic biris/driveway/motion
Post/payload: on

Alerts again when trigger is reset is ticked
MQTT topic biris/driveway/motion
Post/payload: off

00

2 Likes

Great stuff

Thank you it worked.

Awesolme, im glad it worked!

seems you can use curl from a shell_command to change profile

curl http://<IP>:<port>/admin?profile=2&lock=2&user=<user>&pw=<password>

be sure to add the HA box to trusted IPs in the BlueIris server https://ipcamtalk.com/attachments/screen-shot-2017-09-21-at-7-40-59-pm-png.21969/

I’ve managed to change the profile to #2 but cant figure out the different URL for the other profiles for some reason :confused:

@jaburges I found scripts elsewhere on the forum to et & set BI profiles, and I am able to successfully change the profiles with a combination of HASS shell commands and embedded python scripts.

Starting from the shell.yaml file, it invokes setBIProfile.yml when triggered from an automation like this one for example.

In my case, there are 6 different profiles I have set and switch to depending on conditions. Most are controlled in this file.

1 Like

thanks for sharing - this is right at my limit of ability - i’m just looking to extract the correct URL for sending Curl requests with a shell_command for each - cant quite figure out all the json and extra info

I’m suprised someone smarter than me hasn’t built something using the Smartthings BlueIris integration:

i wish i knew how but would NOT know where to start. i’m assuming the BI connection is fine, it would just need the smartthings API parts changes to HA components.

This is what iam using

shell_command

Camera Trigger Record

blueiris_trigger_sitting: curl 'http://192.168.85.25:8087/admin?camera=sitting&trigger&user=xxxx&pw=xxxx'
blueiris_trigger_back: curl 'http://192.168.85.25:8087/admin?camera=back&trigger&user=xxxx&pw=xxxx'

Camera Record on/off

blueiris_record_sitting_on: curl 'http://192.168.85.25:8087/admin?camera=sitting&manrec=1&user=xxxx&pw=xxxx'
blueiris_record_sitting_off: curl 'http://192.168.85.25:8087/admin?camera=sitting&manrec=0&user=xxxx&pw=xxxx'

Profile 4

blueiris_profile_4_on: curl 'http://192.168.85.25:8087/admin?profile=4&lock=2&user=xxxx&pw=xxxx'
blueiris_profile_4_off: curl 'http://192.168.85.25:8087/admin?profile=4&lock=0&user=xxxx&pw=xxxx'

Profile 5

blueiris_profile_5_on: curl 'http://192.168.85.25:8087/admin?profile=5&lock=2&user=xxxx&pw=xxxx'
blueiris_profile_5_off: curl 'http://192.168.85.25:8087/admin?profile=5&lock=0&user=xxxx&pw=xxxx'

Turn On/OFF Motion Trigger

blueiris_back_motion_on: curl 'http://192.168.85.25:8087/admin?camconfig&motion=1&camera=back&user=xxxx&pw=xxxx'
blueiris_back_motion_off: curl 'http://192.168.85.25:8087/admin?camconfig&motion=0&camera=back&user=xxxx&pw=xxxx'

Camera snapshot to Hass directory

camera_back_image: /usr/bin/wget -O /config/www/back.jpg "http://192.168.85.25:8087/image/back?user=xxxx&pw=xxxx"

Change the xxxx to your Blue Iris user and password and the IP Address and port number to yours.
Hope this helps…

2 Likes

thanks for sharing - will give it a whirl

@jaburges apologies for the unrelated question, but I noticed your post here https://github.com/home-assistant/home-assistant/issues/12441 and wanted to know if you managed to get zm working with the Ring.
thank you

i moved off zoneminder - the install process and documentation wasn’t great - and ran into too many issues. Switched to Blue Iris and its great.

total honesty, didn’t have the patience to keep bug bashing zoneminder.

1 Like

thank you. and does blueiris pick up the Ring?
and can you install it in Linux? Basically I run a NuC with Ubuntu, so I’d like to put it in the same place.

Ring is a closed ecosystem, Blue Iris won’t work with it and Blue Iris is Windows only based.

@motoolfan thank you

It’s been awhile since I’ve written anything in this thread, however I just got my Lenovo Google Smart Display and wanted it to be able to do “OK Google, show me the baby room” and have the baby camera display on the screen.

I’m pleased to say I’ve gotten it working, including every other camera hooked upto BlueIris. You can even send the signal to any Chromecast device!!! It’s late at night right now, but if you’re interest to know how to do this let me know and I’ll do a write up.

3 Likes

hi,
i will love if you can show how you did it

thx

2 Likes

Yes, definitely interested! I’ve tried feeding my BlueIris streams to chromecast in the past, but after multiple attempts I gave up. Very curious how you got that part working!

I don’t have a Smart Display (yet), but this would be a compelling reason to get one.

That would be great. Thanks for sharing !