Toon App: DoorCam
Posted: Mon Apr 27, 2020 1:05 pm
This app need Domoticz or HA to work.
Select the correct section (Domoticz or HA from below).
To show a regular IP camera when the doorbell is ringing.
The video url can be found at https://www.ispyconnect.com/man.aspx?n=A1webcam (the rest of the manufactures can be found at the bottom of the page.
*********************************************************************************************************************************
For Domoticz
Create a dummy switch in Domoticz and connect it to the doorbel. Create 2 variables like (set variable ShowDoorCamToon to value 150):
Create a Blocky script like:
Install the DoorCam App on the Toon and configure all parameters in the setup screen:
(when ShowDoorCamToon is set to 200 by Domoticz, the Doorcam is shown at the Toon. when ShowDoorCamToon is set to 100 by Domoticz, the Doorcam is closed at the Toon)
*********************************************************************************************************************************
For HA
(HA part by user Arcidodo)
Create an input_number entity at the helper menu (https://HAURL:8123/config/helpers)
If you change the value of this entity to 100 the camera shows on the toon 200 it closes,
I use Node Red to control this see screenshot below:
Complete flow of my doorbell:
If you got your doorbell in NodeRed you make an service node like this:
It set the input_number.showdoorcamtoon on 200 so the toon shows the doorbell cam feed.
I created an deley of 30 secs
And the last flow is the same as the first one except you set the value to 100 so the toon closes the doorcam app.
Install the DoorCam App on the Toon and configure all parameters in the setup screen:
To create an token goto:
https://HAURL:8123/profile on the bottom of the page you have an section “Long-lived access token” create an token and type it on your toon. Or copy/paste it see below.
Optional:
I know the token of Home Assistant is a verry long one.. If you want to set it easy:
ssh in your toon and open the file with VI
vi /mnt/data/tsc/doorcam_userSettings.json and past your token into the haToken section "token":"haToken”,
*********************************************************************************************************************************
Select the correct section (Domoticz or HA from below).
To show a regular IP camera when the doorbell is ringing.
The video url can be found at https://www.ispyconnect.com/man.aspx?n=A1webcam (the rest of the manufactures can be found at the bottom of the page.
*********************************************************************************************************************************
For Domoticz
Create a dummy switch in Domoticz and connect it to the doorbel. Create 2 variables like (set variable ShowDoorCamToon to value 150):
Create a Blocky script like:
Install the DoorCam App on the Toon and configure all parameters in the setup screen:
(when ShowDoorCamToon is set to 200 by Domoticz, the Doorcam is shown at the Toon. when ShowDoorCamToon is set to 100 by Domoticz, the Doorcam is closed at the Toon)
*********************************************************************************************************************************
For HA
(HA part by user Arcidodo)
Create an input_number entity at the helper menu (https://HAURL:8123/config/helpers)
If you change the value of this entity to 100 the camera shows on the toon 200 it closes,
I use Node Red to control this see screenshot below:
Complete flow of my doorbell:
If you got your doorbell in NodeRed you make an service node like this:
It set the input_number.showdoorcamtoon on 200 so the toon shows the doorbell cam feed.
I created an deley of 30 secs
And the last flow is the same as the first one except you set the value to 100 so the toon closes the doorcam app.
Install the DoorCam App on the Toon and configure all parameters in the setup screen:
To create an token goto:
https://HAURL:8123/profile on the bottom of the page you have an section “Long-lived access token” create an token and type it on your toon. Or copy/paste it see below.
Optional:
I know the token of Home Assistant is a verry long one.. If you want to set it easy:
ssh in your toon and open the file with VI
vi /mnt/data/tsc/doorcam_userSettings.json and past your token into the haToken section "token":"haToken”,
*********************************************************************************************************************************