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 that you accept these cookies being set.

Application Store documentation and sample app
#21
Can I apply too for these packaging instructions?

Thanks in advance.
Reply
#22
https://forum.logicmachine.net/showthread.php?tid=85
------------------------------
Ctrl+F5
Reply
#23
I wondered how to make .ipk file for installation from GUI. Can I have packaging guide too?

Thanks in advance!
Reply
#24
You can't, once you have the app working we can compile it.
------------------------------
Ctrl+F5
Reply
#25
I'm not sure if this is the best place to ask, but I have an app that I now wish to package as an IPK. I know how to create an IPK file, but if I try and install this I get an error. Do I need to send the code etc to you guys?

Many thanks

Darren
Reply
#26
hi please can you help me to make an api that takes json data and save it in to csv file
thanks in advance.
Reply
#27
Use this to get raw POST JSON in your .lp file:
Code:
<?
require('apps')

-- read POST data
body = ngx.req.get_body_data()

if body then
  -- decode data as JSON
  data = json.pdecode(body)

  -- check that data is a table
  if type(data) == 'table' then
    log(data)

    -- add data to CSV
  end
end
Reply
#28
Hello!

Here is very simple app (for people who only start their experience in app development).

App includes:
1.) Example of form validity on client's side.
2.) Example of form validity on server's side.
3.) Usage of storage.
4.) Usage of redis.
5.) Example of selecting KNX objects by it's data type.
6.) Example of displaying KNX objects and it's values as an editable list.

The app should be located in /data/apps/store/data/

Attached Files
.zip   template.zip (Size: 406.75 KB / Downloads: 43)
Reply
#29
Hi,
How we can create an ipk package file to upload new device ?
Thanks
Reply
#30
Check PM
Reply
#31
If I store the data via ftp in /data, do I have to pay attention to anything else? Because the app is then not displayed. Or do I have to make an .ipk out of it?
Reply
#32
Do you have index.lp and icon.png or icon.svg in your app directory?
Reply
#33
Yes i have

Attached Files Thumbnail(s)
   
Reply
#34
Path should be /data/template not /data/template/template
Reply


Forum Jump: