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

R3.4.0 to master #611

Merged
merged 133 commits into from
Jul 19, 2019
Merged

R3.4.0 to master #611

merged 133 commits into from
Jul 19, 2019

Conversation

sidey79
Copy link
Contributor

@sidey79 sidey79 commented Jul 18, 2019

  • Please check if the PR fulfills these requirements
  • Tests for the changes have been added / modified (needed for for bug fixes / features)
  • commandref has been added / updated (needed for bug fixes / features)
  • CHANGED has been updated (needed for bug fixes / features)
  • What kind of change does this PR introduce?

Bring current development version to master

  • What is the current behavior?
    Version 3.3.x is master

  • What is the new behavior (if this is a feature change)?

Version 3.4.0 is at master

sidey79 and others added 30 commits February 17, 2019 23:30
Version 3.4.0 dev marked
generated controls file
* added option reconstructBit to protocols.hash, update ID 87 + 88 (#510)
added doc option reconstructBit
added reconstructBit to to the ids 87, 88 and 91.1 and changed formatting
added clientmodule	=> 'SD_Rollo_Keeloq' and preamble => 'P87#' to ID 87
added clientmodule	=> 'SD_Rollo_Keeloq' and preamble => 'P88#' to ID 88
Added SD_Rollo_Keeloq to $clientsSIGNALduino and %matchListSIGNALduino

* Update 88_SIGNALduino_TOOL.pm
- revised code + doc
- added option Durration_of_Message
- fix filtre option
* update protocols.hash  + revised 00_SIGNALduino.pm

- revised 00_SIGNALduino.pm, rename modul (new modul for keeloq devices, not only rollo´s)
- revised protocols doc
- added doc Waeco_MA650_TX
- revised 14_SD_UT.pm for new model  KL_RF01 -> ESTO Lighting GmbH
- revised doc Refsta Topdraft -> clone NEFF
- revised signalduino_protocols.hash for KL_RF01
* 98_unittest.pm

Output of $ret changed to avoid warning
- rename options change_bitMsg_to_hexMsg & change_hexMsg_to_bitMsg
- added new options reverse_Input, change_dec_to_hex, change_hex_to_dec
- update file´s and added text with doc
- new module SD_Keeloq for devices (without key: unencrypted data is output | mit Schlüssel: verschlüsselten Daten werden ausgegeben und senden ist möglich)
- remove Roto from 90_SIGNALduino_un.pm module
- revised signalduino_protocols.hash
- revised code to package
- fix test syntax for check
Added new test which checks some of the defaults set in SIGNALduino_Define
* Update 00_Signalduino.pm: 

Bei MS-Daten kann es sein, dass das letzte Bit nur teilweise in dem Datensatz repräsentiert ist. Sollte sich in diesem Fall aus dem letzten Zeichen und den Protokolldefinitionen One und Zero eine eindeutige Zuordnung ergeben, so wird diese Zuordnung dekodiert

Bei MU-Nachrichten kann es vorkommen, daß die zweite Hälfte des letzten Bits fehlt.
Wenn in der Protokolldefinition "reconstructBit => 1" steht, dann wird das letzte Bit rekonstruiert.


new sub SIGNALduino_FillPatternLookupTable to fill lookup tables


Parse_MS optimized:

Längenprüfung optimiert. 
- Die Prüfung auf length_min am Anfang ist nun einfacher und genauer.
- Die Längenprüfung ist nun vor dem padding.
debug und log Ausgaben ergänzt.

modulematch replaced with sub SIGNALduino_moduleMatch 

included PR #491 from MoskitoHorst

* test/test_MS_1-definition.txt

added Tests with and withoud reconsruct bit


* test/test_MS_2-definition.txt

- Load test Data from test/test_loadprotohash-ok.hash
- Read test input and results from hash
- test min, max length with and without reconstructBit

changed substr to much faster chop and replace length min/max check with SIGNALduino_TestLength
* Update 14_SD_RSL.pm
- fix #484 (now, IODev is the Dev how dispatch)
- revised log output´s
- fix IODEV not correctly assigned #484
- fix undef syntax
- revised doc + revised log output´s

- revised state on TOOL_File
* 00_SIGNALduino.pm

Moved Protocol hash into a package SD_Protocols and load it
Implement unload of Package SD_Protocols to allow easy overwrite
Display Version of Package SD_Protocols Internal versionProtocols

* Unittest

- Rename test/test_loadprotohash-ok.hash -> test/test_loadprotohash-ok.pm
- Rename test/test_loadprotohash-nok.hash -> test/test_loadprotohash-nok.pm

Modified Unittests to load package instead of hash file
- test/test_developid_1-definition.txt
- test/test_loadprotohash-definition.txt

* test/test_loadprotohash-definition.txt
- reload normal hash after test is done

* test/test_defineDefaults-definition.txt
- Added test for Internal versionProtocols

* Makefile
- remove copy of *.hash
- Add copy of *.pm from test folder
* 00_SIGNALduino.pm

Remove static debug flag
* Update signalduino_protocols.pm
- ID59 remove modulmatch (fix dispatch)
- ID87 + ID91 +91.1 added reconstructBit
- ID 73 remove developId => 'y',
- added new model TR-502MSV (LIBRA GmbH) [LIDL]
- revised doc
* build_controls_list.sh

Remove .hash from script and put existing .hash files to move to unused section
deleted not longer uses build_controls_list.pl
* 14_SD_Keeloq.pm - fix PERL WARNING
- fix PERL WARNING if hlen a other typ of device
- revised doc
- rename readings to fhem batterystate standard
- revised code $VLOW + $RPT
Travis CI and others added 16 commits June 16, 2019 20:00
- added doc for new device from IT modul
- IT module must get a small patch for the device with PT2262 compatible IC
* new weather station Auriol AFW 2 A1, IAN: 297514

Decoding sensor for weather station Auriol AFW 2 A1, IAN: 297514,
protocol 7, 14_SD_WS07.pm

* add sensor in device specific help

* Add reading "sendmode"

* change regex

* change regex 00_SIGNALduino.pm

* Change channel undone

The change of channel and send mode occurs only with new station Auriol
AFW 2 A1.

* change regex

change regex in 14_SD_WS07.pm and 00_SIGNALduino.pm
* 14_SD_UT.pm - fix
- fixed Manax creation (no device after dispatch and model selection)
- fixed ESTO KL_RF01
- added commandref & information
- rename model Manax to RC_10 (Manax | mumbi are the same typ´s)
- revised commandref
- Forum https://forum.fhem.de/index.php/topic,94327.msg954252.html#msg954252
ReconstructBit added, which enabled calculation of the checksum.
* tests/test_DeviceData_rmsg-definition.txt

added test which loads `https://github.com/RFD-FHEM/SIGNALduino_TOOL/blob/dev_JSON_v1/FHEM/lib/SD_Device_ProtocolList.json` and tests if rmsg delivers expected dmsg response 

Skip tests for protocols which are not available, and which have no internal data

Provide a failure if no test was running

test of number of repeats / dispatches in a TODO code block, to prevent negativ output if this one fails.

* .travis.yml

added Net::SSLeay to the needed modules (support GetFileFromURL)


* report_failure.sh
New script, writes failed message to github conversation if tests failed
Script which reports error to aws api if build state failes (after_failure) and the commit is a pull request
- Manax and mumbi device (RC_10) added send commands
https://forum.fhem.de/index.php/topic,94327.msg955380.html#msg955380
- all sets A B C D to the correct state
Fixed commandref errors
@sidey79 sidey79 mentioned this pull request Jul 18, 2019
24 tasks
@sidey79 sidey79 marked this pull request as ready for review July 18, 2019 22:27
@sidey79 sidey79 requested review from HomeAutoUser and elektron-bbs and removed request for HomeAutoUser July 18, 2019 22:28
@sidey79 sidey79 added this to the 3.4 milestone Jul 18, 2019
@sidey79 sidey79 requested a review from Ralf9 July 18, 2019 22:29
@coveralls
Copy link

coveralls commented Jul 18, 2019

Pull Request Test Coverage Report for Build 1612

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at ?%

Totals Coverage Status
Change from base Build 1380: 0.0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls

1 similar comment
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1612

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at ?%

Totals Coverage Status
Change from base Build 1380: 0.0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls

@sidey79 sidey79 merged commit 399c6e1 into master Jul 19, 2019
@sidey79 sidey79 deleted the r3.4.0 branch October 28, 2019 21:01
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.

6 participants