- Connect the sonoff to electricity and connect the machine to the sonoff.
- Connect the device to electricity.
- Manage permissions and users through Safety Manager Website (Notice - level 1 is the highest permission, allows usage of all machines).
- Safety Manager Website - https://safetymanager-52fc3.web.app/
- Schedule and summary of meetings during the semester - https://docs.google.com/document/d/1P6jc5bVWA_hnhraxQq3wialfgLse7NmTXBHypVYeOqE/edit
- Reflashing sonoff26 firmware - https://tasmota.github.io/docs/devices/Sonoff-S26-Smart-Socket/#led-state
- Solder the sonoff as showen on (3) link from above.
- Upload the sonoff code and copy it's MAC address from the monitor.
- Upload the ESP32 code change the hard coded parameters as explained below.
- The sonoff MAC address on the ESP32 code. When uploading the code to the sonoff, it's MAC address will appear on the monitor. The lab manager should copy this MAC address and define it on line 114.
- When uploading the code to the ESP32, the lab manager should define in line 20 the machine ID as he defined on the website.
- On the ESP32 code - update WiFi parameters (Name and password) on lines 9-10.
- Firebase_ESP_Client.h - 3.15.5
- MFRC522.h - 1.4.10
- espnow.h - 2.0
- ESP8266WiFi.h - 1.0
- ESP8266WebServer.h - 1.0
- ESP8266mDNS.h - 1.1
- WiFi.h - 1.2.7