Sirapol Sriuaipornchai
Sirapol Sriuaipornchai
Hello , Is this issues solve or not ? I still like your problem "The calibration failed!"
Is it solve ? I still waiting.
> 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"`. >...
And this Tenant is new one very clean. I just add rule node for debug. Rule node is working. And i try with js client. It working normaly.  ...
I found something in RPC_Response.cpp Why it nothing to do ? What should i do ? 
> 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...
> 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. > >...
> 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. Which...
> Can you adjust the code to something like this: > > ```c++ > StaticJsonDocument doc; > JsonVariant variant = doc.to(); > variant.set(switch_state); > return RPC_Response(doc); > ``` Ok this...
> 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`...