Liviu

Results 7 comments of Liviu

I've added `#include "foo.h"` to show that the `foo.c` in the root directory is added to the build process. `foo.c` in the `src` directory is empty.

It looks like there is a problem with I2C: ``` [Dec 28 21:37:42.284] esp32_main.c:65 ESP-IDF 4.2-r1 ... [Dec 28 21:37:43.635] esp32_i2c_master.c:402 I2C0 init ok (SDA: 21, SCL: 22, freq: 100000)...

You need the name of the interface in the `json_scanf_array_elem` call. Something like `json_scanf_array_elem(str, len, ".enp7s0f1", i, &t)`, supposing you call `json_scanf(buf, strlen(buf), "{ports:[%M]}", scan_array2, NULL);`

There is a Node-RED node avilable here: http://flows.nodered.org/node/node-red-contrib-find-my-iphone

You can change the ntp server: ``` curl http://shelly_ip/rpc/Config.Set -d '{"config":{"sntp":{"server":"ntp_server"}},"save":true,"reboot":true}' ```

I suppose you are on Windows: ``` "{\"config\":{\"sntp\":{\"server\":\"time.google.com\"}},\"save\":true,\"reboot\":true}" ```