Cannot remove HDHomeRun from source menu

I would assume local as well. I have had to use broadcast relays, thankfully not in this case.

Been restarted several times.

No, doesn't have an interface on that network. That network is still reachable, but that doesn't matter either. Since it was auto-added, not manually added via an IP address, there is no mechanism to remove it short of wiping it clean and starting over.

I have forced the old network to be unreachable, for what it's worth, and the above still applies.

Have you done that bi-directionally? It seems to me that if the DVR cannot access 192.168.25/24, then the broadcast packets being sent from the tuner are somehow finding their way from 192.168.25/24 → 192.168.1/24.

All that assuming the netmask is correct

1 Like

I'm guessing you added manually by IP at some point and it's being remembered.

There is a curl command to forget the IP.

I still plan to add remove/hide button to the UI. It's just tricky with all the details. If I hide by IP and the IP changes, the HDHR would appear again randomly. If I hide by device ID then we still need a way to unhide or readd the tuner back.

1 Like

That'll work. Are these documented somewhere?

I don't think I ever manually added it. I love than Channels CAN scan for these, in my own use case I'd prefer to be offered a newly found source and have the option to check a box to add it, not have it added automatically.

As I said way up there earlier today, when it found the (later offensive) HDHomeRun, it WAS on the same network with that tuner. I believe it was autodiscovered. Then it was moved to another subnet with another HDHomeRun which it also discovered and added. But since it still had a record of the first one and could reach it over a routed network I couldn't find a way to get it to forget it.

And, please know, I love this product. Anytime I show it to new people, the reaction is always, "why did it take so long for somebody to build this!?"

If the tuner was manually added by IP address, wouldn't that show in the settings json as
"device.manual.192.168.25.101": "true"

To remove it
curl -XDELETE http://ip-of-dvr:8189/devices?ip=192.168.25.101

If it wasn't manually added, remove it with
curl -XDELETE http://ip-of-dvr:8189/devices/<device_id>
In your case curl -XDELETE http://ip-of-dvr:8189/devices/10A06481
Then restart Channels DVR

This isn't really a network thing.

It's a thing about what Channels does when it initiates or reinitiates and decisions made about auto-discovered items.

What I don't know for a fact, but believe to be true from reading many posts here:

I'm a network and server guy, not as much on developing. Know some shell and python stuff, but don't know json. What's the command to retrieve the settings json, please?

I know there are quote a few things to be retrieved (or set) by browser or CURL, but I don't have a list of them. Not sure that one's been offered.

http://ip-of-dvr:8089/settings

You can use a browser plugin like JSON Formatter - Chrome Web Store to make the json easier to read

Boom, as you predicted.
"device.manual.192.168.25.101": "true"

1 Like

If you need to restart Channels DVR via curl it's
curl -XPUT http://ip-of-dvr:8089/updater/force/restart

That worked with the reboot, beauty, thanks!

Is there a better way to restart Channels on Raspbian? Rather than a full reboot?

Nevermind previous post.... lol

Yeah, I googled and found one. It helped a lot. I'll get the Chrome one for the future.

If you use Firefox it has a built-in json viewer, including a pretty print function.

1 Like

Is this still on the "to-do" list? I imagine most people would be fine with hiding by IP address, all that needs to be done then to to assign a static IP to the tuner to avoid it showing up again.

1 Like

Came here to say I also have an HDHR I manually added via IP that I wish to delete from my Channels DVR install (docker on Unraid) but cannot find a way to remove it. I tried the curl command in this thread, and it does nothing.

A copy and paste won't work, you need to use your IP addresses and port.

If the tuner was manually added by IP address, it will show in the settings json as
"device.manual.hdhr-ip": "true"

What hdhr-ip address does http://dvr-ip:dvr-port/settings display for "device.manual.hdhr-ip": "true"

To remove it
curl -XDELETE http://dvr-ip:dvr-port/devices?ip=hdhr-ip

Maybe we can get that Remove button added

Didn’t just copy and paste. Copied the command and replaced the IP of my Channels docker and the IP of the HDHR I want to remove. Command runs without error, but the HDHR source is still there. This is also after a restart of the container.

I’m running this command via the docker’s shell. Also tried using 127.0.0.1 for the Channels IP and it acts the same way.