Enable alerts using DIO (solved)

demetrio

n3wb
Joined
May 4, 2019
Messages
2
Reaction score
1
Location
italy
Hello to all ! Using an ESP8266 i made a presence detector that send 1 over serial port if one of the family cellular is detect and send 0 otherwise.
It's possible to use this logic to enable camera alerts only if blue iris detect 0 on the serial port ?
Thank you !
 
Last edited:

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,443
Reaction score
38,159
Location
Alabama
So BI's built-in ability to use geo-fencing of cellular phones to arm/disarm BI or bring up specific profiles based on which user's phones are in or out of the geo-fence area will not meet your needs?
 

demetrio

n3wb
Joined
May 4, 2019
Messages
2
Reaction score
1
Location
italy
Dear TonyR, I know about BI geofencing feature but we are 4 so we need to buy the same copy of blue iris app (40 Euros in total). Instead with a bunch of euros I have the same functionality with no extra costs in case of scaling.
However I found the solution to my problem. I made two profiles, one called at work with alerts enabled and one called at home with alerts disabled. In the Blue Iris Settings->Digital IO and Iot I used the control parameters On set and On reset setting the necessary rules to switch between the two.
 

Attachments

xjust

n3wb
Joined
Jan 19, 2021
Messages
22
Reaction score
3
Location
romania
care to share your code on the esp ? im interested too :)
thanks
 

catcamstar

Known around here
Joined
Jan 28, 2018
Messages
1,659
Reaction score
1,193
I just started with ESP32's, and there are dozens of sample wifi-scanning/detection scripts available which contain code to build whatever you want (eg to scan your wifi (eg ESP-EOS/ESP32-WiFi-Sniffer)

What I personally would do:
  • opt for an AsyncWebserver (which simply shows your devices with a 1 (present) and a 0 (not present)
  • let the bi machine curl that website every 1-5 minute, and parse the output

Ready :)
 
Top