Digital I/O in BI mobile app missing?

riceandbeans

Getting the hang of it
Joined
Nov 1, 2015
Messages
80
Reaction score
42
Location
Austin, TX
Anybody know where the digital I/O switching capabilities went in the BI mobile app, v2.0.38 (android v5.0.1)? I could have sworn there used to be the ability to switch gpio on/off via the mobile app but it seems to have disappeared.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Anybody know where the digital I/O switching capabilities went in the BI mobile app, v2.0.38 (android v5.0.1)? I could have sworn there used to be the ability to switch gpio on/off via the mobile app but it seems to have disappeared.
there is a remote control option..if you dont see it, make sure the user is an admin.
 

riceandbeans

Getting the hang of it
Joined
Nov 1, 2015
Messages
80
Reaction score
42
Location
Austin, TX
Looks like I have more issues. Clicking on any of the DIO buttons in the app yields no result. Buttons do not appear to depress, and no action is seen server side either.

I've got a camera set to trigger (within the trigger tab of the cam) when global DIO input bits = 1. It does not trigger when the app DIO output bit 1 lightning bolt is clicked.

I also tried manually triggering via the webserver interface using http://serverip:port/admin?output=1&msec=999

Any ideas?
 

Attachments

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Looks like I have more issues. Clicking on any of the DIO buttons in the app yields no result. Buttons do not appear to depress, and no action is seen server side either.

I've got a camera set to trigger (within the trigger tab of the cam) when global DIO input bits = 1. It does not trigger when the app DIO output bit 1 lightning bolt is clicked.

I also tried manually triggering via the webserver interface using http://serverip:port/admin?output=1&msec=999

Any ideas?
You are confusing digital outputs and inputs...the app function is designed to have BI trigger a digital output.
 

riceandbeans

Getting the hang of it
Joined
Nov 1, 2015
Messages
80
Reaction score
42
Location
Austin, TX
Thanks Fenderman - So the screenshot I attached is read only, and only serves to display the status of the DIO?

My goal is to be able to trigger a digital output from the BI app which ultimately closes a physical relay. I could build my own app/web service but was hoping to streamline it all into BI. Am I totally misunderstanding something?
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Thanks Fenderman - So the screenshot I attached is read only, and only serves to display the status of the DIO?

My goal is to be able to trigger a digital output from the BI app which ultimately closes a physical relay. I could build my own app/web service but was hoping to streamline it all into BI. Am I totally misunderstanding something?
that will work but you dont have an interface that is doing anything so thats is why nothing is happening.
 

riceandbeans

Getting the hang of it
Joined
Nov 1, 2015
Messages
80
Reaction score
42
Location
Austin, TX
Thanks again Fenderman - here's the approach I'm shooting for:
  1. User triggers DIO bit 1 via BI mobile app by clicking on lightning bolt
  2. 'Dummy camera' is triggered from said DIO bit in step #1
  3. Alert for camera from step #2 triggers a HTTP POST command to arduino or similar
  4. Arduino receives POST command and (does stuff) ...specifically, a local GPIO event.
The goal is GPIO over TCP/IP & HTTP without a seadac.

Here's my setup:

Step #2, camera is triggered when it 'sees' DIO bit 1 trigger from BI app (this is the part that doesn't work):
1.png

Step #3, trigger from step #2 executes HTTP POST:
2.png
*Note that when I manually trigger this camera via BI mgmt console (external), I am able to see a red dot next to DIO bit #2 within the BI app.


Environment variables:

Here I have a USB to serial converter plugged into the server. It isn't connected to anything RS232-side, nor do I intend do connect it because I will be using HTTP POST. It seems BI needs this plugged into the server anyway to avoid a 'cannot connect to COM3' error on boot, though.
3.png

COM3 vitals are normal:
4.png

More:
5.png

Port Settings:
6.png


Any ideas appreciated and thanks
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
This wont work because you are trying to use an output command to generate an input....
you can setup a dummy camera and manually trigger it with the lighting icon in the live camera view
 
Top