Not logged in : Login

About: http://ods-qa.openlinksw.com:8896/proxy-iri/1cdf86ef474bec46d0b1d44f260a0e07cd034edb     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:DiscussionForumPosting, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
datePublished
publisher
described by
mainEntityOfPage
interactionStatistic
author
position
  • #2
dateModified
  • 2018-12-20T16:27:55Z
articleBody
  • petter.wichman: Is it possible to have the webthing wrap a “power switch device” so that the isOn=true can: The power switch device is just semantics for the API consumer, so they know this is the property to toggle the power state. Other functionality should either be done inside your webthing (and you can do anything there) or may be a rule (like triggering a pulse when turning on power that then executes the ecations to send those serial commands). petter.wichman: If so, what kind of events? Afaik it uses the WebSocket part of the WoT protocol. If you’re using the webthing crate that should be implemented for you. The relevant messages are then sent to the gateway whenever you update a property, for example. After that the gateway has a rules system that would let you set up a rule that does the action you describe (if prop 1 has state A, set prop 2 to state I).
headline
  • Wrapping an onoff deivce with a webthing (rust)
is topic of
is container of of
is object of
is subject of
Faceted Search & Find service v1.17_git55 as of Mar 01 2021


Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software