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

New Device (WG-PB12V1) #494

Merged
merged 3 commits into from Apr 1, 2017
Merged

New Device (WG-PB12V1) #494

merged 3 commits into from Apr 1, 2017

Conversation

ciaranmooney
Copy link
Contributor

@ciaranmooney ciaranmooney commented Mar 11, 2017

This code started is a modified version of fineoffset.c which is included with rtl_433. The fineoffset.c device does not correctly decode the information in the packet.

The format of the packet seems to be similar to LaCrosse, but with no humidity data included. http://fredboboss.free.fr/articles/tx29.php

I have added the packet bits to the formatted output ("io"), as I am still decoding some of the unknown bits.

I have begun adding data to the rtl_433_tests repository but do not have a complete collection of data dumps.

This code started is a modified version of fineoffset.c which
is included with rtl_433.

Format of packat seems to be similar to LaCrosse, but with no
humidity data included.
include/data.h Outdated
DATA_DOUBLE, /* pointer to a double is stored */
DATA_STRING, /* pointer to a string is stored */
DATA_DOUBLE, /* pointer to a double is stored */
DATA_STRING, /* pointer to a string is stored */
DATA_ARRAY, /* pointer to an array of values is stored */
Copy link
Owner

Choose a reason for hiding this comment

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

stray change, remove this

@@ -44,6 +44,7 @@ add_executable(rtl_433
devices/fineoffset_wh1080.c
devices/generic_remote.c
devices/generic_temperature_sensor.c
devices/wg_pb12v1.c
Copy link
Owner

Choose a reason for hiding this comment

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

Is this indent correct.

@merbanan
Copy link
Owner

Looks good, I will merge after the comments are addressed and there are sample signals in the test repository.

---

Corrected the indentation of src/CMakelists.txt as per merbanan comment.
Also moved the filepath to an alphabetical position.

Reverted include/data.h back to original due to stray change,
as per merbanan comment.

Misc Changes
---

During testing found that the MAXPROTOCOLS value in include/data.h had
to be increased by one to 76.

Found string termination issue in io data output during testing.
@ciaranmooney
Copy link
Contributor Author

I have amended the files that you commented on. There are also tests now and I will submit these shortly to the rtl_433_tests repo.

Forgive my naivity, but I seem to have introduced a conflict with the change of MAXPROTOCOLS value. This was to ensure the tests were all run.

@ciaranmooney
Copy link
Contributor Author

Please forgive the reminder. I believe all your criteria have been fulfilled.

@merbanan merbanan merged commit 31bf6f2 into merbanan:master Apr 1, 2017
panarom added a commit to panarom/rtl_433 that referenced this pull request Apr 9, 2017
it looks like an erroneous entry was introduced into src/Makefile.am: devices/generic_temperature_sensor_2.c was entered instead of devices/wg_pb12v1.c in commit 31bf6f2 (PR merbanan#494), causing compilation errors (using autoconf installation steps)
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.

None yet

2 participants