Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.35 release candidate: GroPoint Modbus; Xbee & Digi WiFi fixes; Prep for batch transmission #463

Merged
merged 103 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from 87 commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
cd4f3c3
GroPoint Profile draft wrapper
aufdenkampe Mar 27, 2023
a4b6541
Update GroPointProfileGPLP8.h
aufdenkampe Mar 28, 2023
70182c3
Shorten naming to GroPointGPLP8
aufdenkampe Mar 29, 2023
fd02919
run clang-format on *.cpp and *.h
tpwrules Mar 16, 2023
55973fa
publishers: fix undefined behavior in response code processing
tpwrules Mar 16, 2023
507b317
dataPublisherBase: remove redundant zero init of TX buffer
tpwrules Mar 16, 2023
83b27ea
LoggerBase: optimize setFileTimestamp
tpwrules Mar 16, 2023
f0d2637
LoggerModem: optimize CSQ conversion functions
tpwrules Mar 16, 2023
2692821
LoggerBase: always power down modem after RTC sync
tpwrules Mar 16, 2023
389c162
publishers: remove unused functions
tpwrules Mar 16, 2023
493215d
publishers: refactor transmit buffer usage
tpwrules Mar 16, 2023
2c87ff0
dataPublisherBase: widen sendEveryX and ditch sendOffset
tpwrules Mar 16, 2023
f83a96f
publishers: remove hearsay about logger construction order
tpwrules Mar 16, 2023
d82635e
update changelog
tpwrules Mar 16, 2023
e766e3b
GroPoint all 21 vars logging
aufdenkampe Apr 18, 2023
d9b1d63
Add GroPoint docs to ReadMe files
aufdenkampe Apr 18, 2023
426a78f
Merge branch 'develop' into gropoint_modbus
aufdenkampe Apr 18, 2023
856b67a
Merge branch 'develop' into gropoint_modbus
aufdenkampe Apr 18, 2023
0c94041
Bump version number; add to changelog
aufdenkampe Apr 18, 2023
382875a
Add GropointModbus to `library.json`
aufdenkampe Apr 18, 2023
64b5730
Update menu_a_la_carte.ino
aufdenkampe May 9, 2023
4e28000
gropointModel = GPLPX vs UNKNOWN
aufdenkampe May 31, 2023
94480e6
Handle no sim card on SIM7080
SRGDamia1 Jun 14, 2023
4123f6a
build files for Digi WiFi s6b https://github.com/EnviroDIY/ModularSen…
Jun 21, 2023
18257c7
update for Digi WiFi s6b https://github.com/EnviroDIY/ModularSensors/…
Jun 21, 2023
b4eca91
Bump SHT dependecy
SRGDamia1 Jun 23, 2023
19757ab
Merge pull request #441 from neilh10/digi_wifi_s6b_stability
SRGDamia1 Jun 23, 2023
9ba15db
removed extra a and sensor tests folders
SRGDamia1 Jun 23, 2023
b1f3afc
Removed code to not update metadata, for now
SRGDamia1 Jun 23, 2023
49d1811
Add wake and power on checks to connectInternet
SRGDamia1 Jun 23, 2023
98cf411
Add comments to modem setup
SRGDamia1 Jun 23, 2023
7abc297
Add comments to NIST connection
SRGDamia1 Jun 23, 2023
470c1df
Remove commented code in getModemSignalQuality
SRGDamia1 Jun 23, 2023
63b3110
Removed errant comma
SRGDamia1 Jun 23, 2023
390f844
Restore modem detailed versioning
SRGDamia1 Jun 26, 2023
8d9152b
Ctor for sleep assoc, check pins for sleep opts
SRGDamia1 Jun 26, 2023
a008a69
Bump TinyGSM
SRGDamia1 Jun 26, 2023
9082d42
Use changeSettingIfNeeded throughout setup
SRGDamia1 Jun 26, 2023
dc23a83
Simplified XBee setup connection check
SRGDamia1 Jun 28, 2023
fd3a696
Remove outdated comment
SRGDamia1 Jun 28, 2023
93db578
Reimplement modem polling config
SRGDamia1 Jun 28, 2023
f9d9476
Apply polling to other XBee
SRGDamia1 Jun 28, 2023
1e096c9
Update ChangeLog.md
neilh10 Jun 30, 2023
0ba34d7
change version
SRGDamia1 Jun 30, 2023
8097325
Fixed GroPoint build if flag
SRGDamia1 Jun 30, 2023
7db7d3a
Made sensor var number required input for GroPoint
SRGDamia1 Jun 30, 2023
750efd2
Reflow some comments (clang formatted)
SRGDamia1 Jun 30, 2023
9860be1
Using new GroPoint variables in example
SRGDamia1 Jun 30, 2023
0e5bb2c
Fixed snaked GroPoint snipped tags
SRGDamia1 Jun 30, 2023
88e2422
Merge pull request #446 from neilh10/patch-1
SRGDamia1 Jun 30, 2023
a7a09c7
Woops, fixed double tag in changelog
SRGDamia1 Jun 30, 2023
2289e58
Add GroPoint to dependency installs
SRGDamia1 Jun 30, 2023
1c5a6e4
Merge pull request #445 from EnviroDIY/xbee_fixes
SRGDamia1 Jun 30, 2023
82ba1d3
Merge branch 'develop' into gropoint_modbus
SRGDamia1 Jun 30, 2023
7bee373
Merge branch 'develop' into gropoint_modbus, fix conflicts
SRGDamia1 Jun 30, 2023
e2d99ce
Fix doxygen linkage
SRGDamia1 Jul 11, 2023
48d9338
Fix undefined variable in example
SRGDamia1 Jul 11, 2023
f0f96fe
Merge pull request #439 from EnviroDIY/gropoint_modbus
SRGDamia1 Jul 11, 2023
7171ba2
Bump Adafruit Unified Sensor
SRGDamia1 Sep 12, 2023
a40eb7f
Merge pull request #434 from tpwrules/batch-refactoring
SRGDamia1 Sep 14, 2023
0220888
Merge branch 'develop' of https://github.com/EnviroDIY/ModularSensors…
SRGDamia1 Sep 14, 2023
49453bb
Merge branch 'master' into develop
SRGDamia1 Sep 14, 2023
d1ebc5e
Merge branch 'master' into develop
SRGDamia1 Sep 14, 2023
4a993a6
fix typo
SRGDamia1 Sep 14, 2023
5a4d77f
Fix GroPoint success for temperature
SRGDamia1 Sep 21, 2023
7dcc602
Merge branch 'master' into develop
aufdenkampe Nov 22, 2023
0e25aa6
Remove year from copyright lines
SRGDamia1 Mar 27, 2024
3fc1f68
preliminary implementation of VegaPuls
SRGDamia1 Mar 27, 2024
4518052
Add docs and adjust doxygen tags
SRGDamia1 Mar 28, 2024
186db97
Update python regex
SRGDamia1 Apr 3, 2024
bbd6f47
Update VegaPuls timing
SRGDamia1 Apr 3, 2024
19a4673
Fix documented param name
SRGDamia1 Apr 3, 2024
cef3921
Wait for ESP to connect on saved credentials
SRGDamia1 Apr 3, 2024
e601ab5
Fix debug for Keller
aufdenkampe Apr 16, 2024
077656d
Update actions
SRGDamia1 May 9, 2024
ba2c205
Update gropoint docs
SRGDamia1 May 9, 2024
6f08fee
Add M4's to test
SRGDamia1 May 10, 2024
44504ca
Add XBee Mayfly 1.x pins
SRGDamia1 May 13, 2024
120cc68
Some publisher comments
SRGDamia1 May 13, 2024
5ce948e
Always attempt last connection on WiFi
SRGDamia1 May 13, 2024
e9717d0
XBee Tweek
SRGDamia1 May 15, 2024
a9b307c
Move XBee doc
SRGDamia1 May 15, 2024
f45d506
Update readme and change log
SRGDamia1 May 15, 2024
621497f
Adjust version in change log
SRGDamia1 May 15, 2024
0fb9162
Merge pull request #465 from EnviroDIY/vegapuls
SRGDamia1 May 15, 2024
d660e88
Allow MAX_NUMBER_VARS to be defined by build flag
SRGDamia1 May 16, 2024
479eb66
Clean some lingering copyrights
SRGDamia1 May 16, 2024
0368703
Only reset XBee Wifi after 4 *failed* metadata attempts
SRGDamia1 May 16, 2024
8a23cc5
Add to-do notes for missing modem info pieces.
SRGDamia1 May 16, 2024
5ca53f1
Change token for changelog reminder
SRGDamia1 May 16, 2024
cb13b94
Add more details to changelog
SRGDamia1 May 16, 2024
7f3447f
Fix refs to BMP388 library in actions
SRGDamia1 May 16, 2024
4a57245
Bump version of upload artifact
SRGDamia1 May 16, 2024
93ba368
XBee fix for non-AVR
SRGDamia1 May 16, 2024
c96337b
CI adjustments
SRGDamia1 May 16, 2024
2e54314
Bump dependencies, fix file reference for SDFat 2.2.3
SRGDamia1 May 16, 2024
7acf851
Bump download artifact version
SRGDamia1 May 16, 2024
6c3df68
Shorten env names
SRGDamia1 May 16, 2024
d245046
SAMD51 watchdog fix
SRGDamia1 May 16, 2024
1696601
Workaround for boards not supported by Enable Interrupts
SRGDamia1 May 16, 2024
336e312
No M4 for now
SRGDamia1 May 16, 2024
6db4f4b
No RTCZero for M4
SRGDamia1 May 17, 2024
1c2c275
Add missing slash
SRGDamia1 May 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build_documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

