Hi Community,
I bought a single-channel WiFi Relay from the site shop recently.
It came with V2088 firmware, which I suceesfully updated OTA to v3190: all well and good.
The docs tell me that if I want v3361 (the very latest), or to upload my own hacked versions, I need the “Full Flash” upload.
When I took the lid off, I was faced with a PCB that does not resemble the one in the picture.
Mine appears to have an unpopulated footprint for:
An RFM69 module, or something like it, where J6 used to be.
A 4-pin header where J5 used to be.
So my questions are:
What do I need to short/jump/hold on this (newer?) PCB to upload firmware with the FTDI cable?
If I do pluck up the courage to look at the source code:
a) What tool chain, compiler, etc., do I need to install (on Ubuntu)?
b) Are there instructions?
c) “make” then “burn.sh” suggests no IDE is involved, so what editors do people prefer?
Hold the reset button whilst powering up, in other words?
Do I need to keep holding it whilst the firmware loads?
A very quick glance at the emonESP code you linked suggests it can be wrangled through the Arduino IDE, which would be great!
I will have a more detailed look through this evening.
Yes that is correct, the timer branch of EmonESP does however include relay control over MQTT if you wanted to control the relay externally such as from NodeRed or the emoncms demandshaper module.