Skip to content

Question about the circuit diagram of a software thermostat #38

@businka

Description

@businka

I've studied the documentation, but I still have difficulty understanding the approach.
Could you explain the principle using the example of a thermostat?

I want to make a software thermostat that switches the actuator depending on the temperature.

I got acquainted with the design of the thermostat device on the page
https://openconnectivityfoundation.github.io/devicemodels/docs/index.html
I understand correctly that the standard requires you to place two resources with the type "oic.r.temperature" and preset names "Temperature (Sensor)", "Temperature (Actuator)", the "href" to the resource can be anything. Those. other devices that want to get the temperature of the sensors of all thermostats should look for devices with the type "oic.d.thermostat" and they have resources with the rt include "oic.r.temperature" and name="Temperature (Sensor)"

Should I create my own resource type to configure my software thermostat? can I place my resource type with settings in existing resources (for example oik.con)?

How would you suggest placing the properties:

  • link to oсf device actuator
  • link to oсf device sensor
  • operating mode - heating / cooling
  • current status of the thermostat - on / off
  • current state of the actuator - on / off
  • current sensor temperature
  • desired temperature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions