Logic Machine wishlist - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Logic Machine wishlist (/showthread.php?tid=247) |
RE: Logic Machine wishlist - admin - 01.12.2016 We have plans for complete rewrite of the editor for next year. RE: Logic Machine wishlist - Thomas - 02.03.2017 Please, add button "Add" to Objects - Mass Edit -> Tags. Because I want to select whole room and set tag "room" Then I want to select all lights and set tag "lights" As a result I want to see lights in room tagged as room, lights. This is not possible now (or I haven't found any way how to do it without coding in Lua) RE: Logic Machine wishlist - Erwin van der Zwart - 02.03.2017 Hi Thomas, You can do that already, and yes also in LM FW (: BR, Erwin RE: Logic Machine wishlist - Thomas - 03.03.2017 Hi, How? This simple process you described deletes already existing tags. RE: Logic Machine wishlist - Erwin van der Zwart - 04.03.2017 Hi, Use the filters before changing tags on objects that already has tags. Question : Why don't you want to use script for adding tags to objects? The only extra handling is creating a temp script container. There are very powerfull script commands to do this, do you know them? Code: grp.gettags(alias) Some simple samples: 1) Add tags based on name (partial), existing tags will be untouched Code: -- Start address of objects 2) Add tags based on DPT, existing tags will be untouched Code: -- Start address of objects BR, Erwin RE: Logic Machine wishlist - Thomas - 06.03.2017 Hi Erwin Thank you for your codes. I planned to develop similar functions. You wrote "Use the filters before changing tags on objects that already has tags." Maybe I'm overlooking something but whai I want to point out is there's no solution for this situation: 1. I want all object in 1st floor tagged as "1st_floor" 2. I want all lights tagged as "light". So as a result every light in 1st floor has tags 1st_floor,light. This is just example. I understand I can filter lights in 1st floor and fill two tags. But imagine situation I have six tags per object. Every new tag doubles complexity of the process. In other words: missing "Add" button makes it very difficult. RE: Logic Machine wishlist - Erwin van der Zwart - 06.03.2017 Hi Thomas, Do you mean by "1st_floor" the objects that are created on a certain plan? Or do they have the name "1st_floor" in the object name / description? How can the system determine it's 'lights' ? Do you have this name used in the object name / description? BR, Erwin RE: Logic Machine wishlist - Thomas - 06.03.2017 Do you mean by "1st_floor" the objects that are created on a certain plan? Or do they have the name "1st_floor" in the object name / description? They have special object address. How can the system determine it's 'lights' ? Object name contains _L_ and the data type is 1.1 But this is not important for functionality I suggest to add. The rule can be everything which is filterable. Next think I would like to see is a "negative filtering". Like google does. If I write 1st_floor,lights,-feedback into tag searcher I would like to get results which contains light objects at first floor but are not feedbacks. RE: Logic Machine wishlist - Erwin van der Zwart - 06.03.2017 Hi, For special address range you can use a widcard like 1/2/* or 1/*/8 in the filter. For lights you can enter '_L_' into the name field and set datatype to '01.001 switch' to filter them and add tags by mass edit in this filtered list. If you add tag 'feedback' to the feedbacks and 'control' to the controls and all have the tag '1th floor' and 'lights' you can filter them as you want with match mode 'all tags'. BR, Erwin RE: Logic Machine wishlist - Thomas - 06.03.2017 BTW enhance the address filter to a fully regexp based search would be great improvement too. Instead of just star like in Erwin's example above I need something more sophisticated like [1-8]/[6;7]/* as an option. RE: Logic Machine wishlist - Erwin van der Zwart - 06.03.2017 Hi, I don't think it will be added any time soon, you are the only one asking for it.. To be honest, i use the controller on daily base for about 4 years and see a lot of projects and never missed it and none of our customers asked for it or made any comment on it.. BR, Erwin RE: Logic Machine wishlist - Thomas - 12.03.2017 The functionality I'm missing: 1. Multiple "Default Page". I have two very different layouts and I need to define default page on per user basis. 2. Trend log as insertable object in the same way as Graph is. 3. User access log available directly from the visu. 4. User name and IP in Object log (as I described somewhere else and buuudzik gave me an idea for a solution) 5. "Thermometer gauge" - Normal "oldschool" vertically oriented linear thermometer with scale and numbers. I think measuring and showing of actual temperature is one of most used tasks LM does. 6. Icon for on and off state for the right part of a touch visu in case object has a default value. The only available options now are "v" and "x" icons which is confusing in such cases. People don't understand they should click "x" when they want turn the lights on. 7. Ability to choose which group addresses are ACKed by LM. I have another PLC in the same line and I don't want LM ACK group addresses which are for the second PLC. 8. Ability to choose which screen is a main screen (available from simple URL http://<LM_IP>). Some other products can do it. In LM5 is this option missing. 9. Insert a custom SSL certificate. The actual state is a real disaster. Sorry. 10. Cloud support for both "traditional" visualisations. Siemens can do it so there's a way how to do it. 11. Per tag triggered scripts. If you want to calculate "Is there at least one light turned on in the house" task and you don't want use a resident script then you have to put the function to every feedback object. Which is plenty of work. It would be nice to be able to create a script for group of objects with the same tag. RE: Logic Machine wishlist - admin - 13.03.2017 Nr.5 can be easily created via SVG with any styling you want. Nr.9 is planned for the next FW release. Nr.11 is already there, you can map event script to a group address or a tag. RE: Logic Machine wishlist - Thomas - 13.03.2017 Hi 5. Can you please direct me to an example? I've no idea how to make object in SVG parameter dependant on group address value. 11. Perfect! I missed this option. RE: Logic Machine wishlist - Erwin van der Zwart - 13.03.2017 Hi Thomas, Here is a random SVG file i downloaded and i added some JS to it (; For details how i did it see EOF and noticed the ID mercury i attached to the object listener inside this SVG. Basicly i added this code into the SVG just above EOF </svg> and attached it to the bar element with ID "mercury" : Code: <defs>
thermometer.svg (Size: 9.76 KB / Downloads: 101)
BR, Erwin RE: Logic Machine wishlist - admin - 13.03.2017 Erwin, you should replace addListener with grp.listen as it is guaranteed not to change between firmware releases. RE: Logic Machine wishlist - Erwin van der Zwart - 13.03.2017 Hi Admin, I already tried before posting this, but didn't work... Now i checked again and i notice i forgot to change obj to object (: I updated the post and sample file above to the grp.listen methode Thanks for tip (; BR, Erwin RE: Logic Machine wishlist - Thomas - 13.03.2017 Thank you. But it means I need a special SVG for every room. Which is not a big deal but I would rather see it as a standard gauge option. RE: Logic Machine wishlist - Erwin van der Zwart - 13.03.2017 Hi, Me to, but i prefer a improved html5 editor first. You don't need a svg for each room, you could include custom classes into the JavaScript like sample i gave you for lux value scaling, this way you can attach a address listener to the SVG for multiple usage of the same SVG file. However this custom class is in the parent so it's not real easy to figure out how to bind the listener to the correct item. I have done it before with frames so i know it's possible.. BR, Erwin RE: Logic Machine wishlist - Thomas - 16.03.2017 Hi I would like to know your opinion: I've been thinking about a new SQL server separated form the internal SQLLite. This server is going to be visible from outside and available from Lua in form of embedded SQL commands too. At the begining I asked myself what is should be good for. Then I have got these ideas: 1. There are lots of requests like "I want to export data which are not easily exportable. Graphs, Logs etc.". You can store all data you need by events. 2. From time to time you need to store global values. You can of course use the storage space but it's too simple tool. 3. Lua with their tables is a perfect tool for storing SELECT results. 4. It would be perfect for statistics operations. Like I would like to see average wind speed from the previous 10 minutes. But not in 10 minutes blocks but in time. This is not possible to do now. 5. You can fully replicate the database by standard DB tools. 6. You can easily embed tables stored in SQL database into an enterprise environment. |