Hi all. I am trying to connect the emonPi to the wifi network.
I log in to emoncms with an ethernet connection. However, the wifi setup page seems to be frozen: I select the network, add the password, click “connect”, “refresh” (or start, restart or any of the buttons) but nothing happens.
This is not the first time this happens. Last time (different emonPi) I used SSH to access the emonPi and hardcode SSID and password. Now I am even refused access to that.
Does anybody know what I’m doing wrong? Seems such a trivial thing (and possibly is) but it stops me right there… Attached some screenshots.
Different to last time, I had to purchase the wifi dongle (Edimax 7811) separately. Could that be an additional source of complication?
Sorry to hear your having trouble. Did you check the tick box to select the network you wish to connect to before hitting Connect?
It can take 5-10s to connect.
Have you got an emonPi with a RaspberryPi3 (one end-plate will be black acrylic) with onboard wifi?
Or do you have and older emonPi (two metal end-plates)? If you have an older emonPi with RasPi2 then you will need to use an external Edimax USB network adapter.
Can you show me your browser dveloper console output when you hit connect? Here is an example of what I see when I hit connect. The emonPi then connect to the network in a few seconds. I am running a Pi3.
Have you got Chrome installed? Could you test and show my the console output from Chrome? Sorry, I’m not familiar with the Safari console output. I’m not convinced there errors we are seeing in the safari console are relevant.
Hi Glyn. Here’s the output from console in Chrome. The error seems to be related to the first network showing up in the scan (see screenshot in next post).
Thanks, that gives us some more info. It looks like maybe the Emoncms wifi module does not like the apostrophe in your SSID. I have tested connecting to a SSID with a space in the name, bit I have not tested with multiple spaces and an apostrophe. Do you have a wifi hotspot with a simple SSID you can test with? You could create a wifi hotspot from a smartphone to test.
Ok, thanks! Unfortunately, that one is a neighbour’s network, which I can’t change. It’s surprising that the signal is stronger than my network. I will try to physically move away further or test it out in a completely different place where I can have access with an ethernet cable.
I’m having the same problem, My set up is Emontx,Emonbase,EmonGLCD. Running EmonSD=3May16,EmonCMS=9.7.1,Emontx3_4=Rev 2.3. I’ve tried several installs of EmonSD on Pi w/no success. Here is my console output:
Ah dear, sorry to hear. Thanks for helping to debug.
Can you connect via ssh? If so it would be very useful to see the contents of etc/wpa_supplicant/wpa_supplicant.conf
$ sudo cat etc/wpa_supplicant/wpa_supplicant.conf
See troubleshooting section of the user guide for information on how to ssh. If your using Windows you will need to use putty. Username is ‘pi’ and pass ‘emonpi2016’
I replicated what Marc suggested and now I can have wifi access. Why was I not able to before? I thought that the EmonCMS/EmonSD image made it possible.