Skip to content

CORDOVA-ET v0.4.3

Latest
Compare
Choose a tag to compare
@jajberni jajberni released this 19 Feb 19:53
· 1 commit to master since this release
69fd0f5

New version with several improvements:

  • Soil temperature sensor stability
  • Updated Downlink commands for setting up WiFi, force LoRaWAN and reset config
  • Added new commands to the terminal: join LoRaWAN, print config, etc
  • Compatibility with Telnet for wireless setup

Telnet compatibility

This version support configuration over WiFi using Telnet. Just connect to the WiFi CET-XXXX and launch telnet 192.168.4.1. User is uco and password ias_csic. You can interact with the serial port.

Important

Make sure to change the WiFi password in the config.py. If you are using different WiFi settings, you can change them here too.

If running 0.4.0 or 0.4.1 you can perform an OTA with the 'o' command. Just make sure you are close to the 4G Router. The OTA server is not always running. If you plan to perform an upgrade using OTA, contact the UCO team.

Known issues

At the moment, there is a timeout on the Setup console. If no key is pressed, the board resets after 30 seconds.

Downlink messages

  • 1: Define duty cycle in seconds: [01 LSB MSB]
  • 2: Define node type: [02 XX] See XX values in config.py
  • 3: Send firmware version on port 1: [03]
  • 4: Send I2C bus scan on port 1: [04]
  • 5: Perform OTA update: [05 02 03]
  • 6: Timesync message
  • 7: Define air sensor type: [07 XX] # 0: None, 1: BME280, 2: SHT3x old, 3: SHT3x Rika
  • 8: Reset LoRaWAN session and force to join again: [08]
  • 9: Reset to factory defaults: [09]
  • A: Set WiFi Credentials: [10 XXXXX+YYYY]: XXXXX is the WiFi SSID, YYYY is the password
    Both encoded in Hex strings. See: https://string-functions.com/string-hex.aspx

Setup console messages (case sensitive)

h: print this help
p: print LoRaWAN keys
m: test all measurements
c: print config
g: clear config
r: hard reset (loses time)
o: perform OTA update
l: reset LoRaWAN session
j: join LoRaWAN server
t: print current time
TYYYY/MM/DD HH:MM:SS set current time (UTC). E.g. T20210801 10:05:00
VXX: set the node version, where XX is the version (01,02,03). E.g. V02 to set to pyranometer
s: send timesync message
CXXXX: Set the measurement cycle in seconds. E.g. C300