Notifications
Clear all

Problem with Arduino IOT Cloud on MAC

Page 1 / 2

BubbaB
(@bubbab)
Active Member
Joined: 2 months ago
Posts: 14
Topic starter  

Hi

I am trying to use the A IOT cloud dev system as per the video.   I am having problems communicating with the devices it is very hit and miss.  Most of the time it dies not work.  When I open the Create Agent debug it seems to get in a loop.

{
  "DownloadStatus": "Pending",
  "Msg": "We couldn't find a tool with the name windows-drivers and version latest packaged by arduino"
}

{ "DownloadStatus": "Success", "Msg": "Map Updated" }

{ "DownloadStatus": "Pending", "Msg": "The tool is already present on the system" }

{ "DownloadStatus": "Success", "Msg": "Map Updated" }

{ "DownloadStatus": "Pending", "Msg": "The tool is already present on the system" }

{ "DownloadStatus": "Pending", "Msg": "The tool is already present on the system" }

{ "DownloadStatus": "Success", "Msg": "Map Updated" }

{ "DownloadStatus": "Success", "Msg": "Map Updated" }

list

Serial Ports:
[]

Network Ports:
[]

list

Network Ports:
[]

Serial Ports:

Any ideas.  I am having general communication problems with different esp32s using different IDEs making development almost impossible.  Is it just the MAC?  should I invest in a windows or Linux pc just to run IOT IDEs on?


Quote
Topic Tags
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

I am on a Mac and have no troubles. Start at the beginning, exactly what are you trying to do and what messages does the system give you.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab Hi, do you still want help? I am one of the few Mac users here and use the arduino cloud. I have no problems. Send me some screen prints. Most all ESP32's will work the same way unless they have extra special stuff like the ESP32-CAM, or if they are minimalist.

How many IDE's do you have? I only use the IDE 1.8.19 and occasionally play with IDE 2.0 but it is still not ready yet.

I also sent you a private message.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
BubbaB
(@bubbab)
Active Member
Joined: 2 months ago
Posts: 14
Topic starter  

Hi Ron.  

 

thanks for the quick reply I am still finding my way round so even the forum is new.  What screen shots would be helpful to you.

 

it’s late here so it may be tomorrow before I get back to you 

 

cheeers

 

bob


ReplyQuote
BubbaB
(@bubbab)
Active Member
Joined: 2 months ago
Posts: 14
Topic starter  

I can’t reply to your direct message it says I am not allowed to send a message yet.  Not sure what that means either 


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab The screen shots of the errors you get in the ide. I have no idea what you are talking about re Arduino Agent, it has NO user interface, it's just a daemon that runs in the background. I have never interacted with it since the day it was installed, and when I just tried to as a result of your comments nothing happens, I doubt it has a user interface. Let's just stick to the aerduino.cc/IoT Cloud. Do a compile, is it error free (green text NOT red) then the upload with the load/boot NOT reset button pressed until it says hard reset.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab Yes, you are still a newbie, once you have had a certain number of interactions with other forum users it will be allowed. That should happen later this coming week. BTW, where inthe world are you, I am on Vancouver Island, west coast of Canada.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab I see you are still online so I will do a compile and load of my IoT app and show you here what it looks like. I have opened the results window wide for your benefit, normally I leave it at about 3 to 5 lines.

Screen Shot 2022 04 30 at 14.55.26

 . 

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab Does your sketch compile? If not, take a screen shot of the last few lines of errors.

If it does what happens when you do an upload, if it fails take a screen shot of the last few lines

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
BubbaB
(@bubbab)
Active Member
Joined: 2 months ago
Posts: 14
Topic starter  

@zander Hi Ron

the Arduino Agent has a debug window you can open from the tray icon

Screenshot 2022 05 01 at 09.40.50

 That's where the outputI attached to my first email was from.  The code compiles fine its the communication with the am going toe device I am having problems with.  I have noticed the the Agent unloads if I put the Mac into sleep mode and I have to reinstall to get it's icon to appear again. currently I can't communicate with the esp32 at all.  I am going to de/reinstall the agent.


ReplyQuote
BubbaB
(@bubbab)
Active Member
Joined: 2 months ago
Posts: 14
Topic starter  

@zander OK I have de/reinstalled the agent and that seems to have fixed the com problem for now.  Now the problem is that I get a run time error on the ESP. Something to do with a MQTT mailbox failure.  Here is the compile and the upload and the error.  Any thoughts?

Screenshot 2022 05 01 at 10.22.04
Screenshot 2022 05 01 at 10.21.10
Screenshot 2022 05 01 at 10.19.56

ReplyQuote
BubbaB
(@bubbab)
Active Member
Joined: 2 months ago
Posts: 14
Topic starter  

@zander

I am in the UK

I don't know it I posted this in the right place but it was the first place in the tree I had a 'New topic' button..

 


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab This shows the sketch compiled and uploaded just fine. I have NEVER seen any of that other stuff. The agent is something you install ONCE before anything else. I have NEVER looked at it since. You are fixating on a non issue, the sketch is done and loaded into your device.

What are you expecting to happen after the hard reset?

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab My thought is STOP messing with the agent, it is not somnething you ever concern yourself with after it's installed. Your sketch is ready, move on to testing the sketch, it has NOTHING to do with the agent.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Ron
 Ron
(@zander)
Noble Member
Joined: 2 years ago
Posts: 2286
 

@bubbab I loaded my sketch and found the agent (it's hidden away on my Mac) to see what it is doing. This is literally the first time I have looked at it. It appears to be some sort of possible emulation of a Serial port. since I am doing web based development I have NO Serial statements in my code since no such device will or could be attached AFAIK. I see the URL is a local, 127.x.x.x so it's just a trick connection. I have no idea why you would ever look at it, it has clearly confused you. This is what mine looks like. I have no idea or care what that is, my app has no connection known to me to any serial device. Your sketch shows it has compiled and uploaded. If you are using serial statements I suggest you get rid of themn and convert them to a text box or as I did for logging the messenger thingy. I have attached a screenshot of my debug messenger thingy. Good luck.

Screen Shot 2022 05 01 at 05.17.43
Screen Shot 2022 05 01 at 05.24.25

 

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
Page 1 / 2