• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight config editor
#6
(12-03-2015, 03:08 PM)Niek Wrote: @ktams

I have tried your config editor (good iniatitive by the way) and here is some feedback.

Thank you for your comments. I feared, no one is interested in it....

Quote:Loading an existing config fails if the base name of the config file is not just "config". It would be nice if config files with other names could be loaded and saved too. That will make it easier to maintain multiple config versions.

I tried t o make sure, it is a config file for pilight. But I can make it sure in another way (looking after "pilight" in the file).
Quote:I can edit the name of an existing device, but the "new" button is inactive (gray), so I cannot create new devices.

At the moment the editor works only correct, if a working config.json is loaded. So you must load a file and than the button works.

Quote:The "delete" button looks active, but when I click on it, the selected device is not deleted from the devices window.

did you load a config.json first? I tried it with my file and it works...

Quote:GUI elements that exist in the loaded config file are not visible in the GUI elements window. Clicking on the >> button has no effect. No new GUI elements can be created either.

Only new GUI elements will be created if a device has no GUI element. Can you send me your test file so I can see, what is wrong?

Quote:Rules that exist in the loaded config are not visible in the Rules editor window, so cannot be edited.

Here the same. With my test files it works. May be, the file parser crashes with your.

Quote:And then the rules editor itself which I think is by far the most complex and most important part of the tool.

I think the option buttons (like ".state" and ".dimlevel") could better be replaced by cotext sensitive drop down boxes containing only the options relevant for the selected device. Otherwise you will end up with way too many buttons and have a big risk of selecting an option that is invalid for the given device.

I have seen it as I implemented it. My intention was to make it as simple as possible, but there are to much buttons now. That is one of the things, I want to change.

Quote:Buttons for operators (if not replaced by drop down boxes) should be made context sensitive too (dependent on the selected action), to prevent using operators that are invalid for a given action.

The tool is more like a makro assembler now than a C compiler ;-) That is the next step.

Quote:Buttons for actions ("switch", "dim" and so on) are missing.

Yes. I stopped placing buttons when I see, it is too much. Until now you had to add some words per hand until I changed the handling.

Quote:My comments may seem negative, but that is certainly not my intention. As I said this is a good initiative and I know it is quite a job to create such an editor. I hope these comments are helpful for you.
Yes, very helpful. There are two types of negative comments.
1. You say: "All bad and not usable and never will be".
2. You say: "this is not working ant that".
You can guess what is more helpfull ;-)
many thanks
 
Reply
  


Messages In This Thread
pilight config editor - by ktams - 11-27-2015, 07:33 PM
RE: pilight config editor - by ktams - 12-02-2015, 07:58 PM
RE: pilight config editor - by curlymo - 12-02-2015, 10:18 PM
RE: pilight config editor - by ktams - 12-03-2015, 11:59 AM
RE: pilight config editor - by Niek - 12-03-2015, 03:08 PM
RE: pilight config editor - by ktams - 12-03-2015, 06:04 PM
RE: pilight config editor - by Niek - 12-04-2015, 12:19 AM
RE: pilight config editor - by ktams - 12-05-2015, 07:33 PM
RE: pilight config editor - by ktams - 12-07-2015, 03:52 PM
RE: pilight config editor - by Niek - 12-07-2015, 05:34 PM
RE: pilight config editor - by ktams - 12-11-2015, 04:18 PM
RE: pilight config editor - by Niek - 12-12-2015, 05:10 PM
RE: pilight config editor - by ktams - 12-12-2015, 05:59 PM
RE: pilight config editor - by SeLi - 01-06-2016, 11:44 AM
RE: pilight config editor - by ktams - 01-06-2016, 01:32 PM
RE: pilight config editor - by SeLi - 01-06-2016, 01:48 PM
RE: pilight config editor - by ktams - 01-06-2016, 02:42 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 1,930 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 1,735 11-21-2017, 11:15 PM
Last Post: curlymo
  Connect pilight to your hue bridge hannemann 3 3,180 01-03-2017, 11:26 PM
Last Post: hannemann
Wink PHP class using pilight socket connection Dan 0 1,739 11-03-2016, 11:41 AM
Last Post: Dan
  piScheduler -- A pilight extension for the daily switch plan gneandr 159 76,964 08-09-2016, 04:33 PM
Last Post: gneandr
  Controlling a RGB Led Strip over pilight mightyuhu 2 2,782 08-06-2016, 09:10 PM
Last Post: JohannK
  HomeBridge with pilight on raspbian Jurre 10 13,447 04-06-2016, 07:45 AM
Last Post: tomtom
  pilight voice commands kniazio 11 6,898 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 2,408 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  command processing between pilight and openhab royhofman1989 3 3,175 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)