# Using anwer from here to get the exit code and pass the output: https://stackoverflow.com/questions/59191913/how-do-i-get-the-output-of-a-specific-step-in-github-actions
# Using answer from here to get the exit code and pass the output: https://stackoverflow.com/questions/59191913/how-do-i-get-the-output-of-a-specific-step-in-github-actions
- name: check for classes in the menu example
id: check_component
continue-on-error: true
Expand Down Expand Up @@ -89,12 +89,12 @@ jobs:
path: code_docs/ModularSensors

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Restore Python Dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache_python
with:
path: ~/.cache/pip
Expand All @@ -107,7 +107,7 @@ jobs:

- name: Restore Doxygen, Graphviz, and TeX Live
id: cache_doxygen
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/usr/lib/x86_64-linux-gnu/texlive
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
uses: arduino/setup-arduino-cli@v1.1.2

- name: Restore Arduino platforms and libraries
uses: actions/cache@v3
uses: actions/cache@v4
id: cache_libraries
with:
path: |
Expand Down Expand Up @@ -188,16 +188,16 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'

- name: Install python dependencies, including PlatformIO
run: pip install -r continuous_integration/requirements.txt

- name: Restore PlatformIO and Arduino platforms and libraries
uses: actions/cache@v3
- name: Restore PlatformIO platforms and libraries
uses: actions/cache@v4
id: cache_libraries
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "ZIP_NAME=$ZIP_FILE" >> $GITHUB_ENV

- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify_library_structure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ continuous_integration_artifacts/*
arduino_cli.log
**/sensor_tests/*
docs/Doxyfile.bak
continuous_integration/output_check_component_inclusion.log
24 changes: 23 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed

### Fixed
- Fixed GitHub actions for pull requests from forks.

***


## [0.35.0]

### Changed
- **BREAKING** Refactored how the publisher transmit buffer works. This will require adjustment to custom data publishers.

### Added
- Support [GroPoint Profile GPLP-8 Eight-Segment Soil Moisture and Temperature Profiling Probe](https://www.gropoint.com/products/soil-sensors/gropoint-profile)
- Support [Vega Puls 21 Radar](https://www.vega.com/en-us/products/product-catalog/level/radar/vegapuls-21)

## [0.34.1]

### Changed
- Incorporated improvements to the XBee Wifi - from [neilh10](https://github.com/EnviroDIY/ModularSensors/commits?author=neilh10)
- #347 -WiFi S6B stability - tears dwon TCP/IP before going to sleep, doesn't automatically poll for meta data

### Added
- Added the ability to enable or disable polling of modem attached variables.
By default, all polling is off, but polling is enabled for a modem sensor when a sensor is created and attached to a modem.
This functionailty is inspired from [neilh10](https://github.com/EnviroDIY/ModularSensors/commits?author=neilh10).

### Fixed
- Fixed GitHub actions for pull requests from forks.

## [0.34.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Software License Agreement (BSD-3 License)

**Copyright (c) 2010-2017, Stroud Water Research Center (SWRC) and the EnviroDIY Development Team.**
**Copyright (c) 2010-2024, Stroud Water Research Center (SWRC) and the EnviroDIY Development Team.**
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ For some generalized information about attaching sensors to an Arduino style boa
- [Decagon Devices ES-2: conductivity ](https://envirodiy.github.io/ModularSensors/group__sensor__es2.html)
- [Decagon Devices CTD-10: conductivity, temperature & depth ](https://envirodiy.github.io/ModularSensors/group__sensor__decagon__ctd.html)
- [Everlight ALS-PT19 Analog Light Sensor (via processor ADC)](https://envirodiy.github.io/ModularSensors/group__sensor__alspt19.html)
- [Freescale Semiconductor MPL115A2: barometric pressure and temperature](https://envirodiy.github.io/ModularSensors/group__sensor__mpl115a2.html)
- [External Arduino I2C Rain Tipping Bucket Counter: rainfall totals](https://envirodiy.github.io/ModularSensors/group__sensor__i2c__rain.html)
- [Freescale Semiconductor MPL115A2: barometric pressure and temperature](https://envirodiy.github.io/ModularSensors/group__sensor__mpl115a2.html)
- [GroPoint Profile GPLP-8 Eight-Segment Soil Moisture and Temperature Profiling Probe](https://envirodiy.github.io/ModularSensors/group__sensor__gplp8.html)
- [In-Situ RDO PRO-X: dissolved oxygen](https://envirodiy.github.io/ModularSensors/group__sensor__insitu__rdo.html)
- [In-Situ SDI-12 TROLLs: pressure, temperature, and depth](https://envirodiy.github.io/ModularSensors/group__sensor__insitu__troll.html)
- [Keller Submersible Level Transmitters: pressure and temperature](https://envirodiy.github.io/ModularSensors/group__keller__group.html)
Expand All @@ -82,6 +83,7 @@ For some generalized information about attaching sensors to an Arduino style boa
- [TI ADS1115: external voltage with support for divided current](https://envirodiy.github.io/ModularSensors/group__sensor__ads1x15.html)
- [TI INA219: current, voltage, and power draw](https://envirodiy.github.io/ModularSensors/group__sensor__ina219.html)
- [Turner Cyclops-7F: various parameters](https://envirodiy.github.io/ModularSensors/group__sensor__cyclops.html)
- [Vega Puls 21: radar distance](https://envirodiy.github.io/ModularSensors/group__sensor__vega__puls21.html)
- [Yosemitech: water quality sensors](https://envirodiy.github.io/ModularSensors/group__yosemitech__group.html)
- [Y502-A or Y504-A: Optical DO and Temperature](https://envirodiy.github.io/ModularSensors/group__sensor__y504.html)
- [Y510-B: Optical Turbidity and Temperature](https://envirodiy.github.io/ModularSensors/group__sensor__y510.html)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.34.0
0.35.0
2 changes: 1 addition & 1 deletion continuous_integration/check_component_inclusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def camel_to_snake(name, lower_case=True):

#%%
# make sure class names match file names
class_pattern = re.compile("^\s*class[\s\n]+(\w+)[\s\n]", re.MULTILINE)
class_pattern = re.compile(r"^\s*class[\s\n]+(\w+)[\s\n]", re.MULTILINE)

for header_file in header_files:
textfile = open(header_file, mode="r", encoding="utf-8")
Expand Down
18 changes: 14 additions & 4 deletions continuous_integration/dependencies.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"action_cache_version": 16,
"action_cache_version": 17,
"dependencies": [
{
"name": "EnviroDIY_DS3231",
Expand Down Expand Up @@ -57,7 +57,7 @@
{
"name": "TinyGSM",
"owner": "vshymanskyy",
"version": "~0.11.5",
"version": "~0.11.7",
"note": "A small Arduino library for GPRS modules.",
"authors": [
"Volodymyr Shymanskyy",
Expand Down Expand Up @@ -95,7 +95,7 @@
"owner": "adafruit",
"library id": "31",
"url": "https://github.com/adafruit/Adafruit_Sensor",
"version": "~1.1.9",
"version": "~1.1.13",
"note": "Adafruit's unified sensor library is used by their other libraries",
"authors": [
"Adafruit"
Expand Down Expand Up @@ -195,7 +195,7 @@
"owner": "adafruit",
"library id": "11710",
"url": "https://github.com/adafruit/Adafruit_SHT4X",
"version": "~1.0.2",
"version": "~1.0.4",
"note": "Sensirion SHT4x Library by Adafruit",
"authors": [
"Adafruit"
Expand Down Expand Up @@ -321,6 +321,16 @@
],
"frameworks": "arduino",
"platforms": "atmelavr, atmelsam"
},
{
"name": "GroPointModbus",
"owner": "envirodiy",
"url": "https://github.com/EnviroDIY/GroPointModbus.git",
"version": "~0.1.0",
"note": "A library to use an Arduino as a master to control and communicate via modbus with GroPoint soil moisture sensors. ",
"authors": ["Anthony Aufdenkampe"],
"frameworks": "arduino",
"platforms": "atmelavr, atmelsam"
}
]
}
34 changes: 18 additions & 16 deletions continuous_integration/generate_job_matrix.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
#%%
# %%
import json
import shutil
import re
Expand All @@ -9,7 +9,7 @@
import os
import copy

#%%
# %%
# Some working directories
# The workspace directory
if "GITHUB_WORKSPACE" in os.environ.keys():
Expand Down Expand Up @@ -37,7 +37,7 @@
os.makedirs(artifact_dir)

compilers = ["Arduino CLI", "PlatformIO"]
#%%
# %%
# The locations of some important files

# The massive "menu" example
Expand Down Expand Up @@ -72,6 +72,8 @@
"megaatmega2560": {"fqbn": "arduino:avr:mega"},
"zeroUSB": {"fqbn": "arduino:samd:mzero_bl"},
"adafruit_feather_m0": {"fqbn": "adafruit:samd:adafruit_feather_m0"},
"adafruit_feather_m4": {"fqbn": "adafruit:samd:adafruit_feather_m4"},
"adafruit_grandcentral_m4": {"fqbn": "adafruit:samd:adafruit_grandcentral_m4"},
}


Expand Down Expand Up @@ -183,14 +185,14 @@ def snake_to_camel(snake_str):
return camel_str


#%%
# %%
# set up outputs
arduino_job_matrix = []
pio_job_matrix = []
start_job_commands = "status=0"
end_job_commands = "\n\nexit $status"

#%%
# %%
# Create job info for the basic examples
# Use one job per board with one command per example
for pio_env in pio_config.envs():
Expand Down Expand Up @@ -234,7 +236,7 @@ def snake_to_camel(snake_str):
)


#%%
# %%
# Helper functions for preparing the menu-a-la-carte example for building
def modify_example_filename(example_subfolder, in_file_defines):

Expand Down Expand Up @@ -309,7 +311,7 @@ def extend_pio_config(added_envs):
return new_config_path


#%% read build flags out of the menu-a-la-cart example
# %% read build flags out of the menu-a-la-cart example
# Pattern for flags in the menu-a-la-cart example
pattern = re.compile(
"^(?:#if|#elif) defined[\s\(](?P<flag1>BUILD_\w+)((?:[\s\n\\\)]*?\|\|[\s\n\\]*defined[\s\n\\\(]*?)(?P<flag_last>BUILD_\w+))*",
Expand Down Expand Up @@ -350,7 +352,7 @@ def extend_pio_config(added_envs):
all_publisher_flags.append(match.group("flag1"))


#%%
# %%
# Create jobs for all of the modems together
for pio_env in pio_config.envs():
arduino_modem_commands = [
Expand Down Expand Up @@ -396,7 +398,7 @@ def extend_pio_config(added_envs):
}
)

#%%
# %%
# Create jobs for all of the publishers together
for pio_env in pio_config.envs():
arduino_pub_commands = [
Expand Down Expand Up @@ -442,7 +444,7 @@ def extend_pio_config(added_envs):
}
)

#%%
# %%
# Create jobs for all of the sensors together
# The sensors are a bit different because we run extra PlatformIO enviroments for some of the sensors
for pio_env in pio_config.envs():
Expand Down Expand Up @@ -540,7 +542,7 @@ def extend_pio_config(added_envs):
}
)

#%%
# %%
# Tack on a few extra build configurations for the menu example
for pio_env in pio_config.envs():
arduino_loop_commands = [
Expand Down Expand Up @@ -596,7 +598,7 @@ def extend_pio_config(added_envs):
}
)

#%%
# %%
# Tack on a few more extra build configurations for the software serial libraries
for pio_env in ["Mayfly"]:
arduino_serial_commands = [
Expand Down Expand Up @@ -654,7 +656,7 @@ def extend_pio_config(added_envs):
)


#%%
# %%
# Convert commands in the matrix into bash scripts
for matrix_job in arduino_job_matrix + pio_job_matrix:
bash_file_name = matrix_job["job_name"].replace(" ", "") + ".sh"
Expand All @@ -676,7 +678,7 @@ def extend_pio_config(added_envs):
del items["command"]


#%%
# %%
# Write out output
print(
'echo "arduino_job_matrix={}" >> $GITHUB_OUTPUT'.format(
Expand All @@ -694,14 +696,14 @@ def extend_pio_config(added_envs):
json_out.close()


#%%
# %%
# different attempt to save output
with open(os.environ["GITHUB_OUTPUT"], "a") as fh:
print("arduino_job_matrix={}".format(json.dumps(arduino_job_matrix)), file=fh)
print("pio_job_matrix={}".format(json.dumps(pio_job_matrix)), file=fh)


#%%
# %%
if "GITHUB_WORKSPACE" not in os.environ.keys():
try:
shutil.rmtree(artifact_dir)
Expand Down
3 changes: 3 additions & 0 deletions continuous_integration/install-deps-arduino-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install Ke
echo "\n\e[32mInstalling EnviroDIY YosemitechModbus library from Arduino library index\e[0m"
arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install YosemitechModbus

echo "\n\e[32mInstalling EnviroDIY GropointModbus library from Arduino library index\e[0m"
arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install GropointModbus

echo "\n\e[32mInstalling StreamDebugger library from Arduino library index\e[0m"
arduino-cli --config-file continuous_integration/arduino_cli.yaml lib install StreamDebugger

Expand Down
3 changes: 3 additions & 0 deletions continuous_integration/install-deps-platformio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ pio pkg install -g --library envirodiy/KellerModbus
echo "\e[32mInstalling envirodiy/YosemitechModbus\e[0m"
pio pkg install -g --library envirodiy/YosemitechModbus

echo "\e[32mInstalling envirodiy/GroPointModbus\e[0m"
pio pkg install -g --library envirodiy/GroPointModbus

echo "\e[32mInstalling vshymanskyy/StreamDebugger\e[0m"
pio pkg install -g --library vshymanskyy/StreamDebugger

Expand Down
Loading
Loading