I have some network disks attached to RPI, i have mounted SMB share to Prox using GUI but every time i reboot RPI, storage in Prox became unavailable , how can i "refresh" via gui or make system be aware after they get online ?
The first storage ExtData in question
So making sure i'm following you correctly:
1. i can use current token to query for API
2. after 2 hours i should create a script to do initial request for authentication (is this command for new ticket that goes here :
https://10.0.0.1:8006/api2/json/access/ticket ?)
3. with generated new...
I am using this command , per docs: curl -k -d "username=root@pam&password=yourpassword" https://10.0.0.1:8006/api2/json/access/ticket .
then i copy paste Token to my Rest command :
- platform: rest
resource: https://x.x.x.x:8006/api2/json/nodes
name: API TEST
verify_ssl: false...
Is there a way to extend token(ticket) time as currently is set to 2 hours.
I am gathering information from API , like CPU usage, Memory etc.. and creating sensors on Home Assistant which gets updated every minute.
I am trying to automate it.
Thanks