WIFI Sensor - Firmware Upload

Windows

1. Connect a 3.3V FTDI cable between the WIFI sensor and your Windows PC


Make sure you have crossed over TX and RX as shown by the red circle in the diagram
    for boards prior to WIFI Hardware Release 4.0
For WIFI Hardware Relase 4.0 boards and newer
    the 3.3V FTDI can plug directly into the header on the PCB.


2. Set dip switch 3 and 4 (marked FLASH) to ON


3. Reset the device by setting dip switch 1 ON then OFF



3. Check the device manager to determine the com port assigned to the FTDI


4. Download, unzip and run the ESP Flasher (file attached below)
5. Set the COM port, select the bin file (files attached below), click download


5. The device will automatically restart after the new firmware is uploaded. Set dip switches 3 and 4 back to the OFF position.

6. Its generally a good idea to reset the device using the Reset button on the Login Details screen. Sometimes when we add new code we use different parts of the device memory so you may see erratic data displayed on the config screens. Resetting the device will reset the memory on the device to work with the new version. If the config screens are not visible you can also reset the device using the URL : http://192.168.4.1/reset

Release Notes
Version 3.10 (11/23/2021)
  - Improve to Sensor Detection on Hardware Release 4.0
  - Add HostName(SSID) to Banner

Version 3.00
  - Bug fixes to BETA releases
  - Establish Baseline Software Release with support for Hardware Release 4.

1.9.9 BETA
 - Added new function for Analog sensors see advanced options
 -  Dropped support for battery level to be sent to the server (unfortunately the chip doesn't support analog sensors and battery level at the same time). We assume this is a good compromise as this device is mostly used with full power and not batteries. 
 - Fixed some formatting bugs with email messages
 - Fixed bugs with some GPIO's not working with relays
 - Made the config screen load faster

1.9.8 BETA
  - Added support for EMAIL alerts. Rules configured on PrivateEyePi website with an EMAIL action associated with a WIFI sensor will now work.

1.9.7 BETA
 - Added new functionality to support switching sensor like door switches (reed switches), motion sensors and water sensors. See advanced options for details on GPIO allocations. There are 8 GPIO pins available on the WIFI sensor, but you need to plan how you intend using them. The table in advanced config will help you understand the GPIO allocations and which ones to use (especially if you intend having a temperature sensor and a switch on the same device). We will develop some tutorial explaining how to wire switches, but here is how to use the switch functionality:
 - Connect a GPIO pin to GND and a switch closed message is sent to PrivateEyePi
 - Disconnect a GPIO pin from GND then a switch open message is sent to PrivateEyePi
 - You can query the GPIO status using http://your_device_ip/gpiostatus?pin=PinNumber 
where PinNumber is the GPIO number (e.g. 14)
 - Alarm rule action can be used to trigger an external buzzer/alarm off pin 5
 - Chime rule action can be used to trigger an external buzzer/alarm off pin 5
   

1.9.6
  - Fixed issue with IOS devices having problems loading the SensorConfig page 

1.9.5 
 - Fixed bug with sleep mode not working

1.9.4 BETA Release contains the latest relay functionality
 - Allows the use of the PrivateEyePi token identity for greater security
 - New setting to allow/disallow external control of the relays (GPIO)
 - Integration with the new PrivateEyePi dashboard (www.privateeyepi.com/control.php) used to switch relays from the internet 

1.9.3 BETA Relay & Multiple DS18B20 Sensor Release (obsolete rather use latest)
 - Updated the http://your-ip/temp page to return all values when using multiple DS18B20 sensors. See here for more details.

1.9.2 BETA Relay & Multiple DS18B20 Sensor Release (obsolete rather use latest)
 - Multiple DS18B20 follow wiring as described in figure 2 here, attach the data line to GPIO13 of the WIFI sensor 

1.9.1 BETA Relay Release (obsolete rather use 1.9.4)
  - Fixed a bug which causes the device to restart randomly, which causes the relay switches to reset

1.9 BETA Relay Release (obsolete rather use 1.9.4)
  - Dashboard added as the home page that contains temperature, humidity and switches for the relay switches
 - A configuration screen to add relay switches and associate descriptions for each relay
 - Control the relays via the dashboard, PrivateEyePi rules, or URL (e.g. http://.../relayon?pin=12 , http://.../relayoff?pin=12)

1.8.1 Stable Release
  - Bug with disabling AP mode fixed

1.8 Stable Release
  - Miscellaneous bugs fixed

1.7 BETA
   - Additional enhancements made for re-establishing WIFI connection when WIFI is  intermittent
  - Resolved AP mode disappearing after WIFI connection is dropped

1.6 BETA
  - Re-connect the sensor to the WIFI network if it is dropped or out of range for some time. This mainly affects users who poll the WIFI sensor for temperature readings. When running the sensor with a cyclic temperature transmission ("Send to server" setting is set) the sensor will automatically re-establish a WIFi connection after it has been dropped.
 - Ability to set a Static IP. This is also useful for users polling the sensor and don't want the IP address to change.
 - Ability to disable AP mode. Once you have your device setup you can disable AP mode so that it no longer appears as a WIFI access point. I would advise you to set a static IP before disabling the AP. 

1.5
  - Fix to allow for blank WIFI password

1.4
  - Fix for http://192.168.0.4/temp page when using DHT22 sensor

1.3 
 - Fix for IOS Safari browser which did not work. If you want a workaround that will work on v1.0-1.2 use a Chrome browser on Apple devices.

1.2 
 - Changed the wake up pin to GPIO 14

1.1
 - Fixed bug where RAM reset when WIFI connection intermittent
 - Better handling of intermittent WIFI connection to the internet
 - Fixed bug where Fahrenheit temperature displaying centigrade symbol on the PrivateEyePi website
 - Added a new webpage to display the temperature only (192.168.4.1/temp)
 - Fixed bug where the server name on the config page did not save correctly
 - Added support for Temperature and Humidity
 - Added a new page (192.168.4.1/log) to view the error log

1.0 
 - Beta Release 

ċ
WIFIv4_310.bin
(301k)
JemRF,
Nov 23, 2021, 8:00 PM
v.1
ċ
erase_flash.bin
(225k)
Gadjet Nut,
Jan 12, 2017, 5:23 PM
v.1
ċ
esp8266_flasher.zip
(8637k)
OEM,
Feb 27, 2016, 2:52 PM
v.2
Comments