Aquileo | Recent changes to ticketshttps://sourceforge.net/p/ws2300/tickets/2017-02-04T17:36:18.634000ZRecent changes to ticketsAquileo | Reading out sensor while radio connexion is faulty results in invalid values2017-02-04T17:36:18.634000Z2017-02-04T17:36:18.634000ZLaurent Gougeonhttps://sourceforge.net/u/laurentgougeon/https://sourceforge.netc30bb38aecb7f7bcbc9f1f8a6b1af2c5f4cf8a20<div class="markdown_content"><p>Hello,</p>
<p>Not sure what we should do there, knowing the radio is lost (cn is not 0 or 15, but it's not 3 in fact)<br/>
<strong>cn connection type ............... 0x54d:1 cable=0,lost=3,wireless=15,unknown-X</strong></p>
<p>reading out sensors in these conditions lead to get invalid BCD nibbles, which are converted blindly leading to invalid reports.</p>
<p>I admit user may filter out results if cn returns anything different from 0 or 15, but should the BCD conversion fail and return NaN (or equivalent) when any nibble is invalid (0xA) ?</p>
<p>pi@PIHOME:~/ws2300/ws2300-code$ python /home/pi/ws2300/ws2300-code/ws2300.py /dev/ttyUSB1 ot<br/>
out temp = -20.00 (0,0,10,10)<br/>
99.88 rb start<br/>
99.88 re C 06:c0-- C 06:02--<br/>
0.73 rd 82:00 9a:16 b2:2c 8a:31??<br/>
0.79 re C 06:02--<br/>
0.85 rd 82:00 9a:16 b2:2c 8a:32 ca:32, :909121<br/>
1.00 rb end<br/>
1.00 rb start<br/>
1.00 re C 06:02--<br/>
1.07 rd 82:00 8e:13 9e:23??<br/>
1.11 re C 06:02--<br/>
1.17 rd 82:00 8e:13 9e:27 8e:33 ca:32, :<strong>00aaaa</strong><br/>
1.28 rb end</p>
<p>pi@PIHOME:~/ws2300/ws2300-code$ python /home/pi/ws2300/ws2300-code/ws2300.py /dev/ttyUSB1 cn<br/>
connection type = unknown-11 (11,)<br/>
19.02 rb start<br/>
19.02 re C 06:80-- C 06:-- C 06:02--<br/>
20.14 rd 82:00 9a:16 b2:2c 8a:32 ca:32, :909121<br/>
20.26 rb end<br/>
20.26 rb start<br/>
20.26 re C 06:02--<br/>
20.32 rd 82:00 96:15 92:24 b6:3d c6:31, :4b4b<br/>
20.46 rb end</p></div>Aquileo | #2 forecast token (for) leads to syntax error in display mode2017-01-30T22:30:06.340000Z2017-01-30T22:30:06.340000ZRussell Stuarthttps://sourceforge.net/u/rstuart/https://sourceforge.net05fafce0b0c3a9c6a9a10c3fbda816b3e3d7fd0d<div class="markdown_content"><ul>
<li><strong>status</strong>: open --> closed</li>
<li><strong>assigned_to</strong>: Russell Stuart</li>
</ul></div>Aquileo | forecast token (for) leads to syntax error in display mode2017-01-30T11:09:18.712000Z2017-01-30T11:09:18.712000ZLaurent Gougeonhttps://sourceforge.net/u/laurentgougeon/https://sourceforge.net31cec1e056dcb99515119bd97c4aa9f806841949<div class="markdown_content"><p>Hello,</p>
<p>noticed an issue with display mode for forecast.</p>
<p>python /home/pi/ws2300/ws2300-code/ws2300.py /dev/ttyUSB1 for<br/>
forecast = cloudy</p>
<p>python /home/pi/ws2300/ws2300-code/ws2300.py /dev/ttyUSB1 display 'ws.for[]'<br/>
ws2300.py: syntax error in field "ws.for[]".</p>
<p>Looks like 'for' is interpreted as some python token.</p>
<p>I suggest to change token to 'fore' in ws2300.py (tested OK on my wS2355):</p>
<p>Measure(0x26b, "<strong>fore</strong>", conv_fore, "forecast")</p>
<p>python /home/pi/ws2300/ws2300-code/ws2300.py /dev/ttyUSB1 fore<br/>
forecast = cloudy</p>
<p>python /home/pi/ws2300/ws2300-code/ws2300.py /dev/ttyUSB1 display 'ws.fore[]'<br/>
1</p>
<p>Thanks !<br/>
Laurent</p></div>Aquileo | forecast token (for) leads to syntax error in display mode2017-01-30T11:09:18.712000Z2017-01-30T11:09:18.712000ZLaurent Gougeonhttps://sourceforge.net/u/laurentgougeon/https://sourceforge.net3e23890e2ed6a87ea63f833bdcd4f745717c4c67<div class="markdown_content"><p>Ticket 2 has been modified: forecast token (for) leads to syntax error in display mode<br/>
Edited By: Russell Stuart (rstuart)<br/>
Status updated: u'open' => u'closed'<br/>
Owner updated: None => u'rstuart'</p></div>Aquileo | #1 Man page wrong for first example2016-06-11T11:12:01.123000Z2016-06-11T11:12:01.123000ZRussell Stuarthttps://sourceforge.net/u/rstuart/https://sourceforge.net9c2b1de01245476cd88cfc29afa0989e2ef0b3dd<div class="markdown_content"><ul>
<li><strong>status</strong>: open --> closed</li>
<li><strong>assigned_to</strong>: Russell Stuart</li>
</ul></div>Aquileo | Man page wrong for first example2016-06-10T11:13:47.454000Z2016-06-10T11:13:47.454000ZGary Andersonhttps://sourceforge.net/u/saasmath/https://sourceforge.net4cedf76864854eb4ffce24168aaad79c07de1e2d<div class="markdown_content"><p>'indoor temp' should be 'in temp' and 'indoor humidity' should be 'in humidity'.</p>
<p>Since this is the first example given and it leads to an error, it may prevent first-time users from even being able to start using the code. Fortunatly, I tried it and ih short codes and found the problem after several attempts over a few days of trouble-shooting the problem.</p></div>Aquileo | Man page wrong for first example2016-06-10T11:13:47.454000Z2016-06-10T11:13:47.454000ZGary Andersonhttps://sourceforge.net/u/saasmath/https://sourceforge.net05c23df9cc49c1d8f9cf55153be838923724939a<div class="markdown_content"><p>Ticket 1 has been modified: Man page wrong for first example<br/>
Edited By: Russell Stuart (rstuart)<br/>
Status updated: u'open' => u'closed'<br/>
Owner updated: None => u'rstuart'</p></div>