Hi
Could anyone please help me with getting that below payload divided into attributes that i could then push to home assistant entity?
I got that payload from running ssh to my server:
{"topic":"192.168.1.80","_msgid":"9ae507a7.3fea68","payload":"\r-\r \r\r-\r \rStatus: Connected\nCurrent server: pl141.nordvpn.com\nCountry: Poland\nCity: Warsaw\nYour new IP: 5.253.206.91\nCurrent technology: NordLynx\nTransfer: 1.17 GiB received, 23.16 MiB sent\nUptime: 9 hours 31 minutes 28 seconds\n","rc":{"code":0}}
It gives me status about NordVPN connection. I would like to have all these as attributes in one entity under HA.So lets say entity called sensor.nordvpn with below attributes:
- Status
Current server
Country
City
Your new IP
Current technology
Transfer received
Transfer sent
Uptime