Skip to content

Commit

Permalink
[netatmo] Semantics added to channel types
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo committed Jul 11, 2021
1 parent 6fc24e4 commit e4027c1
Show file tree
Hide file tree
Showing 4 changed files with 494 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,30 @@
<item-type>Switch</item-type>
<label>State</label>
<description>State of the camera</description>
<tags>
<tag>Switch</tag>
<tag>Power</tag>
</tags>
</channel-type>

<channel-type id="sd_status">
<item-type>Switch</item-type>
<label>SD State</label>
<description>State of the SD card</description>
<tags>
<tag>Status</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

<channel-type id="alim_status">
<item-type>Switch</item-type>
<label>Alim State</label>
<description>State of the power connector</description>
<tags>
<tag>Status</tag>
<tag>Power</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

Expand All @@ -77,40 +88,58 @@
<label>Is Local</label>
<description>Only for scope access_camera. If Camera and application requesting the information are on the same
network (true/false)</description>
<tags>
<tag>Status</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

<channel-type id="live_picture_url" advanced="true">
<item-type>String</item-type>
<label>Live Snapshot URL</label>
<description>Url of the live snapshot for this camera (need scope access_camera)</description>
<tags>
<tag>Status</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

<channel-type id="live_picture">
<item-type>Image</item-type>
<label>Live Snapshot</label>
<description>Camera Live Snapshot</description>
<tags>
<tag>Status</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

<channel-type id="live_stream_url" advanced="true">
<item-type>String</item-type>
<label>Live Stream URL</label>
<description>Url of the live stream for this camera</description>
<tags>
<tag>Status</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

<channel-type id="floodlightAutoMode">
<item-type>Switch</item-type>
<label>Floodlight Auto-Mode</label>
<description>State of the floodlight auto-mode</description>
<tags>
<tag>Switch</tag>
</tags>
</channel-type>

<channel-type id="floodlight">
<item-type>Switch</item-type>
<label>Floodlight</label>
<description>State of the floodlight</description>
<tags>
<tag>Switch</tag>
</tags>
</channel-type>

</thing:thing-descriptions>
Loading

0 comments on commit e4027c1

Please sign in to comment.