Camera Feed on doorbell, my solution
Posted: Sunday 03 March 2019 17:21
Hello,
to describe my problem and then the solution:
Problem: when someone rang the doorbell, I wanted to popup the image from my foscam on a tablet mounted on the wall.
The concept worked with the "blocks[IDX]['openpopupOn'] = {}" block.
But my problem was: the image was to big for the popup. The camera I use is a 1080p camera.
Solution: I stepped back from the popup thing and placed a big block on a second screen.
Then when the doorbell rings a dummy switch is triggered and "blocks[IDX]['gotoslideOn'] = 2;" is activated.
Then "config['slide_effect']".
Screen 2 fades in. The image in the block is refreshed every second. That's enough for me.
Then we swipe back to screen 1 after 30 seconds with:
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '30';
This did the trick.
I hope this can be useful for others, that's why I wanted to share this
to describe my problem and then the solution:
Problem: when someone rang the doorbell, I wanted to popup the image from my foscam on a tablet mounted on the wall.
The concept worked with the "blocks[IDX]['openpopupOn'] = {}" block.
But my problem was: the image was to big for the popup. The camera I use is a 1080p camera.
Solution: I stepped back from the popup thing and placed a big block on a second screen.
Then when the doorbell rings a dummy switch is triggered and "blocks[IDX]['gotoslideOn'] = 2;" is activated.
Then "config['slide_effect']".
Screen 2 fades in. The image in the block is refreshed every second. That's enough for me.
Then we swipe back to screen 1 after 30 seconds with:
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '30';
This did the trick.
I hope this can be useful for others, that's why I wanted to share this