How to get started with your RS485 to Wifi adaptor
First off thank you for your purchase! the latest version is an evolution of the previous adaptor with a different take with regards to the connectivity and posting data to logging platforms.
Before flashing ensure the device is unplugged from the charge controller.
If you have purchased the RS485-WiFi adaptor with a wemos D1 mini it shall be pre-flashed, if however you are using your own Wemos D1 mini or wish to upgrade to the latest version you shell need to download the latest firmware and flashing tool.
The latest firmware is available here
The flashing tool is available here
The flashing tool is provided by ESP-home team and is a great utility for flashing binary files to Wemos devices. Select the version which is appropriate for your Operating System.
The software does not need to be installed and you just need to launch the program.
Once launched select the serial port which was created when the Wemos was plugged into your computer and then browse to the update file which you have downloaded. Once the software is configured select “Flash ESP” which shall upload the code to the wemos and output a successful message to the Console window.
You shall need to use a standard RJ45 network cable, make sure it’s not a crossover.
Once it’s connected you shall need to connect and configure your WiFi so the adaptor can connect to your network. I am using my phone and on searching for networks you shall see a new network called RS485-Wifi : –
On connecting the next step shall depend on the phone/laptop OS your using to connect. On an android phone it should prompt that the connection needs to be configured and will take you straight to the wifi configuration page. If this does not happen you can go to the confiugration page by opening a browser and manually enter the ip address http:/192.168.4.1 note on most devices you won’t need to enter the http://
Once connected you shall see the connection screen which details the Wifi configuration manager page. You can select “Configure WiFi” to enter your credentials details.
Here you shall be presented with a list of networks it has found
To configure your network you shall need to select your network and then input your WiFi password. The device then shall try connecting to the WiFi network you selected, if it is unable to do so it shall once again go back to the default configuration and you can re-enter your password if you made a tying mistake. Once it is successfully connected you shall need to find the IP address it has selected (this can be found on your home router)
You can then browse to the ip address and shall be presented with the following page showing the current live statistics of the charge controller
If you wish to have the device post the data to either an MQTT server or influxDB server you can do this via the settings tab.
Here you can enter the details and enable the relevant service. The device will post the change controller statistics every 60 seconds.
From here you can also control the load on the device .