This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

[PRE-RELEASE 3] LogicMachine firmware 2020.07
#1
2020 RC3 is ready for testing. This time we are committed to release this as a stable firmware in several months time depending how the testing goes. When firmware will be marked as stable all older versions won't be supported anymore.

RC3 fixes schedulers layout bug and DALI not working on all devices, it also fixes a possible device reboot when a malformed Ethernet frame is received
RC2 fixes CANx app issue on devices without CAN port and a minor OpenVPN issue

All recent firmware versions display which hardware is used in "HW (CPU)" form:
   

LM5 Power devices with new CPU (i.MX6) Extra packages: http://dl.openrb.com/lm-20-imx6/pkg

Devices with old CPU (i.MX28) Extra packages: http://dl.openrb.com/lm-20-mxs/pkg

Changelog
Code:
2018.05.16
  modbus - fix multiple read for coils / discrete inputs
  modbus - fix handling of profiles where read_count is smaller than data type width
  modbus - separate modbus error logs from scripting error logs
  touch visualization - add home/logout buttons

2018.05.23
  object logs - fix source address display, add sender field

2018.06.05
  fix storage server not starting up when storage database is corrupt

2018.06.13
  fix scripting category filter scroll jumping due to reload

2018.07.12
  allow spaces in host name
  fix internal limit of 8 characters for ftp passwords
  enocean - change only active button state for "Rocker Switch, 1 Rocker (separate)" profile

2018.07.13
  add current ip display and static dns settings to ppp/3g

2018.07.20
  allow "@" and "." in user login name

2018.07.27
  dali - add 2/3 byte raw telegram support
  improve shutdown procedure

2018.07.31
  modbus - add float64/double support

2018.08.02
  fix rgb picker color selection when control is scaled via CSS

2018.08.20
  allow usage of 4-bit objects as scene triggers

2018.08.28
  change grp.create duplicate name search procedure to ignore case

2018.09.06
  dali - fix broken addressing after raw command has been implemented

2018.09.12
  luaencdec library - add sha384/sha512 hash/hmac calculation
  sort widgets/layouts by name instead of creation order

2018.09.18
  lm5 rio - fix edge case with object value update when enabling input mode for port that is already in active state

2018.09.21
  lmwall - fix sensor values not being displayed
  fix checkwrite/checkupdate always writing a value when passing non-boolean value to a boolean object

2018.09.28
  modbus - remove unused partial xml profile support

2018.10.10
  increase maximum user login size from 20 to 50 characters

2018.10.22
  increase maximum number of active connections from about 50 to 200

2018.11.16
  fix tag event scripts not being executed until saved again when tag is then assigned to a new object
  fix knx/ip rx telegram counter

2018.11.28
  dali - add partial dt8 command support to internal dali library

2018.11.29
  add forced https options - either redirect from http to https or http (port 80) disabled completely

2018.12.05
  luasocket - add "*r" receive pattern - for lines ending with "\r" ("\n" is ignored)

2018.12.14
  add additional garbage collection steps to resident scripts to prevent open file descriptor limit issues

2018.12.21
  improve trends deletion/resize procedure to flush data to disk immediately
  1-wire - allow seting send delta to 0 (always send new value)

2019.01.10
  dali - add Rainbow/Ecodim DALI Lux commands

2019.01.23
  dali - add Rainbow/Ecodim DALI Combisence commands

2019.01.25
  modbus - fix datatype display in mapping window when object datatype is different from modbus datatype

2019.02.19
  modbus - add "float" datatype alias for "float32"

2019.02.20
  modbus - add persistent connection mode for TCP devices

2019.02.21
  apps - add periodical app update check

2019.03.04
  visualization - fix incorrect element size display

2019.03.11
  visualization - fix alignment issue between labels and object value text in "value" mode

2019.03.13
  schedulers - add multiple scheduler display option for direct link view

2019.03.19
  bacnet - fix overridden flag behavior

2019.04.03
  bacnet - fix scale/angle data type maximum value handling, fix 1 byte ASCII character data type
  fix no value display for objects after custom values have been deleted via mass edit

2019.04.11
  lm5ex - fix current measurement incorrect value display when value is negative

2019.05.08
  luasocket - add "*c" (custom) receive pattern:
  second argument is ending character (defaults to \n)
  third argument character to skip (defaults to \0)

2019.05.21
  add quotes around string table keys in log() function, otherwise there's no visual difference between numeric and string keys

2019.05.31
  visualization - add remote url option to camera element

2019.06.06
  ftp - add forced secure (FTPS) mode
  vis. graphics - add search
  scenes - add optional status object
  object logs - allow wildcard (*) search in object name
  system config - add system configuration backup/restore

2019.06.14
  schedulers - add on/off object for scheduler control
  visualization - add background color setting for pop-up control elements (sliders, text input, etc)
  add drag/drop sort via separate window to trends, schedulers, scene sequence and visualization structure

2019.06.28
  add brute force protection for HTTP/FTP

2019.07.08
  modbus - fix object tag/comment being cleared when mapping an existing object to a modbus register/coil

2019.08.02
  add LM5RDC model

2019.08.05
  luasocket - set default TLS version to 1.2 for HTTPS requests

2019.08.12
  improve LuaSocket HTTP requests:
    1. HTTPS is now handled by socket.http.request, ssl.https is not needed for HTTPS anymore
    2. Response is returned automatically if no sink is set, setting sink is not needed
    3. POST body can be set by adding "body" request key
    4. POST body can be a table which will is automatically encoded to a string according to x-www-form-urlencoded format

2019.08.13
  trends - show total trend size in MB

2019.08.20
  modbus - fix potential out-of-bounds read in slave mode

2019.08.26
  fix typos in documented datatypes

2019.08.28
  bacnet client - add "command" object type support

2019.10.02
  modbus - force send of value_default for remaining objects when polling cycle for a given device hits 3 consecutive errors

2019.10.08
  dali - add partial addressing mode (only new ballasts without short address)

2019.10.10
  luasocket - add TCP port to HTTP host header for requests to non-standard ports
  luasocket - fix HTTP redirect not working

2019.10.11
  schedulers - use sub-datatype text for boolean value select options instead of generic on/off

2019.11.01
  bacnet - add optional object units/suffix conversion to BACnet units

2019.11.04
  schedulers - fix incorrect execution time for sunrise/sunset events during daylight saving change
  dali - fix mode select window height

2019.11.20
  trends - disable aggregation function selection for counter mode as it is not applicable for counters

2019.12.10
  fix underscore handling in object names for grp.find() and grp.create()

2020.01.29
  add metadata field to localbus messages which is used to store current user login when sending values from visualization
  this field is logged in Object logs. In scripts metadata can be set by modifying grp.meta

2020.02.05
  optimize app store package download procedure to allow larger files to be downloaded

2020.02.07
  provide current username as Globals.user in visualization (full and touch)

2020.02.13
  fix network config form not fully visible in Chrome

2020.02.17
  add optional delay to scene sequence

2020.03.09
  dali - increase device scan/addressing timeout to 10 minutes for larger installations

2020.03.12
  scenes - fix sequence object selection form for missing objects

2020.03.20
  enocean - fix RS485-3 conflict on certain LM models
  visualization - fix show control for 250 byte string

2020.03.22
  visualization - add widget-show/widget-hide events to widget containers

2020.03.25
  change object/storage output to buffered stream to minimize memory usage spikes in large projects

2020.03.26
  fix "common functions" (userlib) not being removed during factory reset
  implement additional classes for popover control elements, each additional class is added with "pcontrol-" prefix

2020.04.07
  implement snap to grid option for visualization editor

2020.04.09
  security - add IP block for PIN checks
  replace JSON import with client-side KNXPROJ conversion to JSON

2020.04.15
  apps localbus: add object update time reference to localbus and pass object as a second parameter to object  events

2020.04.17
  show plan/widget ID in edit form view
  visualization - fix 250 byte control width

