Terkin v0.6.0 Release Notes
Release Date: 2019-08-19 // over 4 years ago-
Mordillo
- Explicitly
deinit()
LTE modem on each startup - Fix
settings.example-bob.py
. Thanks,@MKO1640
_ and@ClemensGruber
_. - ๐ Improve formatting of BEEP telemetry field mapping for BOB
- Disable telemetry adapter offline state for now
- ๐ฒ Disable DEBUG log level for system sensors
- โ Add the "maintenance" device status / mode
- โ Add UDP mode server for signalling the device into maintenance mode
- โ Add device discovery and UDP client for signalling maintenance mode
- Attempt to fix woes with IPv6 addresses from
terkin.py
- Skip networks like 127.0.0.0/8 and 169.254.0.0/16 for
terkin.py
- ๐ Make "terkin.py" handle multiple MAC address prefixes
coming from different Pycom devices. Now: WiPy, FiPy. - ๐ป Optionally read MAC address from command line in order to
discover and maintain specific device - โ Add MQTT authentication
- ๐ Update documentation
- ๐ Improve rshell access over IP
- Rename environment variable
MCU_SERIAL_PORT
toMCU_PORT
๐ง for configuring both USB/UART port and IP address - ๐ Use offset values for DS18B20 sensors from settings
- Enable/disable individual sensors per settings
- ๐ฆ Install MicroWebSrv and MicroDNSSrv libraries into
dist-packages
folder - โ Add singleton factory method to
TerkinDatalogger
. Thanks,@DieDiren
_. - โฑ Increase timeout for ARP ping requests with "terkin.py"
- ๐ Use most recent "dotty_dict" module
- Properly format MAC addresses
- โ Add maintenance mode interval to configuration settings
- Lazily import "ButtonManager" for trimming #11
- ๐ Improve MAC address parsing and formatting
- ๐ Improve MAC address normalization by also removing dashes and dots
- Follow the Pycopy MicroPython fork, standard library wise
- โฌ๏ธ Upgrade to Dotty Dict 1.1.1. Thanks,
@pawelzny
_. - ๐ Improve sandbox tooling incl. FTP source code upload
- DS18B20: Extend time between starting the
conversion and reading the sensor to one second. - โ Add MiniNet helper and corresponding
Makefile
rulewifi-connect
- ๐ง Ship configuration blueprint with deep sleep disabled
- ๐ Improve MiniNet helper to get IP address
- ๐ง Set default maintenance duty cycle to 15 seconds
- ๐ Improve Watchdog subsystem by adjusting to edge cases. Thanks,
@pinguin999
_. - Reorder sections when uploading using FTP
- โ Add Self-documenting-Makefile helper
- ๐ Improve Pycom firmware installation
- Slightly document Makefile targets
- โฑ Increase timeout when sending ARP packets for device discovery. Thanks,
@ClemensGruber
_. - Slightly adjust "make help". More Makefile improvements.
- Desktop notifications for MicroTerkin Agent
- ๐ Make MicroTerkin Agent write detected IP address into file
- ๐ Improve Makefile sandbox tooling
- ๐ฒ Prettify logging
- 0๏ธโฃ Optionally start modeserver, defaulting to true
- Add basic HTTP API subsystem. Thanks
@vkuhlen
_ and@DieDiren
_. - โ Add
make provide-wifi
command for starting the access point interactively - 0๏ธโฃ Start WiFi in STA_AP mode by default
- Disable garbage collector when reading sensors to improve timing
- ๐ Improve tooling and inline documentation
- โ Add option
main.fastboot
for skipping LTE modem teardown
for faster development iterations - Curate the garbage collector
- โ Add backup mechanism for configuration files
- ๐ Fix polling for WiFi connectivity
- ๐ง HTTP API: Add basic endpoints for configuration settings
- โ Add backup configuration snippet to settings blueprint files
- ๐ Makefile: Prompt for restart after FTP transfer
- Makefile: Add
RUNNING_IN_HELL
flag - ๐ Makefile: Suppress desktop notifications on Windows for now
- ๐ Makefile-Todo: Use lftp.exe for file transfer on Windows?
- Extend module search path to "terkin" and "hiveeyes"
๐ folders in order to support native Pymakr operation - ๐ Make reference to "datalogger" object available in global scope
- Slightly tweak garbage collector curator to collect
garbage after computing and setting threshold - โ Add more accessor methods to
TerkinConfiguration
- Add
get_last_stacktrace
utility function - ๐ Fix memory exhaustion when starting the MicroWebSrv twice
- ๐ง HTTP API: Add endpoints for getting and setting individual configuration settings
- ๐จ Object model refactoring
- HTTP API: Add endpoint for getting the last reading
- ๐จ Refactor
sensors
-section of configuration settings - Settings: Rename sensor "key" attribute to sensor "id"
- Settings: Rename HX711 enumeration attribute from "address" to "number"
- ๐ Fix broken dependencies re.
pycopy-collections
- ๐ Move HTTP API request/response examples to screenshots folder
- ๐จ Constructor refactoring and naming things
- โ Add
id
attribute to bus configuration settings - ๐จ Refactor and improve DS18B20 settings, reading and processing
- ๐ Improve prettified sensor readings log output
- ๐ Improve HTTP API
- ๐ Improve initialization robustness with bus device objects
- โ Add
mpy-cross-util.py
- โ Add ahead-of-time compilation using
mpy-cross
throughmake recycle-ng MPY_CROSS=true
- ๐ Refactoring, documentation, cleanups, naming things
- Improve user experience with
mpy-mk
sandbox toolkit. Thanks,@rohlan
_ and@ClemensGruber
_.- Fix interactive confirmation
- Add advices to guide user on errors
- Improve Windows compatibility for the
ng
series of commands
- โ Add colors to
mpy-mk
- โ Add note about installing
pycom-fwtool-cli
on Linux. Thanks, weef. - mpy-mk: Improve operating system detection
- mpy-mk: Streamline user interface
- Another attempt at touch button wakeup
- mpy-mk: Improve cross compilation
- sensors: Use BME280 library by robert-hh
- ๐ mpy-mk: Add "make colors" for colored output testing on Windows
- ๐ Make MicroTerkin Agent compatible with Python3.5. Thanks,
@rohlan
_. - ๐ง Attempt to automate installation of the modem firmware (WIP). Thanks,
@rohlan
_. - ๐ง Gracefully ignore missing "py-notifier" package on Linux. Thanks,
@rohlan
_. - ๐ Fix
scapy
dependency woes. Thanks,@rohlan
_. - โ Add tools for building firmware images for ESP32 based on Pycom MicroPython.
Thanks,@emmanuel-florent
_. - โก๏ธ onewire.py: Use library optimized for timing and with enabled CRC checks by
@robert-hh
_, thanks! - ๐ง First steps with BLE (WIP)
- ๐ง First steps with LTE (WIP)
- Be more graceful when starting network services
- โฑ Wrap "station.isconnected()" to mitigate unhandled exceptions on timeout errors
- 0๏ธโฃ Extend default watchdog timeout to 60 seconds
- Try two times to connect to WiFi station
- ๐ Makefile improvements
- Don't run "mpy-cross-setup" on each invocation of "mpy-compile"
- Don't clobber "mpy_cross_all.py"
- ๐ Improve LED signalling
- Parallelize networking subsystem
- ๐ง Prepare real "light sleep" (WIP)
- Attempt to reset WiFi connection if scanning fails
- โ Add "mboot", the universal MicroPython bootloader
- Reconfigure watchdog when connecting the device using MiniNet
- Propagate platform information for implementing platform switch conditions
- Transfer "mboot" bootloader and "mininet" module
- Start making Terkin platform-agnostic. Thanks, Markus!
- โ Add release archives with frozen modules compatible to Pycom MicroPython
- Explicitly