tuya-ipc-terminal/run.sh aktualisiert
This commit is contained in:
parent
18c1621556
commit
4d28149375
@ -16,9 +16,14 @@ if [[ -z "${TUYA_EMAIL}" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "${TUYA_PASSWORD}" ]]; then
|
||||
bashio::log.fatal "Please configure your Tuya password in the addon options."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Authenticate with Tuya
|
||||
bashio::log.info "Authenticating with Tuya..."
|
||||
printf "%s\n%s\n" "${TUYA_REGION}" "${TUYA_EMAIL}" | /tuya_auth_qr.exp
|
||||
printf "%s\n%s\n%s\n" "${TUYA_REGION}" "${TUYA_EMAIL}" "${TUYA_PASSWORD}" | /tuya_auth_qr.exp
|
||||
|
||||
# Refresh camera list
|
||||
bashio::log.info "Refreshing camera list..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user