by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Julian
    @JulianFeinauer
    That was @thjaeckle AFAIR but yes thats a good ressource. I will check if I have an example with MQTT somewhere also. And I think there also was a pretty refined one during the Tings Network Conference, also from Thomas
    danielanghell
    @danielanghell
    I will check it out if I find anything that might help me on that, as well, thank you for your kind suggestions
    In fact my main aim is what I said before, to automate some devices and communicate each other using your platform, but I have to start it step by step I guess
    Julian
    @JulianFeinauer
    Yes it takes some time to get used to it but then everythings is pretty logical
    At least was my impression
    danielanghell
    @danielanghell
    I have no doubt on that for sure, but at the first view it's pretty complex and big, moreover coming from an untrained MQTT and IoT stuff prespective as mine
    Julian
    @JulianFeinauer
    Yep. Full ack :D
    danielanghell
    @danielanghell
    Anyway, one wonder of mine was do I actually have to modify anything from the java code in order to achieve my mentioned goals?
    Julian
    @JulianFeinauer
    No, nothing.
    Can simply use the deployments that are provided in the repo and its just configuration from there
    No need to compile anything (besides your client code ofc)
    danielanghell
    @danielanghell
    Allright then, so I have to write the client code somewhere
    I will search for this since I assume it's beyond your scope
    Julian
    @JulianFeinauer
    Well.. what you see in the Examples you noted
    Someone has to send the messages to MQTT or via HTTP
    or react to them
    This is what I mean with client code
    If you already send stuff there you vcan use the Mapping Engine to get the right infos for Ditto out of your existing message format (see the Blog Post from @thjaeckle during Things Network Conference)
    danielanghell
    @danielanghell
    Great then, thank you for explanations
    Julian
    @JulianFeinauer
    you are welcome : )
    danielanghell
    @danielanghell
    I don't receive e message back from the smartcoffee when I'm asking "how are you". I receive 408 Request Timeout instead
    danielanghell
    @danielanghell
    I would like to ask you about the message that I have to send from hiveMQ client GUI in order to let's say heat up the water tank (from your coffee machine example) because I just cannot figure out
    Julian
    @JulianFeinauer
    Hey everybody. Is there a possiblity with the Ditto Clients libary to update (put!) multiple Properties at once?
    AFAIR TwinFeatureHandle.setProperties(xxx) overrides all properties in the feature, right?
    Thomas Jaeckle
    @thjaeckle
    Hi @JulianFeinauer. That's currently not possible and an already existing issue: eclipse/ditto#288
    Together with implementing that issue the client would also be enhanced to support that
    Julian
    @JulianFeinauer
    Ah, nice. Yes, I solved it now differently in my client but then you loose „transactional“ behavior and in theory things could go out of sync. Cool to know that its already tackedl @thjaeckle , thanks!
    Thomas Jaeckle
    @thjaeckle
    @/all we just released Ditto 1.1.2 with some bugfixes, see: https://www.eclipse.org/ditto/release_notes_112.html
    Docker images are already available, Maven central should display the artifacts within 1-2 hours
    hadhemiGH
    @hadhemiGH
    hi I am trying to create a policy but got curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
    request format : curl -X PUT -u ditto:ditto -H 'Content-Type: application/json' -d '{
    "attributes": {
    "location": "Tunisia"
    },
    "features": {
    "temperature": {
    "properties": {
    "value": null
    }
    },
    "humidity": {
    "properties": {
    "value": null
    }
    }
    }
    }' https://192.168.99.100:32565/api/2/policies/hono-ditto-policy
    Julian
    @JulianFeinauer
    hadhemiGH
    @hadhemiGH
    thanks now it works
    Julian
    @JulianFeinauer

    thanks now it works

    +1

    nitin
    @jnitin
    Hi all , I am looking into how to integrate 3D models for eclipse ditto models . Please share any information if any one is aware ? One opensource library i am checking is imodel.js . https://www.imodeljs.org/
    Thomas Jaeckle
    @thjaeckle
    Hi @jnitin - I am not aware that someone already integrated 3D models into Ditto
    We would highly appreciate if you find out how you can integrate them into Ditto. Ditto itself has by default a payload limitation of 100kB per digital twin - but that can be configured to be higher.
    I guess a 3D model could require more storage.
    Julian
    @JulianFeinauer
    @jnitin , @thjaeckle perhaps an approach like @lionax_gitlab uses it (forwarding it to another „blob“ storage) could be a nice way to go at first
    See here: https://github.com/eclipse/ditto/issues/545#issuecomment-620712787 for his explanation and overview
    nitin
    @jnitin
    @JulianFeinauer @thjaeckle Thanks a lot. Will check the link provided.
    I would like to try Ditto and observed that sandbox environment is mentioned in documentation but not able to connect to Sandbox . Is sandbox environment available currently ?
    Thomas Jaeckle
    @thjaeckle
    oh snap - I'll (re)start it
    the sandbox does not run in a HA environment and needs restarts from time to time as the machine only has 1 CPU :/
    Julian
    @JulianFeinauer
    :)
    Thomas Jaeckle
    @thjaeckle
    @jnitin sandbox is up again
    nitin
    @jnitin
    @thjaeckle Thanks a lot . Able to use now .
    nitin
    @jnitin
    Hi As per understanding in ditto we can define any physical entity or thing using model specification in terms of attributes and features where as in vorto we have concept of information models to define any physical entity . For example coffee machine example is provided for both the packages . My query is what exactly is the difference when we can define any entity using any model or how they can be combined or mapped ? Any documentation ?
    nitin
    @jnitin
    This link i referred https://www.eclipse.org/ditto/basic-feature.html#vorto-example but not able to fully comprehend why we need to define using vorto when it can also be defined using ditto models itself.
    Julian
    @JulianFeinauer
    Vorto is the type of thing
    Ditto is a concrete thing
    Think of instance (ditto) vs type or class (vorto)
    Sometimes there is an advantage of having a predefined "type", sometimes not
    nitin
    @jnitin
    @JulianFeinauer Thanks for nice explanation !