Skip to content

Commit

Permalink
Adding ewattch devices (#819)
Browse files Browse the repository at this point in the history
adding following devices: Squid pro, squid, tyness, ambiance, tynode
  • Loading branch information
GuillaumeEwattch authored Sep 4, 2024
1 parent 6df6222 commit 70aa6c7
Show file tree
Hide file tree
Showing 20 changed files with 906 additions and 0 deletions.
40 changes: 40 additions & 0 deletions vendor/ewattch/EwattchLorawanDecoder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/ewattch/ambiance-codec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Uplink decoder decodes binary data uplink into a JSON object (optional)
# For documentation on writing encoders and decoders, see: https://www.thethingsindustries.com/docs/integrations/payload-formatters/javascript/
uplinkDecoder:
fileName: ewattchlorawandecoder.js
# Examples (optional)
Binary file added vendor/ewattch/ambiance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
142 changes: 142 additions & 0 deletions vendor/ewattch/ambiance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
name: ambiance # Device name can not contain the vendor name
description: LoRa® – 5 in 1 sensor to measure Temperature, CO2, brightness, humidity and presence.

# Hardware versions (optional, use when you have revisions)
hardwareVersions:
- version: '1.0'
numeric: 1

# Firmware versions (at least one is mandatory)
firmwareVersions:
- # Firmware version
version: '1.0'
numeric: 1
# Corresponding hardware versions (optional)
hardwareVersions:
- '1.0'

# Firmware features (optional)
# Valid values are: remote rejoin (trigger a join from the application layer), transmission interval (configure how
# often he device sends a message).
features:
- remote rejoin
- transmission interval

# LoRaWAN Device Profiles per region
# Supported regions are EU863-870, US902-928, AU915-928, AS923, CN779-787, EU433, CN470-510, KR920-923, IN865-867,
# RU864-870
profiles:
EU863-870:
# Optional identifier of the vendor of the profile. When you specify the vendorID, the profile is loaded from
# the vendorID's folder. This allows you to reuse profiles from module or LoRaWAN end device stack vendors.
# If vendorID is empty, the current vendor ID is used. In this example, the vendorID is the current vendor ID,
# which is verbose.
vendorID:
# Identifier of the profile (lowercase, alphanumeric with dashes, max 36 characters)
id: ewattch-profile-868
lorawanCertified: true
codec: ambiance-codec

# Type of device (optional)
# Valid values are: devkit, module, cots
deviceType: cots

# Sensors that this device features (optional)
# Valid values are:
# 4-20 ma, accelerometer, altitude, analog input, auxiliary, barometer, battery, button, bvoc, co, co2, conductivity, current, digital input,
# digital output, dissolved oxygen, distance, dust, energy, gps, gyroscope, h2s, hall effect, humidity, iaq, infrared, leaf wetness, level,
# light, lightning, link, magnetometer, moisture, motion, nfc, no, no2, o3, occupancy, optical meter, particulate matter, ph, pir,
# pm2.5, pm10, potentiometer, power, precipitation, pressure, proximity, pulse count, pulse frequency, radar, rainfall, reed switch, rssi,
# sap flow, smart valve, smoke, snr, so2, solar radiation, sound, strain, surface temperature, switch, temperature, tilt, time, turbidity,
# tvoc, uv, vapor pressure, velocity, vibration, voltage, water potential, water, weight, wifi ssid, wind direction, wind speed.
sensors:
- co2
- humidity
- iaq
- battery
- light
- motion
- temperature

# Dimensions in mm (optional)
# Use width, height, length and/or diameter
dimensions:
width: 25
length: 86
height: 86

# Weight in grams (optional)
weight: 80

# Battery information (optional)
battery:
replaceable: true
type: AA

# Operating conditions (optional)
operatingConditions:
# Temperature (Celsius)
temperature:
min: 5
max: 60
# Relative humidity (fraction of 1)
relativeHumidity:
min: 0.10
max: 0.80

# IP rating (optional)
ipCode: IP20

# Key provisioning (optional)
# Valid values are: custom (user can configure keys), join server and manifest.
keyProvisioning:
- custom
- join server

# Key programming (optional)
# Valid values are: bluetooth, nfc, wifi, ethernet (via a webpage), serial (when the user has a serial interface to set the keys)
# and firmware (when the user should change the firmware to set the keys).
keyProgramming:
- serial

# Key security (optional)
# Valid values are: none, read protected and secure element.
keySecurity: none

# Firmware programming (optional)
# Valid values are: serial (when the user has a serial interface to update the firmware), ethernet, fuota lorawan (when the device
# supports LoRaWAN FUOTA via standard interfaces) and fuota other (other wireless update mechanism).
firmwareProgramming:
- serial

# Product and data sheet URLs (optional)
productURL: https://ewattch.com/en/capteurs-lora-iot/capteur-iot-lora-lorawan-ambiance/
dataSheetURL: https://ewattch-documentation.com/?page_id=1232&lang=en

# Photos
photos:
main: ambiance.png # Image needs to have a transparent background

# Youtube or Vimeo Video (optional)
videos:
main: https://youtu.be/GVIfryrDYrQ

# Regulatory compliances (optional)
compliances:
safety:
- body: IEC
norm: EN
standard: '61010'
radioEquipment:
- body: IEC
norm: EN
standard: 61000-6-2
- body: IEC
norm: EN
standard: 61000-6-3
- body: IEC
norm: EN
standard: '55022'
- body: IEC
norm: EN
standard: '300220'
Loading

0 comments on commit 70aa6c7

Please sign in to comment.