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

Danielhiversen / pyRFXtrx / 278 / 4
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2017 09:09AM UTC
Files 2
Run time 0s
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

11 Feb 2017 09:09AM UTC coverage: 92.521% (-0.2%) from 92.689%
TOXENV=py27

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%)

0.93 hits per line

Source Files on job 278.4 (TOXENV=py27)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 278
  • Travis Job 278.4
  • e25ed002 on github
  • Prev Job for TOXENV=py27 on master (#262.4)
  • Next Job for TOXENV=py27 on master (#279.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc