ESPurna 0.0.0
STATUS
GENERAL
SECURITY
WIFI
MQTT
DOMOTICZ
POWER
Update
Reconnect
Reset
STATUS
Current configuration
Manufacturer
Device
Chip ID
MAC
Network
IP
MQTT Status
Temperature (
)
Temperature (
)
Humidity (%)
Active Power (W)
Apparent Power (W)
Reactive Power (W)
Current (A)
Voltage (V)
Power Factor (%)
GENERAL
General configuration values
Hostname
This name will identify this device in your network (http://<hostname>.local). For this setting to take effect you should restart the wifi interface clicking the "Reconnect" button.
Relay boot mode
Always OFF
Always ON
Same as before
Toogle before
Here you can define what will be the status of the relay after a reboot.
Relay sync mode
No synchonisation
Zero or one relays active
One and just one relay active
All synchonised
Define how the different relays should be synchronized.
Relay pulse mode
Don't pulse
Normally OFF (stays on for a short time)
Normally ON (stays off for a short time)
When pulse mode is enabled the relay will automatically switch back to its normal state after the pulse time (below).
Relay pulse time
Pulse time in seconds.
Alexa integration
Temperature units
Celsius (ºC)
Fahrenheit (ºF)
SECURITY
Device security settings
Admin password
The administrator password is used to access this web interface (user 'admin'), but also to connect to the device when in AP mode or to flash a new firmware over-the-air (OTA).
It should have at least
eight characters
(letters, numbers or the underscore) and at least
one number
,
one lowercase
and
one uppercase
letter.
Admin password (repeat)
HTTP port
This is the port for the web interface and API requests.
If different than 80 (standard HTTP port) you will have to add it explicitly to your requests: http://myip:myport/
Enable HTTP API
HTTP API Key
Generate
This is the key you will have to pass with every HTTP request to the API, either to get or write values.
All API calls must contain the
apikey
parameter with the value above.
To know what APIs are enabled do a call to
/apis
.
WIFI
You can configure up to 5 different WiFi networks. The device will try to connect in order of signal strength.
Add network
MQTT
Configure an
MQTT broker
in your network and you will be able to change the switch status via an MQTT message. Leave the server field empty to disable MQTT.
MQTT Server
MQTT Port
MQTT User
MQTT Password
MQTT Root Topic
This is the root topic for this device. The {identifier} placeholder will be replaces by the device hostname.
-
<root>/relay/#
Send a 0 or a 1 as a payload to this topic to switch it on or off. You can also send a 2 to toggle its current state. Replace # with the relay ID (starting from 0). If the board has only one relay it will be 0.
-
<root>/led/#
Send a 0 or a 1 as a payload to this topic to set the onboard LED to the given state, send a 3 to turn it back to WIFI indicator. Replace # with the LED ID (starting from 0). If the board has only one LED it will be 0.
-
<root>/button/#
For each button in the board subscribe to this topic to know when it is pressed (payload 1) or released (payload 0).
-
<root>/ip
The device will report to this topic its IP.
-
<root>/version
The device will report to this topic its firmware version on boot.
-
<root>/status
The device will report a 1 to this topic every few minutes. Upon MQTT disconnecting this will be set to 0.
DOMOTICZ
Configure the connection to your Domoticz server.
Domoticz IN Topic
Domoticz OUT Topic
Temperature IDX
Set to 0 to disable notifications.
Humidity IDX
Set to 0 to disable notifications.
Power IDX
Set to 0 to disable notifications.
Energy increment IDX
Set to 0 to disable notifications.
Voltage IDX
Set to 0 to disable notifications.
Current IDX
Set to 0 to disable notifications.
POWER
Calibrate your power monitor device. Use a pure resistive load and introduce the expected values for active power, current and voltage. Use the nominal values or a multimeter to get the proper numbers. Set any field to 0 to leave the calibration value untouched.
AC RMS Active Power
In Watts (W). If you are using a pure resistive load like a bulb this will be writen on it, otherwise use a socket multimeter to get this value.
AC RMS Voltage
In Volts (V). Enter your the nominal AC voltage for your household or facility, or use multimeter to get this value.
AC RMS Current
In Ampers (A). If you are using a pure resistive load like a bulb this will the ratio between the two previous values, i.e. power / voltage. You can also use a current clamp around one fo the power wires to get this value.
Reset calibration
Move this switch to ON and press "Update" to revert to factory values.
Network SSID
...
Password
Static IP
Leave empty for DNS negotiation
Gateway IP
Set when using a static IP
Network Mask
Usually 255.255.255.0 for /24 networks
DNS IP
Set the Domain Name Server IP to use when using a static IP
Del
Relay
Status
Relay
IDX
Set to 0 to disable notifications.