Page 1 of 1
RainMaker MQTT server
Posted: Sat Jan 28, 2023 5:39 pm
by Stipa88
Hello
I am using ESP32-C3.
I want to implement my own "RainMakerServer" for my ESP32 devices.
Is it possible to get the instructions, or source code of the server?
I commend it, a well thought out system, but I want my own server (MQTT)
Tnx
Re: RainMaker MQTT server
Posted: Sat Jan 28, 2023 5:49 pm
by ESP_Piyush
The ESP RainMaker server side code is not open. However, the public deployment will always be free to use for small number of devices. For larger commercial deployments, we have paid options of private deployments.
Re: RainMaker MQTT server
Posted: Sat Jan 28, 2023 6:22 pm
by Stipa88
Hi
This is my situation.
I would like to group the devices as follows:
- only the ESP Node is visible in the application (it acts as a "group" that contains my devices)
- The ESP node "contains" my devices
I can't do that right now
That's why I need my own implementation, especially for Flashing "my devices" via MQTT messages.
Re: RainMaker MQTT server
Posted: Wed Feb 01, 2023 5:23 pm
by ESP_Piyush
Multiple devices can indeed be supported with existing RainMaker as you can see in
this example.
Moreover, while creating
OTA Jobs via dashboard, you can provide some additional metadata via the "Advanced" section to give more info to the esp32 about what is to be done with the image.
- Screenshot 2023-02-01 at 10.49.02 PM.png (53.81 KiB) Viewed 4135 times
If you use the underlying
API, you can even add your own. custom data to tell esp32 to upgrade the other devices.
Re: RainMaker MQTT server
Posted: Tue Feb 07, 2023 11:13 am
by Stipa88
Why a mobile app,uses RainMaker API Service, why the mobile app is not simply an MQTT client?
Structure of MQTT response messages, when the message sent by ESP and mobile APP is not the same.
Example Send ESP to MQTT server:
Send: {"ESP_WiFi_Comm":{"Power":false}}
Recieive: {"ESP_WiFi_Comm":{"Power":false}}
Example Send mobileAPP to API Service
Send: PUT /{version}/user/nodes/ {"ESP_WiFi_Comm":{"Power":false}}
Recieive: { "status": "success", "description": "Success description"}
And in local control, the answer is another structure?
Pls, can you explain. Thank you