MathewHDYT
MathewHDYT
If you still have a minute that worked the only thing that is missing is doing the same thing for the `Espressif_Updater.h` and `Espressif_Updater.cpp` file. Simply replace `THINGSBOARD_USE_ESP_PARTITION` with `false`...
Nice to know, for know you can keep the issue open. I will close it with the next Pull Request that integrates the automatic detection if the ESP Version is...
The `serializeJson` call should work and simply print a json with a key of `"method"` and the value `"switch_state"` and the same again but with the key `"params"`. For the...
The aforementioned code is correct, because nothing to do is the case, because we do not need to do anything in the constructor body, we do pass the given variable...
For the previous example, `return RPC_Response(nullptr, switch_state);`, which value does it show in the cloud? Because from the log message it seems like it should show 1. If it is...
I think the problem is that the message, in this case without a key, is not sent. Because there is no log message printing that something was sent.
Can you adjust the code to something like this: ```c++ StaticJsonDocument doc; JsonVariant variant = doc.to(); variant.set(switch_state); return RPC_Response(doc); ```
I'll have to try it myself, but as far as I know multiple keys are not possible, you should be able to send one big string containing a `json` tough.
I don't think so I'll check if it is possible to return more than one value.
I'm not 100% sure what you mean, so if you skip line 1781 to 1792, it works like expected. And with work like expected you mean that the `RPC_Reponse` is...