Skip to content

Commit

Permalink
Merge pull request #324 from lokonli/docv341
Browse files Browse the repository at this point in the history
doc v3.4.1 improvements
  • Loading branch information
lokonli authored Mar 28, 2020
2 parents aeec5ee + 65c5d78 commit 86288c7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
4 changes: 2 additions & 2 deletions docs/blocks/specials/alarmmeldingen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Define your "alarmmeldingen" block (optional)::
filter: 'Venlo', //filter the messages for your town and if you want the cities around you
show_lastupdate: true,
width: 12,
interval: 300, //refresh rate in seconds
refresh: 300, //refresh rate in seconds
results: 5 //number of recent results to show
}

Expand All @@ -38,7 +38,7 @@ rss The rss url for your City or Region from https://www.a
filter Add search filters for surrounding cities or special messages mentioned in the alarmmessage like Traumaheli or Brandweer
show_lastupdate ``true / false``: To display the ime of the last update of the data displayed
width The block width
interval The update interval of this block in seconds
refresh The update interval of this block in seconds
icon The icon to show in the block, if you dont want to show an icon use ''
image The image to use instead of an icon. Location is relative to ``./img``
results The number of most recent results found by using the filter parameter
Expand Down
4 changes: 2 additions & 2 deletions docs/customjs/customjs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ This function will only get called after updating the block. If you want to chan

.. _setblock:

``Change value of another block``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Change value of another block
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By calling ``Dashticz.setBlock`` from the getStatus function you can change another block as well. Example:
::

Expand Down
23 changes: 10 additions & 13 deletions docs/releasenotes/releasenotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,30 @@ Release Notes
.. note:: Breaking changes. See :ref:`v341` for update instuctions

Redesign

* Domoticz blocks: inline blocks. Use ``idx`` as parameter in your block definition to indicate the block is a domoticz device.
See :ref:`v341`
See :ref:`v341`

Enhancements

* Support for showing a graph more than once on the dashboard.
* Support for RGBWZ devices
* Omrin garbage company
* Calendar: Optionally display start time only by setting ``startonly`` block parameter
* New block parameter ``password`` to password protect switches, buttons, thermostats, sliders.
* Filter parameter for the news block. Define as block parameter. Example:

::
::

blocks['my_news'] {
feed: 'http://www.nu.nl/rss/Algemeen',
filter : '5 items', // to only show the 5 latest news items, or:
filter: '2 days', // to only show news items of the last 2 days, or:
filter: '1 month', // to only show news items from last month
}
blocks['my_news'] {
feed: 'http://www.nu.nl/rss/Algemeen',
filter : '5 items', // to only show the 5 latest news items, or:
filter: '2 days', // to only show news items of the last 2 days, or:
filter: '1 month', // to only show news items from last month
}

* New special block: alarmmeldingen (Dutch). See <todo>
* New special block: alarmmeldingen (Dutch). See :ref:`customalarmmeldingen`
* Update other blocks from ``custom.js`` functions by calling ``Dashticz.setBlock``. See :ref:`setblock`

Fixes

* Requests to Domoticz will not be send via a websocket connection (not reliable)
* Fix for Evo devices
* Improved the height adjustment of a news block with inline images
Expand Down

0 comments on commit 86288c7

Please sign in to comment.