I'm currently working on a home automation project where the vocore controls (sends and receives) some data from sensors that are connected to it using the GPIO pins.
Unfortunately I'm can't get my vocore to connect to my home network (only to the home network, and disabling the hot-spot functionality)
I tried many of the examples that I can find on the forms as well with some searching thru the openwrt documentation.
Do you have any example code that I could use that only connects to my home wifi?
No need for static IP addresses since the vocore will get them from static entries in my DHCP server.
Below is some of the code I tried and as far as my understanding should work to do the job but unfortunately it did not in my case.
Ps. yes my lab wifi is called test
- Code: Select all
uci set wireless.sta.ssid='test'
uci set wireless.sta.key='PassW0rd!'
uci set wireless.sta.encryption='psk2'
uci set wireless.sta.network='lan'
uci set wireless.sta.disabled='0'
uci commit
extra info: the vocore should connect to an ubiquiti AP and my gateway/router is an pfSense box
Kind regards,
Thyvo