Readme update

This commit is contained in:
2020-05-29 14:18:11 +02:00
parent f4554e8324
commit 458bc4ac9f

128
readme.md
View File

@@ -144,8 +144,136 @@ Before uploading the inte.conf, please change it to your desired values.
/usr/bin/ampy -p /dev/ttyUSB1 put boot.py
/usr/bin/ampy -p /dev/ttyUSB1 put main.py
/usr/bin/ampy -p /dev/ttyUSB1 put inet.conf
/usr/bin/ampy -p /dev/ttyUSB1 ls
/WiFi.mpy
/boot.py
/cc1101_davis.mpy
/davis_decode.mpy
/inet.conf
/main.py
```
###7, Restart esp8266, check data on serial
```
picocom -b 115200 /dev/ttyUSB1
picocom v3.1
port is : /dev/ttyUSB1
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> {ll<6C><6C>|<7C>#<23>o
<20>
$<24>
c|<7C><><EFBFBD><EFBFBD>|#<23>
#<23><>nN<6E>$oN<6F><4E><EFBFBD>
bp<62><70>$sl{lp<6C>o<EFBFBD>
<20>l
"
N<>|<7C>l
#<23><>nN<6E>$<24><>l`<60>Nl or<6F><72><EFBFBD>N
<20>
<20>$p<>n<EFBFBD>
r<>ܜ<EFBFBD>
bn<62>|$
<20><>
#<23><>on<6F>
l <20>n$<24>$`n{<7B>ےo
l <20>o
<20><>#<23>ol<6F>
<20><>no<6E><6F>{lp<6C>o<EFBFBD>
r<><72><EFBFBD><EFBFBD><EFBFBD>
<20>p<EFBFBD>
#
N<>|<7C><>p<EFBFBD><70>on<6F>l<EFBFBD>l <20>n$<24>$`nr<6E><72><EFBFBD><EFBFBD>
$l`{<7B><>n
l$ <20><><EFBFBD>o<EFBFBD>r<EFBFBD><72>n|<7C>ll$d`#<23><><EFBFBD>r<EFBFBD>l<EFBFBD>o<EFBFBD><6F>o<EFBFBD>l <20><>r<EFBFBD>$<24>$<24>
l`<60><>r<EFBFBD>p<EFBFBD><70>l<EFBFBD>
$`<60><><EFBFBD>o<EFBFBD>l<EFBFBD><6C><EFBFBD>
l$`sl<73><6C>b<EFBFBD><62><EFBFBD>#
<20><>B|
$b<><62><EFBFBD>#|<7C><><EFBFBD><EFBFBD>l$b<><62>n<EFBFBD><6E>Trying... 15 more times
Trying... 14 more times
Trying... 13 more times
Trying... 12 more times
Trying... 11 more times
Trying... 10 more times
IPCONF: {'ip': '192.168.1.174', 'mask': '255.255.255.0', 'gw': '192.168.1.254', 'dns': '192.168.1.4'}
0 10 4 35 8 4 78 196 255 255 HOP: 0 RSSI: -71.5 LQI: 127
Header: {'bat_low': 0, 'packet_id': 0, 'davis_id': 0} Wind: {'speed': 16.1, 'direction': 5.6}
False: False/False (False)
DATA SEND FAIL: ERROR measurement set False
224 10 234 17 1 4 38 49 255 255 HOP: 1 RSSI: -70 LQI: 127
Header: {'bat_low': 0, 'packet_id': 14, 'davis_id': 0} Wind: {'speed': 16.1, 'direction': 327.6}
rain: value/17.0 ({'type': 'rain_bucket_tips'})
DATA SEND: 204
80 9 224 255 113 15 89 230 255 255 HOP: 2 RSSI: -70 LQI: 127
Header: {'bat_low': 0, 'packet_id': 5, 'davis_id': 0} Wind: {'speed': 14.5, 'direction': 313.6}
rain: value/0.0 ({'type': 'rainrate'})
DATA SEND: 204
128 8 252 34 233 10 229 180 255 255 HOP: 3 RSSI: -70 LQI: 127
Header: {'bat_low': 0, 'packet_id': 8, 'davis_id': 0} Wind: {'speed': 12.9, 'direction': 352.8}
temphumi: temperature/13.3 ({'type': 'external'})
DATA SEND: 204
160 8 249 109 41 2 202 57 255 255 HOP: 4 RSSI: -69 LQI: 127
Header: {'bat_low': 0, 'packet_id': 10, 'davis_id': 0} Wind: {'speed': 12.9, 'direction': 348.6}
temphumi: humidity/62.1 ({'type': 'external'})
DATA SEND: 204
224 9 225 17 1 2 182 58 255 255 HOP: 0 RSSI: -68 LQI: 127
Header: {'bat_low': 0, 'packet_id': 14, 'davis_id': 0} Wind: {'speed': 14.5, 'direction': 315.0}
rain: value/17.0 ({'type': 'rain_bucket_tips'})
DATA SEND: 204
80 10 241 255 115 10 236 224 255 255 HOP: 1 RSSI: -68.5 LQI: 127
Header: {'bat_low': 0, 'packet_id': 5, 'davis_id': 0} Wind: {'speed': 16.1, 'direction': 337.4}
rain: value/0.0 ({'type': 'rainrate'})
DATA SEND: 204
128 16 233 34 219 10 39 214 255 255 HOP: 2 RSSI: -68.5 LQI: 127
Header: {'bat_low': 0, 'packet_id': 8, 'davis_id': 0} Wind: {'speed': 25.7, 'direction': 326.2}
temphumi: temperature/13.2 ({'type': 'external'})
```
###8, explore data in Influx
### Optionally, get grafana to plot the graphs for you