-
-
Notifications
You must be signed in to change notification settings - Fork 118
Parse SDK not working on YUN mini #71
Comments
Hi @notiles, we have never tested Arduino YUN mini. Unfortunately there are two flavors of Arduino: When you say it does not work did it work before? Can you provide sample of your code? Did you run the setup sketch provided with the library to install the two packages on the linux side? what was the output of the test sketch on the serial console? |
Hey @mtl2034 ! Thanks for your answer. When I try to write an Object on Parse, the client return nothing, I tried with a classic Arduino YUN and it work perfectly. With the mini I don't get the ObjectID returned by the client. I'm investigating in the parse yun library but I don't find the solution yet. I could send you the ino script tomorrow. I install the arduino yun firmware on the mini but it doesn't save my day... |
if cna ssh into the linux side you can run parse_request on command line and see what you get. It is easier to debug this way. |
Hello @mtl2034 we are still blocked with the mini YUN, could you help me to find a way to debug easily? Our WiFi infrastructure can't allow us to connect on the YUN trough SSH. It look like the parse_request is not well run but I don't have more information, no error output... Do you have any way to get output on what's happening on linux side? |
Another way is to run the parse_request command directly from an Arduino sketch. Lookup this: https://www.arduino.cc/en/Reference/YunBridgeLibrary. Remember to replace/add
|
Thanks a lot we finally succeed to target the problem, when the library get the requestBody in parseClient it look like that the JSON is not well formated, (but it work on classic YUN), if we forced the requestBody to "{}" the request is well executed and the class is created without datas. When we print requestBody in parseClient what we get is {"temperature":24,"humidity":36,"ip":true,"location":true,"country":true} but with those values, the request doesn't succeed (only on YUN mini) |
So we tried to update the class with datas after the creation but we have the same issue... |
Really weird, it works now... Thanks a lot for your big help @mtl2034 |
Hello @mtl2034 I can't install the 1.0.5 package, I succesfully install the 1.0.3 but I can't install the 1.0.5. Actually we have : Thanks a lot, Edit : The good setup for upgrade the package is : String revision = "1.0.5-1_ar71xx"; |
Could you update the setup.ino with the good parameters and is there any way to update the library that you can download with the Arduino IDE? Actually the Arduino IDE provide the 1.0.3 (sent by Parse)? |
Hi @notiles, let me find some time this weekend and test it and update it, |
Thanks a lot @mtl2034 It's not urgent, but it will be easier for others users to implement custom parse server with Arduino. |
Hello,
I'm trying to run the Parse SDK on Arduino YUN mini. I don't have ay error but I can't saved object on server, the installation ID is not saved...
I try to update the firmware with the latest one but it doesn't fix the issue.
Any idea?
The text was updated successfully, but these errors were encountered: