espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
432 stars 145 forks source link

Delete nodes from dashboard and getting json data in my notifications (MEGH-4011) #195

Closed Jo14532 closed 1 year ago

Jo14532 commented 1 year ago

I would like to remove a few from my dashboard, as I will not be using them anymore. How do I do this?

Untitled

Secondly, I set up my ESP32 to send alerts, This worked for the first few weeks flawlessly, however now I hardly get them. If I get them they also appear in a JSON format on my phone as below. Why is this and why do I not receive them every time I trigger it?

Screenshot_20221115_030646

shahpiyushv commented 1 year ago

@Jo14532 , removing nodes from dashboard is not possible right now because of some complexity in that and also due to some legacy reasons. However, we are working on adding support for that in the backend. As of now, If you have reached your quota, you can get it increased by sending an email to esp-rainmaker-admin@espressif.com from your registered email address.

We are working on fixing the other issue about the notification showing up as JSON and it will be rolled out asap.

Jo14532 commented 1 year ago

@Jo14532 , removing nodes from dashboard is not possible right now because of some complexity in that and also due to some legacy reasons. However, we are working on adding support for that in the backend. As of now, If you have reached your quota, you can get it increased by sending an email to esp-rainmaker-admin@espressif.com from your registered email address.

We are working on fixing the other issue about the notification showing up as JSON and it will be rolled out asap.

What is the quota, I didn't see any mention of this in docs

shahpiyushv commented 1 year ago

@Jo14532 , the concept of quota is meant to ensure that the public RainMaker is used only for hobby, educational and evaluation purposes and not for larger fleets. Moreover, the quota limit applies only to assisted and host claiming. If you are using esp32c3, esp32s2 or esp32s3 with self claiming, the quota limit won't apply because these chips have a unique id which gets validated during claiming to ensure that it is indeed an ESP device.

Jo14532 commented 1 year ago

@Jo14532 , the concept of quota is meant to ensure that the public RainMaker is used only for hobby, educational and evaluation purposes and not for larger fleets. Moreover, the quota limit applies only to assisted and host claiming. If you are using esp32c3, esp32s2 or esp32s3 with self claiming, the quota limit won't apply because these chips have a unique id which gets validated during claiming to ensure that it is indeed an ESP device.

Thanks, I'm using the esp32 wroom chip, what will be my quota for this chip?

shahpiyushv commented 1 year ago

@Jo14532 , the quota for esp32 is 5 and as mentioned in my earlier comment, you can get it increased.

Jo14532 commented 1 year ago

@Jo14532 , removing nodes from dashboard is not possible right now because of some complexity in that and also due to some legacy reasons. However, we are working on adding support for that in the backend. As of now, If you have reached your quota, you can get it increased by sending an email to esp-rainmaker-admin@espressif.com from your registered email address.

We are working on fixing the other issue about the notification showing up as JSON and it will be rolled out asap.

Is there any timeline on when the latter will be resolved?

shahpiyushv commented 1 year ago

@Jo14532 , the notification issue is now fixed. Please check.

nevi-me commented 1 year ago

Hi @shahpiyushv , this might be related to the original question in the issue. I seem to have messed up my device while provisioning it. It shows as a node, but has an "invalid chip". Furthermore, when booting up the device, I get a message on the logs saying that the private key already exists, no need to re-initialise it.

I (604) esp_rmaker_work_queue: Work Queue created.
I (604) esp_claim: Initialising Self Claiming. This may take time.
I (614) esp_claim: Private key already exists. No need to re-initialise it.
I (1454) esp_rmaker_node: Node ID ----- xxxxxx

Is it possible to reset the device and remove the node? I messed up while tinkering with sample code, and I only have one ESP32 left that's working :/

Jo14532 commented 1 year ago

@Jo14532 , the notification issue is now fixed. Please check.

Thank you. I am now receiving the correct formatted messages!

shahpiyushv commented 1 year ago

@nevi-me ,

Hi @shahpiyushv , this might be related to the original question in the issue. I seem to have messed up my device while provisioning it. It shows as a node, but has an "invalid chip"

This "invalid chip" info is the ESP Insights dashboard and it will show up only if you want to use Insights and have enabled it using CONFIG_ESP_INSIGHTS_ENABLED=y

Marcarleto commented 1 year ago

@Jo14532 , the concept of quota is meant to ensure that the public RainMaker is used only for hobby, educational and evaluation purposes and not for larger fleets. Moreover, the quota limit applies only to assisted and host claiming. If you are using esp32c3, esp32s2 or esp32s3 with self claiming, the quota limit won't apply because these chips have a unique id which gets validated during claiming to ensure that it is indeed an ESP device.

@shahpiyushv at my company here we were planning to use it for larger fleets, so isn't it possible? Is there any kind of paid plan to support us?

sanketwadekar commented 1 year ago

Hello @Marcarleto We have paid plans for private deployment. For commercial enquiries, you can reach out to the Espressif sales teams via the "Contact Us" option on https://rainmaker.espressif.com/ or by sending an email to sales@espressif.com.

Reubenruby7777 commented 1 year ago

@Jo14532 , removing nodes from dashboard is not possible right now because of some complexity in that and also due to some legacy reasons. However, we are working on adding support for that in the backend. As of now, If you have reached your quota, you can get it increased by sending an email to esp-rainmaker-admin@espressif.com from your registered email address.

We are working on fixing the other issue about the notification showing up as JSON and it will be rolled out asap.

There's a chance to remove all the nodes permanently by deleting the account and signing in again.

shahpiyushv commented 1 year ago

@Reubenruby7777, there is also an option to delete the nodes directly from the dashboard now.

Reubenruby7777 commented 1 year ago

@Reubenruby7777, there is also an option to delete the nodes directly from the dashboard now.

You're right! But that won't be able to clear the quota by removing the nodes from the dashboard.

shahpiyushv commented 1 year ago

You're right! But that won't be able to clear the quota by removing the nodes from the dashboard.

@Reubenruby7777 , deleting from dashboard indeed removes the node from your claimed node list and helps regain the lost quota. If that isn't happening for you, do let us know.

Jo14532 commented 1 year ago

How do I check how many devices are left as per the quota?

Kind regards,

S.J Naidoo (MSc Eng(Electronic), UKZN) Contact number: 078 7125 195

On Sat, May 6, 2023 at 7:40 AM Reubenruby7777 @.***> wrote:

That's not happened in my case, I've deleted the nodes from esp rainmaker and I have only one active node, but when I try to add another node it showed the quota exceeded and contact the administrator

— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-rainmaker/issues/195#issuecomment-1537057969, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4GGV72OERFTMD726EUPW43XEXP5XANCNFSM6AAAAAASAWPTJE . You are receiving this because you were mentioned.Message ID: @.***>

Reubenruby7777 commented 1 year ago

You're right! But that won't be able to clear the quota by removing the nodes from the dashboard.

@Reubenruby7777 , deleting from dashboard indeed removes the node from your claimed node list and helps regain the lost quota. If that isn't happening for you, do let us know.

That's not happened in my case, I've deleted the nodes from esp rainmaker and I have only one active node, but when I try to add another node it showed the quota exceeded and contact the administrator, I've tried to delete my account and signed up again, I got my quota back and everything works fine now.