-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dc1ebf
commit 376ee61
Showing
4 changed files
with
89 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Python dependencies | ||
uses: py-actions/py-dependency-install@v2 | ||
with: | ||
path: "requirements.txt" | ||
update-pip: "true" | ||
update-setuptools: "false" | ||
update-wheel: "false" | ||
|
||
- name: Compile | ||
run: pio run -e release | ||
|
||
- name: Set env | ||
if: ${{ github.event_name == 'release' }} | ||
run: | | ||
echo "GITHUB_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
echo "REPOSITORY_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV | ||
mv .pio/build/release/firmware.bin ${GITHUB_REPOSITORY##*/}-${GITHUB_REF#refs/*/}.bin | ||
- name: Release | ||
if: ${{ github.event_name == 'release' }} | ||
uses: softprops/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
files: ${{ env.REPOSITORY_NAME }}-${{ env.GITHUB_TAG }}.bin |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
<a href="https://www.hardwario.com/"><img src="https://www.hardwario.com/ci/assets/hw-logo.svg" width="200" alt="HARDWARIO Logo" align="right"></a> | ||
|
||
# Firmware for HARDWARIO Sigfox Climate Monitor | ||
|
||
[![Travis](https://img.shields.io/travis/bigclownlabs/bcp-sigfox-climate-monitor/master.svg)](https://travis-ci.org/bigclownlabs/bcp-sigfox-climate-monitor) | ||
[![Release](https://img.shields.io/github/release/bigclownlabs/bcp-sigfox-climate-monitor.svg)](https://github.com/bigclownlabs/bcp-sigfox-climate-monitor/releases) | ||
[![License](https://img.shields.io/github/license/bigclownlabs/bcp-sigfox-climate-monitor.svg)](https://github.com/bigclownlabs/bcp-sigfox-climate-monitor/blob/master/LICENSE) | ||
[![Twitter](https://img.shields.io/twitter/follow/hardwario_en.svg?style=social&label=Follow)](https://twitter.com/hardwario_en) | ||
|
||
![Photo of Sigfox Climate Monitor assembly](doc/sigfox-climate-monitor.png) | ||
|
||
This repository contains firmware for Sigfox environmental sensor based on Climate Module. | ||
Firmware is programmed into [Core Module](https://shop.bigclown.com/products/core-module). | ||
Binary version is available in section [Releases](https://github.com/bigclownlabs/bcp-sigfox-climate-monitor/releases). | ||
|
||
> Detailed information about this project can be found in [HARDWARIO Documentation](https://doc.bigclown.com). | ||
**TODO** Link to documentation article | ||
|
||
## Introduction | ||
|
||
Sigfox Climate Station is a battery-operated indoor device integrating these sensors: | ||
|
||
* **Thermometer** (ambient temperature) | ||
* **Hygrometer** (relative air humidity) | ||
* **Lux meter** (light intensity) | ||
* **Barometer** (atmospheric pressure) | ||
|
||
This device is able to run from two AAA Alkaline batteries for at least 1 year. | ||
It reports measured data to Sigfox network every 30 minutes. | ||
You can route sensor data as HTTP POST request with JSON body to your own web app via [MySigfox](https://www.mysigfox.com) service. | ||
|
||
## Hardware | ||
|
||
The following hardware components are used for this project: | ||
|
||
* **[Climate Module](https://shop.bigclown.com/products/climate-module)** | ||
* **[Core Module](https://shop.bigclown.com/products/core-module)** | ||
* **[Sigfox Module](https://shop.bigclown.com/products/sigfox-module)** | ||
* **[Mini Battery Module](https://shop.bigclown.com/products/mini-battery-module)** | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT/) - see the [LICENSE](LICENSE) file for details. | ||
|
||
--- | ||
|
||
Made with ❤ by [**HARDWARIO s.r.o.**](https://www.hardwario.com/) in the heart of Europe. | ||
<a href="https://www.hardwario.com/"><img src="https://www.hardwario.com/ci/assets/hw-logo.svg" width="200" alt="HARDWARIO Logo" align="right"></a> | ||
|
||
# Firmware for HARDWARIO Sigfox Climate Monitor | ||
|
||
[![build](https://github.com/hardwario/twr-sigfox-climate-monitor/actions/workflows/main.yml/badge.svg)](https://github.com/hardwario/twr-sigfox-climate-monitor/actions/workflows/main.yml) | ||
[![Release](https://img.shields.io/github/release/bigclownlabs/bcp-sigfox-climate-monitor.svg)](https://github.com/bigclownlabs/bcp-sigfox-climate-monitor/releases) | ||
[![License](https://img.shields.io/github/license/bigclownlabs/bcp-sigfox-climate-monitor.svg)](https://github.com/bigclownlabs/bcp-sigfox-climate-monitor/blob/master/LICENSE) | ||
[![Twitter](https://img.shields.io/twitter/follow/hardwario_en.svg?style=social&label=Follow)](https://twitter.com/hardwario_en) | ||
|
||
![Photo of Sigfox Climate Monitor assembly](doc/sigfox-climate-monitor.png) | ||
|
||
This repository contains firmware for Sigfox environmental sensor based on Climate Module. | ||
Firmware is programmed into [Core Module](https://shop.bigclown.com/products/core-module). | ||
Binary version is available in section [Releases](https://github.com/bigclownlabs/bcp-sigfox-climate-monitor/releases). | ||
|
||
> Detailed information about this project can be found in [HARDWARIO Documentation](https://doc.bigclown.com). | ||
**TODO** Link to documentation article | ||
|
||
## Introduction | ||
|
||
Sigfox Climate Station is a battery-operated indoor device integrating these sensors: | ||
|
||
* **Thermometer** (ambient temperature) | ||
* **Hygrometer** (relative air humidity) | ||
* **Lux meter** (light intensity) | ||
* **Barometer** (atmospheric pressure) | ||
|
||
This device is able to run from two AAA Alkaline batteries for at least 1 year. | ||
It reports measured data to Sigfox network every 30 minutes. | ||
You can route sensor data as HTTP POST request with JSON body to your own web app via [MySigfox](https://www.mysigfox.com) service. | ||
|
||
## Hardware | ||
|
||
The following hardware components are used for this project: | ||
|
||
* **[Climate Module](https://shop.bigclown.com/products/climate-module)** | ||
* **[Core Module](https://shop.bigclown.com/products/core-module)** | ||
* **[Sigfox Module](https://shop.bigclown.com/products/sigfox-module)** | ||
* **[Mini Battery Module](https://shop.bigclown.com/products/mini-battery-module)** | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT/) - see the [LICENSE](LICENSE) file for details. | ||
|
||
--- | ||
|
||
Made with ❤ by [**HARDWARIO s.r.o.**](https://www.hardwario.com/) in the heart of Europe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
platformio |