Updated dependencies
- Netty 4.1.111->4.1.112
- Apache commons 3.14.0 -> 3.15.0
- MSSQL 12.6.2.jre11 -> 12.6.3.jre11
Minor changes
- Telnet, rtvals cmd now has alternating color for the val listing
- admin:phypower now supports rtl chips and checks if root privilege first.
- Taskmanagers can now be under dcafs node instead of settings or taskmanagers
- Removed IssuePool, wasn't used anyway.
Fixes
- i2c:id,xml didn't reload if the script already exists
MQTT
- Increased retry interval to 25s because lower causes 'already in progress' error.
- Ttl can be set broker wide and the status message gives more info.
- Added
mqtt:brokerid,debug
andmqtt:brokerid,debug,true/false
to read and set debugging. For now the only
difference with enabled is log messages if data is received or send. - Result of
mqtt:brokerid,stores
is now sorted on topic.
Paths
- Changed how 'if' nodes work to be more in line with regular programming. Successive nodes will be executing
instead of previously more like switch case. - Added 'case' node to mimic how if used to work.
- Rewrote how the steps are interconnecting.
- Added some filter/if options
- minitems : minimum amount of items after split
- maxitems : maximum amount of items after split
- !contains: doesn't contain the given data
- Added aliases for some filters
- !start alias for notstart
- !contains alias for contains
- includes alias for contains
Rtvals
- Improved dynamic units, but breaking change:
- Now allows for starting with any of the units instead of only base.
- Can now go up or down a unit instead of only up.
- Replaced attribute 'from' with max/till, should be a bit clearer (this is the breaking part).
- Can now have a scale for each individual unit.
- It's possible to repeat units to add different scale settings.
- Div is set globally or per unit.
- Attribute digits and scale are the same thing, use according to preference.
<unit base="Wh" div="1000"> <!-- default divider/multiplier is 1000 -->
<level max="100" scale="2" >mWh</level> <!-- Up to 100mWh use two digits, no div done to next step -->
<level max="1000" digits="1" >mWh</level> <!-- From 100 till 1000mWh use one digit -->
<level max="1500" scale="2" >Wh</level>
<level scale="3" >kWh</level>
</unit>
- Fixed, reloading a store first removed the rtvals defined in it from the general pool. However this was also done if
that rtval was defined in the general node. Now those aren't removed anymore. - After a
rtvals:reload
, the paths and databases will also be reloaded.
DBM
- When editing a sqlite db in another program, this causes the current connection to break (errorcode 8). Reconnecting resolves this, so
now dcafs will try this. If this fails, query content is dumped to a file tablename_dump.csv in the same folder as the
sqlite. - Fixed, Mariadb doesn't like the use of ", replaced with `. Which also works for sqlite.
- Fixed, MariaDB returns a different error code on batch errors, now properly handled
- Fixed, Localnow column wasn't local when send to sql server.
dbm:prep
existed but wasn't documented. Gives total procesed queries count.- Added
dbm:reloadall
to reload all databases in one go - Added
dbm:clearerrors
to clear the error counters