Skip to content
Julian Todd edited this page Feb 24, 2020 · 28 revisions

Espurna is the firmware that's been flashed onto the Sonoff switches (both the basic model and the POW2 power measuring units) that can be wired into the mains cable supply of any device (fan, computer, laser cutter, kettle, etc).

Table of known devices

The ESPURNA-XXXXX is the last three bytes of the mac-address in hex and used to generate the MQTT topic.

host device broker thing mDNS
ESPURNA_3B6F59 POW sensorcity.io Dinky heater Y
ESPURNA-8E010B POW_R2 mqtt.local VR computer Y
ESPURNA-8E30FD POW_R2 mqtt.local Sophia laser Y
ESPURNA-?????? POW_R2 mqtt.local Gerald laser
ESPURNA_4EAD1D POW mqtt.local Coffee machine
ESPURNA_8DF40E POW_R2 mqtt.local Coffee machine (2) Y
ESPURNA-A7A42B BASIC mqtt.local Electric Hob
ESPURNA-547CD9 POW_R2 mqtt.local Ultimaker Felicity Y
ESPURNA-8DFE16 POW_R2 mqtt.local Ultimaker Adam Y
ESPURNA-5483B8 POW_R2 mqtt.local CNC Machine Y
ESPURNA-6821B6 POW_R2 mqtt.local Fridge Y
ESPURNA-B1DB1E POW_R2 mqtt.local Creality CR10_S Y
ESPURNA-32B7B9 POW_R2 mqtt.local DoES Dishwasher Y

Operating through a webpage or MQTT

All devices are set to log on to the "DoESLiverpool" wifi network and connect to the "mqtt.local" broker. You can verify these ip-numbers with the command:

mosquitto_sub -v -h mqtt.local -t "+/ip"

Commands to set the LED and relay are of the form:

mosquitto_pub -t ESPURNA_A6F5FA/[relay|led]/+/set -m [1|0]

The standard release builds for espurna do not enable mDNS (which is required to convert "mqtt.local" into the ipnumber of the broker on our network.

See also Sonoff provisioning

☝️ Filter all pages above!
(Full search available on the top left of page)

WiFi: DoES Liverpool, password: decafbad00

or

Clone this wiki locally