2020.04.22
  visualization - put slider tooltip on the bottom when slider is close to the top

2020.05.05
  schedulers - add small delay between sending event values

2020.05.11
  modbus - add multiple mapping feature
  trends, schedulers - add category
  visualization - add control size scale option

2020.05.12
  trends - add export to CSV feature

2020.05.22
  enocean - add extra PTM button features (short/long press, dimming, scene)
  add new dpts: enumeration, combined on/off status, dali diagnostics, brightness and color temperature control, rgbw
  scripting - set library auto-load to off by default

2020.06.02
  security - lower HTTP fail count from 10 to 5
  security - increase pin length to 6 characters for global PIN, to 4 characters for object/plan

2020.06.18
  reactor v1: fix long press

2020.07.03
  fix CANx app for devices without CAN port
  fix OpenVPN not starting for certain configurations

2020.07.07
  apps: use .lp path as script name when using log() function

2020.07.09
  lmra: add binary status input mode

2020.07.10
  bacnet: add support for int64 object type

2020.07.20
  schedulers: fix menu duplication into other menu-like elements

2020.07.22
  fix dali daemon crash
Reply
#2
Another notable feature is that LM now has built-in OpenVPN client and MQTT broker. OpenVPN can be configured from System Config, for MQTT broker you need install configuration app from the store.
Reply
#3
Thank you, for information,

long waiting Smile Will test it. Don't stop with new features Wink

BR,

Alexander
Reply
#4
Hi,

I installed new firmware and additional packages used before. I noticed that also CANx Can bus configuration and monitoring program was added. My CPU usage increased to 95%. I have no any CANx devices, so CANx program was removed. CPU usage reduced to 7-10% as usual.

Aexander
Reply
#5
(03.07.2020, 16:10)AlexLV Wrote: Hi,

I installed new firmware and additional packages used before. I noticed that also CANx Can bus configuration and monitoring program was added. My CPU usage increased to 95%. I have no any CANx devices, so CANx program was removed. CPU usage reduced to 7-10% as usual.

Aexander
Which HW do you use?
Reply
#6
Can you try installing CANx app from the store. Does the high CPU load still happen?
Reply
#7
My HW is: LM5 Reactor Dimmer KNX (i.MX6)

I installed CANx again from store and CANx daemon CPU usage increased to 82-96%

Alex    
Reply
#8
Ok, thanks. Can you provide remote access to your LM (ports 80 and 22)?
Reply
#9
I will write you PM tomorrow, will talk about preferable time to connect.

BR,

Alex
Reply
#10
Please update CANx from the store and see if you still get high CPU usage. If it works correctly then remote access is not needed.
Reply
#11
Could you add wireguard vpn too? It is faster and less cpu consuming.
Reply
#12
I have some scenes that activate other scenes on the same group address, this now seems broken`?

Best regards, Jørn.
Reply
#13
This is intentional to minimize a chance of creating an infinite loop. As a workaround you can use an event script in between to trigger one scene from another.
Reply
#14
Could this not be refined as to not being able to send the same value that triggered the scene`?

Best regards, Jørn.
Reply
#15
Installed LM5 Lite + Ext firmware, and switched my external integrations to LM MQTT broker (~30 messages/minute). So far haven't seen any issues, great work!
Reply
#16
@Bitver
We might implement WireGuard later. OpenVPN has been selected due to being one of the most popular and supported solution.

@Jørn
This won't protect from Scene A triggering Scene B and then Scene B triggering Scene A back.

@myg
Thanks!
Reply
#17
Hi, my internal DALI GW stopped working after upgrading Dodgy . Any suggestions?

Best regards
Eilert Bjerkan
HW: LM5 M4 (i.MX6)

EDIT: Downgraded to this and I got things working again: http://dl.openrb.com/lm-17/pkg/genohm-sc...06_mxs.ipk
Reply
#18
@eilert, thanks for letting us know. RC3 will be published tomorrow.
Reply


Forum Jump: