diff options
author | jaseg <git@jaseg.net> | 2018-04-24 10:07:25 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-04-24 10:07:25 +0200 |
commit | ca6a4353cfe9c36350bd9c3b6abe96eaa5d38e89 (patch) | |
tree | 489ba01b1529f5b33569f5486a2ad5c98e39775e /firmware/olsndot.py | |
parent | 6936655d451a1d5b7160b0d06e235b313b3527d2 (diff) | |
download | olsndot-ca6a4353cfe9c36350bd9c3b6abe96eaa5d38e89.tar.gz olsndot-ca6a4353cfe9c36350bd9c3b6abe96eaa5d38e89.tar.bz2 olsndot-ca6a4353cfe9c36350bd9c3b6abe96eaa5d38e89.zip |
More pretty graphs, and initial correction calculation
Diffstat (limited to 'firmware/olsndot.py')
-rw-r--r-- | firmware/olsndot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/olsndot.py b/firmware/olsndot.py index 016ac3a..557226a 100644 --- a/firmware/olsndot.py +++ b/firmware/olsndot.py @@ -112,8 +112,8 @@ class Olsndot: def __str__(self): st = self.fetch_status() - return '<Olsndot@{} {}.{} {}ch*{} up {}s vcc {:4.3}V temp {}C>'.format( - self.addr, self.fw_ver, self.hw_ver, self.nchannels, self.channel_format, + return '<Olsndot {}.{}@{} {}ch*{} up {}s vcc {:4.3}V temp {}C>'.format( + self.fw_ver, self.hw_ver, self.addr, self.nchannels, self.channel_format, st.uptime_s, st.vcc_mv/1000, st.temp_celsius) @property |