You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,6 @@ Custom configurations can be used by creating a file `config.json` in the root d
77
77
|`ssid` (str) | SSID for your wifi newtork | None |[Example config](examples/wifi.md)|
78
78
|`password` (str) | password for your wifi newtork | None |[Example config](examples/wifi.md)|
79
79
|`country_code` (str) | ISO 3166-1 alpha-2 character country code for wifi |`None`|[Example config](examples/wifi.md)|
80
-
|`wifi_check_interval` (int) | Check there is a working internet conenction every n seconds |`3600`|[Example config](examples/wifi.md)|
81
80
|`debug_log` (list) | How many kb in each and how many debug backup files to keep |`[20, 1]`||
82
81
|`display_type` (str) | currently only option is "DISPLAY_PICO_DISPLAY" | None |[Example config](examples/display.md)|
83
82
|`display_update_secs` (float) | how frequently to cycle content of display screen |`5`|[Example config](examples/display.md)|
@@ -197,19 +196,21 @@ SIMULATE_BEACONS = False
197
196
198
197
# Status LED
199
198
200
-
The Pico board has an onbaord LED. This is used to give a basic visual indication of the condittion of the code. The table below should help to interpret the LED status;
199
+
The Pico board has an onboard LED. This is used to give a basic visual indication of the condition of the code. The table below should help to interpret the LED status;
|STARTUP | solid ON | None | The Pico is in its initial startup state, loading variables etc. It should progress within 1 second to initiate a wifi connection |
206
-
|CONNECTING | fast blink (on-off ~ twice per second) | 10, 400 | Initial configuration loaded, connecting to wifi |
207
-
|CONNECTED | 1Hz blink brief | 200, 800 | The Pico has connected to wifi. It willl progress from this state once a stable wifi connection has been established |
208
-
|NOT CONNECTED | 1Hz blink slow | 800, 200 | A wifi connection has not been established. If not using wifi (i.e. logging locally to file) this will not be a problem |
209
-
|RUNNING | blink once per 3 secs | 10, 3,000 |The application is running and listenting for data from Tilt devices |
205
+
|CONNECTING | fast blink (on-off ~ twice per second) | 10, 400 | Initial configuration loaded, in process of connecting to wifi |
206
+
|CONNECTED | 1Hz blink brief | 200, 800 | The Pico has connected to wifi. After 5 seconds it will progress from this state once a stable wifi connection has been established, or try to reconnect|
207
+
|NOT CONNECTED | 1Hz blink slow | 800, 200 | A wifi connection has not been established. If not requiring wifi (i.e. logging locally to file) this will not be a problem |
208
+
|RUNNING | blink once per 3 secs | 10, 3,000 |Once the startup routine has finished the LED should change to this status to indicate that the application is running and listenting for data from Tilt devices |
210
209
211
210
If the LED remains solidly lit this indicates that the Pico has encountered an error. It is most likely that either the config.json file is not present, or this file is invalid. In this situation, use Thonny to connect to the device, inspect the debug.log file and correct the issue.
212
211
212
+
During startup, if a LCD display is present, some information on progress (and errors) will be shown. Once starup has completed and the device is running, the display will normally report Tilt beacon data. If the wifi connection becomes disconnected the LED will revert to its `NOT CONNECTED` state and (if an LCD is present) the wifi connection status will be added to the display pages. The device will try to reconnect every 2 minutes, unless the password is detected as being incorrect, in which case the device will stop and cease to record Tilt data.
0 commit comments