I have designed my own hardware based on the IoTaWatt published circuit, with minor changes. While awaiting my PCBs to arrive (on a slow-boat from China), I want to start modding and testing the f’ware to suit my changed h’ware.
I’m not a C++ programmer, but have passing familiarity with C programming. I find the sheer number of IoTaWatt source files intimidating, not to mention the C++ code! I have a few initial questions to point me in the right direction (I’ll almost certainly have many more, once I get further in to it!), and would appreciate any advice anyone can offer…
I note from the Documentation that IoTaWatt’s default IP address is 192.168.4.1. I’m assuming (hoping!) this can be changed through the ‘Configure WiFi’ menu (once I get access to that), but to save me the trouble, can anyone tell me where (which source file) that default IP is specified, so I can change the default?
On a related subject, does the WiFi config menu allow changing from DHCP to static IP address (which I prefer in my network)?
Why is an RTC used when the IoTaWatt has an Internet connection, and can thus access the NTP server pool, providing more accurate time than any crystal can keep? I understand there might be times when the Internet isn’t available (blackouts, for example), but a software clock based on the NodeMCU’s time-keeping should keep adequate time accuracy for a blackout duration.