Logic Machine Forum
[OLD] LogicMachine firmware 2017.04 - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: Announcements (https://forum.logicmachine.net/forumdisplay.php?fid=7)
+--- Forum: Software updates (https://forum.logicmachine.net/forumdisplay.php?fid=13)
+--- Thread: [OLD] LogicMachine firmware 2017.04 (/showthread.php?tid=752)

Pages: 1 2 3 4


[OLD] LogicMachine firmware 2017.04 - admin - 25.04.2017

We are happy to announce that RC1 firmware is ready for testing.

Major changes

Virtual objects - additional address range which only exists inside of LM and is not sent to KNX/TP and KNX/IP

Trends - secondary Y axis, trends are grouped by object units

Visualization
  - Start/stop object mode
  - Improved lost connection detection and reconnect workflow

Schedulers
  - Extended event date and holiday matching options
  - Added sunrise/sunset mode with additional time offset

Scenes - new module which can be used to create simple object value sequences

Improved performance for certain modules - Reactor line (excluding Reactor V1), EnOcean, BACnet

Other
  - Better error log with function call traceback
  - Updated translations
  - Custom SSL certificate upload
  - LM can now act as NTP time server (useful for secure KNX connection where time sync is required between all LMs)
  - Removed block editor, please use FBeditor app instead

LM2 IMX: https://dl.openrb.com/lm-17/lm2i-20170424.img
LM3 V1 (4 x RS-485): https://dl.openrb.com/lm-17/lm3v1-20170424.img
LM3 V2 (3 x RS-485 and 1 x RS-232): https://dl.openrb.com/lm-17/lm3v2-20170424.img
LM4: https://dl.openrb.com/lm-17/lm4-20170424.img
LM5 lite: https://dl.openrb.com/lm-17/lm5m3-20170424.img
LM5 lite with extensions: https://dl.openrb.com/lm-17/lm5m3ex-20170424.img
LM5 4 DIN units: https://dl.openrb.com/lm-17/lm5m4-20170424.img
LM Ambient: https://dl.openrb.com/lm-17/lmwall-20170424.img
LM Reactor Lite: https://dl.openrb.com/lm-17/rctl-20170424.img
LM Reactor V1: https://dl.openrb.com/lm-17/reactor-20170424.img
LM Reactor V2: https://dl.openrb.com/lm-17/reactorv2-20170424.img
LM Reactor V3: https://dl.openrb.com/lm-17/reactorv3-20170424.img

Extra packages: https://dl.openrb.com/lm-17/pkg


LM5 Power devices
Note: if upgrade does not work, run this script once:
https://gist.github.com/jsopenrb/4ba040d83cd25d51bf70a0dbc6b74447

LM5 lite: https://dl.openrb.com/lm-17-imx6/lm5m3-20170424.img
LM5 lite with extensions: https://dl.openrb.com/lm-17-imx6/lm5m3ex-20170424.img
LM5 4 DIN units: https://dl.openrb.com/lm-17-imx6/lm5m4-20170424.img

Extra packages: https://dl.openrb.com/lm-17-imx6/pkg


Old LM2 with AT91 CPU: https://dl.openrb.com/lm-17/lm2-at91-20170424.img
Warning: only full re-install via UART/TFTP is possible, upgrade via WEB is not supported
https://dl.openrb.com/misc/lm2.flash.pdf

Load balancer FW and packages will be published later.


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 25.04.2017

Very good infoWink

How about compatibility of trends, schedulers, modbus-rtu from 20160927 firmware and this? Do this upgrate has new HTML5 editor?

Could you upgrade the LM which is on openrb.com? I must check this on some test machine before install.

I can't wait so I've updated one not primary LM4 and I've checked some functions. SSL is very nice. I've had some problem with Modbus-RTU because when I've updated LM4 modbus settings changed to default so I must set up modbus rtu, baudrate and others. Probably I solved this but where can I check in backup this setting?

And also there is some bug in FBEditor(this was before update). This is its description:
Error in /www/apps/data/fbeditor20/index.lp at line 19: unexpected symbol near '='


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - admin - 25.04.2017

As usual, everything is forward-compatible. We'll update the demo LM to RC1 this week.


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 25.04.2017

Could you support some information about:
- which address range is for virtual objects?
- how can I use custom SSL certificate upload?


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - Erwin van der Zwart - 25.04.2017

Hi,

Internal addresses are from 32/0/1 until 63/7/255 (same range size as normal KNX range starting where KNX range stops)

SSL is a bit more complex, however uploading is not so difficult, just paste it, save and reboot (: but creating one is the bigger challange especially if you want a free certificate. Check let's encrypt for this..

BR,

Erwin


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 25.04.2017

Thanks Erwin, it was very helpfulWink I must check this SSL certificate by myselfSmile

Do you know what are the solutions for remote control without VPN? And do you know how secure is only port forwarding + SSL?


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - Erwin van der Zwart - 25.04.2017

Hi,

If you use a homeLYnk you can use our homeLYnk remote app, if you use a LM you could use the cloud solution but i think you are forced to use Mosaic.

SSL with port forwarding is a option, however your traffic is secured, there is a open port..

On the other hand, a well skilled hacker would not waste his time on a visu if you ask me (:

BR,

Erwin


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - rocfusion - 26.04.2017

Hi,

For the schedulers, is it possible to either link a schedule to an tag or to multiple objects?

Thanks,

Roger


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - admin - 27.04.2017

No, since tag can be assigned to objects with different data types.
This can be done with 1 line script Smile
Code:
grp.tag('My tag'):write(event.getvalue())



RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - leonidas - 27.04.2017

What about Apple Homekit support?


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 27.04.2017

Could someone can prepare some step-by-step instruction for SSL certification LM and iPhone?


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - admin - 27.04.2017

Here's a guide on how to create self-signed certificates, then you need to install root cert on all devices so there are no warnings:
https://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - rocfusion - 27.04.2017

(27.04.2017, 05:56)admin Wrote: No, since tag can be assigned to objects with different data types.
This can be done with 1 line script Smile
Code:
grp.tag('My tag'):write(event.getvalue())

Ok the scheduler is still inconvenient for the end user.  For example, you take 10 sprinkler valves,  which always are set to start at 6am for 1 hour.  When the end user ( customer ) wants to adjust that timing they have to do it 10 times.  That is really cumbersome.  It should be a single time assignable to multiple objects ( group addresses ).  Assigning the time to an virtual object that runs an event script is not an option.  No end user would be capable of adjusting the script to change the values of multiple objects.

Using the script scheduler is not an option, its too complicated. 

Thanks,

Roger


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - Erwin van der Zwart - 27.04.2017

Hi Roger,

We are working on a scene app at this moment. You could use it to solve your problem.

If you make a scheduler on a internal byte object and link that to a scene sequense. This way you can assign 256 different triggers to activate any given object in the scene value how you like. 

The customer can set the output values for any object himself when the app is available, the scheduler simply triggers the scene.

BR,

Erwin


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - gtsamis - 27.04.2017

It would be nice if scheduler had an option to run every X days.


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 27.04.2017

I've prepared OpenSSL certificate and it is half-finished because comunication is encrypted but I must use the secure exception for this certificate because his provider is unknown. Maybe somebody has some knowledge how can solve this?

And also I've tested a function "Remember username and password" and now this is very nice and more safe solution then before. Thanks support team for this updateWink


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - admin - 28.04.2017

You have to install root certificate on all devices that are accessing LM, so the connection is trusted.


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 28.04.2017

(28.04.2017, 06:56)admin Wrote: You have to install root certificate on all devices that are accessing LM, so the connection is trusted.

I've added certificate to LM, to Firefox, and also on iPhone and all is good except Firefox where there is a little bug with certificate provider.

How I should fill the SSL fields like country, city, server? Please prepare a sample for Firefox.


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - buuuudzik - 30.04.2017

Yesterday I've found some strange situation with password remember function and also today. I've tried to connect remotely via https with one logic machine and I must type login and password after 2 days from last login. I've set "Remember username and password"(yes) and "User cookie expiration days"(30 days). How it should works? What it depends on?(e.g. ip address or only device and its cookie).

And also I've checked Multiple Trends function and it's very goodWink


RE: [PRE-RELEASE] LogicMachine firmware 2017.04 - admin - 30.04.2017

Auth cookie becomes invalid if client IP changes. Its lifetime is set from LM so it will not work if LM date/time in incorrect.