openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[feature] Support variables everywhere in the NetJSON config

Open sklemer1 opened this issue 3 years ago • 5 comments

I can't find a way to use variables for integer fields like wifi channels.

Either it is non-conforming json or it doesn't fit the schema.

sklemer1 avatar Aug 19 '21 09:08 sklemer1

It's not supported now unfortunatley. I have plans to solve this in the future versions but it will take time.

nemesifier avatar Aug 19 '21 15:08 nemesifier

Also stumbled upon this problem. Auto channel assignment is not really working (channel value '0' makes the radios just to get disabled) and integer variables doesn't work. Creating more templates for each channel work fine as a workaround, but is a bit messy. It would be nice to see a better way to set numeric values.

kellerman avatar Oct 26 '22 22:10 kellerman

Depends on https://github.com/openwisp/netjsonconfig/issues/223.

nemesifier avatar Oct 27 '22 13:10 nemesifier

Also stumbled upon this problem. Auto channel assignment is not really working (channel value '0' makes the radios just to get disabled)

BTW: this should not happen, OpenWrt can handle automatic channel selection via hostpad very well since many versions.

nemesifier avatar Oct 27 '22 16:10 nemesifier

Also stumbled upon this problem. Auto channel assignment is not really working (channel value '0' makes the radios just to get disabled)

BTW: this should not happen, OpenWrt can handle automatic channel selection via hostpad very well since many versions.

Yes, just rechecked and it did set to auto this time. I have a bad expirience with Mikrotiks RouterOS and wireless. The auto selection was just crap (and whole wireless in general). I have already flashed 3 different MT models and getting much better wireless speeds and range. If the channel auto selection works fine, then I might as well keep it that way.

kellerman avatar Oct 27 '22 18:10 kellerman