# Flexible wireless logon, like espeasy on Arduino

**URL:** <https://discourse.nodered.org/t/flexible-wireless-logon-like-espeasy-on-arduino/5834>\
**Category:** General\
**Created:** [15 December 2018 19:27 UTC](https://discourse.nodered.org/t/flexible-wireless-logon-like-espeasy-on-arduino/5834 "2018-12-15T19:27:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noh](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@Noh](https://discourse.nodered.org/u/Noh)\
**Post date:** [15 December 2018 19:27 UTC](https://discourse.nodered.org/t/flexible-wireless-logon-like-espeasy-on-arduino/5834/1 "2018-12-15T19:27:02Z")

</div>

I've recently used espeasy (firmware for an Arduino-like board with WiFi) and it has a great facility - if it can log-on to a wireless access point (AP), using saved credentials, it will. If it can't, it throws up its own AP on a known IP (192.168.4.1). The webpage on that IP lists all the scanned SSIDs. A user can then select which SSID to log onto and provide the password. On submitting the form, the esp board logs into the SSID and stores the login credentials.

I would like to emulate this behaviour on a Pi Zero W - I can scan all local SSIDs, using an imported WiFi Scanner Node in Node-Red and I get back an array of SSID objects but I'm unclear what to do now - I thought populating a dropdown in the dashboard might be a way through but I don't understand how to achieve that. I looked at using JSONata to thin out the object array into a single object, containing just the SSIDs and use that but I don't know if that would be a good approach.

Any advice on a sensible architecture (or even the feasibility of my aspiration) would be very useful

Thanks in advance.
