Hello, guys:
I just confgiured IP Webcam in my phone. I can connect it with tinyCam Monitor as well as home assistant. Then I pressd the home key on my phone to make it running background. Of course, I can also connect it with both tinyCam and home assistant. But when I restart home assistant and login again, it an never connect the IP camera and shows error message like
2018-12-06 13:28:14 ERROR (MainThread) [pydroid_ipcam] Failed to communicate with IP Webcam: Cannot connect to host 10.11.12.53:8080 ssl:None [Connect call failed (‘10.11.12.53’, 8080)]
And tinyCam Monitor still works well. So I switch IP Webcam to foreground. Then the connection is back to normal.
Here is configuration of webcam:
android_ip_webcam:
- host: 10.11.12.53
name: LivingRoom
port: 8080
scan_interval: 10
sensors:
- audio_connections
- video_connections
- battery_level
- battery_temp
- light
- motion
- pressure
switches:- exposure_lock
- ffc
- focus
- gps_active
- night_vision
- overlay
- torch
- whitebalance_lock
- video_recording
motion_sensor: TRUE