Control of GPIO output signal pin

Would it be possible to control the output level of the I/O signal pin through the API instead of the output reporting the status of WAN? This feature would be very useful if it was available for the MAX BR1 mini 5G router.

Hi Jacek,

Welcome to the forum.

I haven’t tested this my self via the API, but I think the config.gpio API supports manual output control via two undocumented modes on digital_output: toggle_high and toggle_low.

Here is the overview of the calls:
mode: “wan_status”` → pin mirrors WAN up/down,

mode: “toggle_high”` → pin forced high,

mode: “toggle_low”` → pin forced low

I would suggest give it a try with your BR1 mini 5G.

Let me know how it worked out.

1 Like