signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

Wrong IP address

Open emonfejm opened this issue 1 year ago • 2 comments

The problem

It is picking wrong IP addres:

export HOST_IP=$(hostname -I | awk '{print $1}')

If I have 2 IP addresses it is picking dynamic one which means it will be changed every time I restart machine. I want to use my static IP address: 192.168.1.230

+ [ native = json-rpc ]
+ hostname -I
+ awk {print $1}
+ export HOST_IP=172.30.32.1 
+ exec setpriv --reuid=1000 --r

and after restart

+ [ native = json-rpc ]
+ hostname -I
+ awk {print $1}
+ export HOST_IP=172.30.33.2
+ exec setpriv --reuid=1000 --r

Is there an option to chose the IP address? If not what is the reason for that?

Are you using the latest released version?

  • [X] Yes

Have you read the troubleshooting page?

  • [X] Yes

What type of installation are you running?

Home Assistant Signal Addon

In which mode are you using the docker container?

JSON-RPC Mode

What's the architecture of your host system?

x86-64

Additional information

No response

emonfejm avatar Jul 18 '24 21:07 emonfejm