Package

com.ubirch.avatar.model.db

device

Permalink

package device

Visibility
  1. Public
  2. All

Type Members

  1. case class AvatarState(deviceId: String, desired: Option[String] = Some("{}"), reported: Option[String] = Some("{}"), deviceLastUpdated: Option[DateTime] = Some(DateTime.now()), avatarLastUpdated: Option[DateTime] = Some(DateTime.now())) extends Product with Serializable

    Permalink

    author: cvandrei since: 2017-06-13

    author: cvandrei since: 2017-06-13

    deviceId

    UUID of related device

    desired

    JSON with changed device config and states from other sensors (actor -> sensor)

    reported

    (JSON) most recent state reported by device

    deviceLastUpdated

    most recent update of _reported_

    avatarLastUpdated

    most recent update of _desired_

  2. case class Device(deviceId: String, groups: Set[UUID] = Set.empty, deviceTypeKey: String = "unknownDeviceType", deviceName: String = "unnamedDevice", hwDeviceId: String = "unknownHwDeviceId", hashedHwDeviceId: String = "unknownHwDeviceId", tags: Set[String] = Set(), deviceConfig: Option[JValue] = None, deviceProperties: Option[JValue] = None, subQueues: Option[Set[String]] = None, pubQueues: Option[Set[String]] = ..., avatarLastUpdated: Option[DateTime] = None, deviceLastUpdated: Option[DateTime] = None, updated: Option[DateTime] = None, created: DateTime = DateTime.now(DateTimeZone.UTC)) extends Product with Serializable

    Permalink

    author: cvandrei since: 2017-05-12

Ungrouped