Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RA02G Decoder for Netvox Sensor over LoRaWAN #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nishchayjeet
Copy link

Decoder Description

Explain the functionality of your decoder or any other relevant information.

Type of change

  • Adding a new Decoder of Connector
  • Adding a new Decoder of Network
  • Update or fixing an issue in existing Decoder

Decoder Information and Payload to test and review

  • Documentation of the hardware or protocol:
  • Payload of example the test the decoder:

Checklist for Adding a New Decoder

  • Created a new folder under ./decoders/network/ or ./decoders/connector/ with the name of your decoder.
  • Added a network.jsonc or connector.jsonc file that follows the structure defined in ./schema/.
  • Created version folders and added manifest.jsonc files for each version.
  • Followed the folder structure guidelines for manufacturer and sensor/device model.
  • The code has unit test and it's in TypeScript.

Additional Notes

Please add any other information that you think is important.

@nishchayjeet
Copy link
Author

This connector is currently working successfully on our CityKinect account, under the device name "Netvox RA02G." All features and parsing functionalities have been tested and validated. Please let us know if you need any further information.

@Freddyminu
Copy link
Collaborator

Thank you @nishchayjeet I'll be reviewing this PR tomorrow and hopefully it will be approved! :)

@Freddyminu Freddyminu self-requested a review December 5, 2024 19:20
Copy link
Collaborator

@Freddyminu Freddyminu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on the first commit! The only thing left is the unit test. Thanks for your contribution!

@@ -0,0 +1 @@
# Wireless Cigarette Smoke, Vaping, and Bullying Alarm Sensor over LoRaWAN™
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the #

{
"$schema": "../../../../../schema/connector_details.json",
"description": "../description.md",
"install_text": "\nRA02G is a smart indoor sensor designed for high-reliability wireless control and alarm detection. It detects smoke, noise, and tampering, providing versatile alarm functionality over LoRaWAN™.\n\nMore information about this device can be found [here.](http://www.netvox.com.tw/products.asp?pro=RA02G) \n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove or update the link, It's broken.

"device_annotation": "Wireless cigarette smoke, vaping, and anti-tampering alarm sensor with customizable audio alerts and power outage detection.",
"device_parameters": [],
"networks": [
"../../../../network/lorawan-citykinect/v1.0.0/payload.js",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder: Make sure you've added all the networks this connector can be used with.

*/

const ignore_vars = [];

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add unit tests in order to make sure the connector is working. Please use the Netvox R312a as an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants