Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Wouter
    @WAvdBeek
    i just added something in github (e.g. reinstated the fix) and i can use it now in github/otgc (as intended)
    not sure if gitlab does another sync that it might get lost again..
    Ondrej Tomcik
    @ondrejtomcik
    Ok, let me know if it dissapears. But still, they should properly disable it in the gitlab.
    I just remove account which probably does the sync.
    Wouter
    @WAvdBeek
    I have asked Rami to shutdown gitlab..
    (but he is not awake just yet)
    anyway the first part of building otgc on linux is working again
    and the master is now building correctly, although we need a fix for at link error to reinstate that part of the cloud code
    there is now a CI job on iotivity that checks linux otgc build
    Wouter
    @WAvdBeek
    Josef, can you indicate how to resolve the merge conflict on jakarta?

    <<<<<<< jakarta

    oc_cloud_clear_context(ctx);

    cloud_store_initialize(&ctx->store);
    cloud_manager_stop(ctx);
    ctx->last_error = 0;
    ctx->store.cps = 0;
    cloud_store_dump(&ctx->store);

    master

    Ismail
    @mile.bdo_gitlab
    hi, I'm a newbee and just tried setup this https://plgd.dev/quickstart/deploy-plgd-cloud/ in my aws cloud
    I'm trying open the browser acter run the docker but nothing happen
    really appreciate for the advice. thank you
    Ondrej Tomcik
    @ondrejtomcik

    Josef, can you indicate how to resolve the merge conflict on jakarta?

    Wouter, is this commit from Daniel or Martin Roesch ? Jozef is out until Monday.

    hi, I'm a newbee and just tried setup this https://plgd.dev/quickstart/deploy-plgd-cloud/ in my aws cloud

    Hello. Are you deploying this bundle image in the AWS? Bundle is supposed to be deployed on your local PC. Of course you can deploy it in AWS but then this deployment guidline won’t help you with set up of load balancer and so on. Do you have all your ports open? Can you telnet to 5684 5683 and 443 ?

    1 reply
    Wouter
    @WAvdBeek

    Josef, can you indicate how to resolve the merge conflict on jakarta?

    Wouter, is this commit from Daniel or Martin Roesch ? Jozef is out until Monday.

    I guess it is from Josef, not sure why this is now an issue with merging... we can wait until monday

    Ondrej Tomcik
    @ondrejtomcik
    Ok. Let’s wait until then.
    xiao8xiao1
    @xiao8xiao1
    微信图片_20210625144735.jpg
    when i use otgc, how to config the cloud?
    how to fill the authentication provider, the cloud url , the access token, cloud uuid ? anybody know ? thanks
    Ondrej Tomcik
    @ondrejtomcik
    Hello. I would download plgd onboarding tool from appstore / google play store.
    Do you need to use otgc?
    Jozef Kralik
    @jkralik
    @xiao8xiao1
    do you have plgd/bundle running or do you want to onboard it to the try.plgd.cloud ?
    Jozef Kralik
    @jkralik

    for try.plgd.cloud:

    Authentication Provider: plgd
    Cloud Url: coaps+tcp://try.plgd.cloud:5684
    Access token: you need to get from  https://api.try.plgd.cloud/api/authz/code
    CloudID: adebc667-1f2b-41e3-bf5c-6d6eabc68cc6

    all infromation you can get from https://try.plgd.cloud/.well-known/ocfcloud-configuration

    xiao8xiao1
    @xiao8xiao1
    @ondrejtomcik yes, i need to use otgc, the plgd app can onboard my device to the cloud, but then i can only control device via web, the plgd app can't control device
    xiao8xiao1
    @xiao8xiao1
    0b1763c9b0ef174585f64a0775245c74.jpg
    when i open the otgc cloud configuration again, there is nothing. and i see a info: 'retrive cloud status has failed'
    e47c1911e55cf718c39bbd09e5dea4d3.jpg
    xiao8xiao1
    @xiao8xiao1
    @jkralik can you please tell me how to onboard the device to try.plgd.cloud , thanks
    use the otgc
    Jozef Kralik
    @jkralik

    @xiao8xiao1 There are two other thinks which you need to do:

    1. at first you need to add certificate authority to the device - https://try.plgd.cloud/.well-known/ocfcloud-configuration (member cloud_certificate_authorities)
    2. you need to ACL for cloud to access the device - otherwise cloud cannot get/update resources.

    And the end you can set Cloud Configuration.

    BTW: we have android/ios application which do all these steps automatically: https://play.google.com/store/apps/details?id=dev.plgd.client , https://apps.apple.com/ch/app/plgd/id1536315811

    xiao8xiao1
    @xiao8xiao1
    @jkralik yes, the plgd.client can onboard device to cloud. but the plgd.client can't control device like otgc.
    and can you tell me how to use the otgc add certificate authority to the device ? can you give me a screenshot ?
    i want to onboard device to cloud and then control the devie in one application , is it possible?
    David Márquez Fàbrega
    @DavidMarquezF
    As far as I know the plgd app is only used to onboard the device to the cloud. It cannot do anything more. There is the OTGC mobile app but I don't know if it supports setting up the cloud from there (at least a few months ago it didn't). The only way you can control the device that I know of is either through the webpage or by doing the whole process using the onboarding CMD tool
    Is it possible to set up a local development bundle and make it work with the mobile app?
    I've seen a commit in this branch talking about it, but is it possible yet? https://github.com/plgd-dev/plgd.mobile/blob/v2update/lib/services/ocfClient.dart
    Ondrej Tomcik
    @ondrejtomcik
    @DavidMarquezF yes, you can use plgd mobile app with the bundle. When you start it, at the bottom you can set a custom plgd cloud endpoint. This can be bundle.
    David Márquez Fàbrega
    @DavidMarquezF
    Okay, then maybe I'm missing something simple, but if I start the local server in my PC and use the plgd dev app from my phone, using Configure custom plgd cloud endpoint and using my local IP gives an error: The configuration was fetched but was invalid
    Well apparently now I get the same error even if I press continue to try.plgd.cloud. I've tried clearing cache and app data but it still does the same
    Ondrej Tomcik
    @ondrejtomcik
    :) Yes, there is a new version already released in the appstore...
    Which doesn’t match currently released plgd cloud. Change is still on a MR. On monday there will be new bundle.
    David Márquez Fàbrega
    @DavidMarquezF
    The last version available for me is the 1.2.0
    Ondrej Tomcik
    @ondrejtomcik
    Yes. It was released yesterday.
    Do you need also UI ?
    plgd ui ?
    we are changing contract before official v2 release, so I can give you bundle but UI doesn’t work there yet.
    David Márquez Fàbrega
    @DavidMarquezF
    I have been using the CMD tool all along but I have to present the project and it's always nicer if done with a good-looking app hahah
    David Márquez Fàbrega
    @DavidMarquezF

    :) Yes, there is a new version already released in the appstore...

    You mean in the try.plgd.cloud? Because the appstore release date I have says Nov24, 2020

    Ondrej Tomcik
    @ondrejtomcik
    When do you have a presentation ?