Skip to content

Add --http-addr option to sensor_replay plugin.#691

Merged
Samahu merged 2 commits intoouster-lidar:masterfrom
sleitch-ouster:feat/sensor-replay-http-addr
Feb 4, 2026
Merged

Add --http-addr option to sensor_replay plugin.#691
Samahu merged 2 commits intoouster-lidar:masterfrom
sleitch-ouster:feat/sensor-replay-http-addr

Conversation

@sleitch-ouster
Copy link
Contributor

Related Issues & PRs

I am trying to use sensor_replay to create a virtual sensor to use with Ouster Detect.

I'm using the "add sensor by hostname" function to add the virtual sensor, which calls out the http address to validate that the sensor exists. I need this functionality to allow the sensor to be on another machine.

Summary of Changes

Add --http-addr option to the source_replay plugin and plumb it through to the server.

Validation

ouster-cli source -s replay.osf sensor_replay --loop true --udp-dest ouster-detect --http-addr 0.0.0.0

Verify that the detect instance can add the sensor.

@Samahu Samahu self-requested a review January 30, 2026 21:37
@matthew-lidar
Copy link
Collaborator

Should we change the default address to 0.0.0.0?

@sleitch-ouster
Copy link
Contributor Author

My immediate reaction is to keep it local for security reasons and make open access opt-in.

That being said, the entire command is very opt-in, so maybe it's not so harmful.

@Samahu
Copy link
Collaborator

Samahu commented Feb 3, 2026

My immediate reaction is to keep it local for security reasons and make open access opt-in.

That being said, the entire command is very opt-in, so maybe it's not so harmful.

Yeah, since this is mainly a development aid feature I would also keep localhost as the default. (it fits my main usage case).
With your change people can adjust it as they like.

@Samahu Samahu merged commit afa79ab into ouster-lidar:master Feb 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants