• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Danielhiversen / pyRFXtrx / 278
91%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2017 09:09AM UTC
Jobs 6
Files 2
Run time 41s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
278

push

travis-ci

Danielhiversen
Added ELEC5 paket type (#48)

* added ELEC5 paket type

regarding: #47

unfortunatly the addidion doesn’t work, though i think it should. can’t find the error, but i get this in the home assistant logs:

``` 
  File "/Users/ix/.homeassistant/deps/RFXtrx/__init__.py", line 693, in _connect
  File "/Users/ix/.homeassistant/deps/RFXtrx/__init__.py", line 606, in receive_blocking
  File "/Users/ix/.homeassistant/deps/RFXtrx/__init__.py", line 550, in parse
  File "/Users/ix/.homeassistant/deps/RFXtrx/__init__.py", line 418, in __init__
  File "/Users/ix/.homeassistant/deps/RFXtrx/lowlevel.py", line 134, in __getattr__
 ```
also added this in __init__.py row 410:
```
        if isinstance(pkt, lowlevel.Energy5):
            self.values['Energy usage'] = pkt.currentwatt
            self.values['Total usage'] = pkt.totalwatthours
```

* added battery

with that he battery attribute i got rid of the errors and it basically works now.

* add attributes for energy5

* remove battery for revolt meter

* remove battery for revolt meter

* initial try to test Elec5

* correct voltage

* another try to get the right values

* this should fix the tests

* remove trailing whitespace

* fix blank lines and long lines

* fix redundant backslash

* fix trailing whitespace

* use actual packet and values for testing

1534 of 1658 relevant lines covered (92.52%)

3.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 278.1 (TOXENV=py34) 11 Feb 2017 09:10AM UTC 0
92.52
Travis Job 278.1
2 278.2 (TOXENV=py35) 11 Feb 2017 09:10AM UTC 0
92.52
Travis Job 278.2
3 278.3 (TOXENV=py36) 11 Feb 2017 09:10AM UTC 0
92.52
Travis Job 278.3
4 278.4 (TOXENV=py27) 11 Feb 2017 09:09AM UTC 0
92.52
Travis Job 278.4
5 278.5 (TOXENV=lint) 11 Feb 2017 09:10AM UTC 0
Travis Job 278.5
6 278.6 (TOXENV=py36) 11 Feb 2017 09:10AM UTC 0
Travis Job 278.6
Source Files on build 278
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #278
  • e25ed002 on github
  • Prev Build on master (#262)
  • Next Build on master (#279)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc