merge master

This commit is contained in:
Magnus Persson 2022-07-03 19:49:28 +02:00
commit f366b78cb3
4 changed files with 56 additions and 1 deletions

17
.github/stale.yaml vendored Normal file
View File

@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- on-hold
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

@ -7,7 +7,11 @@ Welcome to GravityMon's documentation!
######################################
.. note::
<<<<<<< HEAD
This documentation reflects **v1.0**. Last updated 2022-05-26
=======
This documentation reflects **v1.0**. Last updated 2022-07-02
>>>>>>> master
* Docs for: `v0.8 <https://mp-se.github.io/gravitymon/v0.8/index.html>`_
* Docs for: `v0.9 <https://mp-se.github.io/gravitymon/v0.9/index.html>`_

View File

@ -3,7 +3,7 @@
Releases
########
v1.0.1
v1.1.0
======
Documentation
@ -12,6 +12,7 @@ Documentation
* Added q&a on formula creation and value deviation
* Added documentation for Brewpiless as target
* Updated docs for ubidots service integration.
* Added brewblox as new service
User interface
++++++++++++++

View File

@ -274,3 +274,36 @@ Brewpiless
If you connect the device to the brewpiless access point there is not way to access the user interface for configuration so it's recommended to connect the device to your normal network.
The device need to have a name starting with iSpindle, for example `iSpindel000`. Set the URL for one of the http POST targets to `http://ip/gravity` where ip is the ip adress of Brewpiless.
BrewBlox
++++++++++
To send iSpindel data to brewblox over mqtt you need to modify the format template to match the expected format. Once you have configured the mqtt information you also need to update the format template
for this target.
This format template will post the expected json document on the topic, dont forget the `|` character at the end of the line which is needed to parse the payload. The first to words are the topic
name and after the first `:` this is the json playload. Text within the brackets will be used as the unit for the value and degC is displayed as °C. You can add other parameters under the data section
in the json document if you need other values as well.
.. code-block::
brewcast/history:{"key":"${mdns}","data":{"Temperature[degC]": ${temp-c},"Temperature[degF]": ${temp-f},"Battery[V]":${battery},"Tilt[deg]":${angle},"Rssi[dBm]":${rssi},"SG":${gravity-sg},"Plato":${gravity-plato}}}|
The json message on the mqtt topic would look like this:
.. code-block:: json
{
"key": "gravitymon",
"data": {
"Temperature[degC]": 27,
"Temperature[degF]": 80,
"Battery[V]": 4.1,
"Tilt[deg]": 25,
"Rssi[dBm]": -78,
"SG": 1,
"Plato": 0
}
}