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.

Cloud app
#35
cloud app does not work on LM3 with 3*RS485 and 1*RS232. devices does not appear in list
my firmware is 20170620

please update example for PUSH to send notifications to Android to

Code:
pusher=dofile("/home/apps/store/data/cloud/lua/pusher.lua")
--example of sending PUSH to add added devices
local ids= {}

--log(pusher)

for _, d in ipairs(pusher.get_ios_devices()) do
table.insert(ids, d.id)
end
for _, d in ipairs(pusher.get_android_devices()) do
table.insert(ids, d.id)
end
--log(ids)
local status,errors=pusher.push_notification(ids, 'харумамбуру')
--log(status,errors)
Reply


Messages In This Thread
Cloud app - by edgars - 02.02.2017, 12:27
RE: Cloud app - by Erwin van der Zwart - 02.02.2017, 12:39
RE: Cloud app - by Habib - 02.02.2017, 17:08
RE: Cloud app - by Erwin van der Zwart - 02.02.2017, 17:18
RE: Cloud app - by Habib - 02.02.2017, 17:24
RE: Cloud app - by Thomas - 16.02.2017, 13:50
RE: Cloud app - by edgars - 17.02.2017, 07:10
RE: Cloud app - by leondias - 29.03.2017, 06:12
RE: Cloud app - by Erwin van der Zwart - 29.03.2017, 06:42
RE: Cloud app - by leondias - 29.03.2017, 06:51
RE: Cloud app - by phongvucba - 27.03.2017, 08:51
RE: Cloud app - by edgars - 27.03.2017, 09:22
RE: Cloud app - by admin - 29.03.2017, 07:13
RE: Cloud app - by leondias - 29.03.2017, 07:18
RE: Cloud app - by leondias - 30.03.2017, 13:34
RE: Cloud app - by edgars - 31.03.2017, 13:40
RE: Cloud app - by leondias - 31.03.2017, 14:21
RE: Cloud app - by marcilbe - 04.04.2017, 08:06
RE: Cloud app - by Thomas - 04.04.2017, 11:38
RE: Cloud app - by edgars - 04.04.2017, 11:40
RE: Cloud app - by edgars - 04.04.2017, 12:25
RE: Cloud app - by Thomas - 04.04.2017, 14:22
RE: Cloud app - by edgars - 06.04.2017, 09:16
RE: Cloud app - by Thomas - 07.04.2017, 11:30
RE: Cloud app - by Superchango - 12.06.2017, 15:57
RE: Cloud app - by Erwin van der Zwart - 12.06.2017, 19:29
RE: Cloud app - by Superchango - 14.06.2017, 07:13
RE: Cloud app - by morak - 14.06.2017, 10:02
RE: Cloud app - by buuuudzik - 10.07.2017, 18:05
RE: Cloud app - by buuuudzik - 12.07.2017, 07:20
RE: Cloud app - by AEK - 12.07.2017, 08:10
RE: Cloud app - by edgars - 12.07.2017, 08:04
RE: Cloud app - by buuuudzik - 12.07.2017, 08:17
RE: Cloud app - by hummelsystemhaus - 13.11.2017, 15:04
RE: Cloud app - by AEK - 14.11.2017, 11:52
RE: Cloud app - by AEK - 28.02.2018, 07:39
RE: Cloud app - by Northwind - 01.12.2017, 19:49
RE: Cloud app - by Daniel - 04.12.2017, 09:11
RE: Cloud app - by gtsamis - 15.12.2017, 12:27
RE: Cloud app - by Daniel - 15.12.2017, 12:47
RE: Cloud app - by iridium - 08.01.2018, 13:06
RE: Cloud app - by Daniel - 08.01.2018, 13:16
RE: Cloud app - by iridium - 08.01.2018, 14:16
RE: Cloud app - by Daniel - 08.01.2018, 14:34
RE: Cloud app - by iridium - 09.01.2018, 16:18
RE: Cloud app - by Daniel - 09.01.2018, 16:33
RE: Cloud app - by Daniel - 10.01.2018, 10:24
RE: Cloud app - by Daniel - 28.02.2018, 07:52
RE: Cloud app - by AEK - 28.02.2018, 08:29
RE: Cloud app - by Daniel - 28.02.2018, 08:34
RE: Cloud app - by AEK - 28.02.2018, 09:47
RE: Cloud app - by Daniel - 28.02.2018, 09:54
RE: Cloud app - by AEK - 28.02.2018, 10:56
RE: Cloud app - by iridium - 20.03.2018, 15:50
RE: Cloud app - by Daniel - 20.03.2018, 16:04
RE: Cloud app - by iridium - 20.03.2018, 16:47
RE: Cloud app - by iridium - 21.03.2018, 15:56
RE: Cloud app - by edgars - 22.03.2018, 10:27
RE: Cloud app - by iridium - 22.03.2018, 14:57
RE: Cloud app - by iridium - 25.03.2018, 11:13
RE: Cloud app - by Daniel - 26.03.2018, 08:04
RE: Cloud app - by fruitmans - 03.03.2019, 12:43
RE: Cloud app - by Daniel - 04.03.2019, 08:33
RE: Cloud app - by fruitmans - 06.03.2019, 17:36
RE: Cloud app - by Daniel - 06.03.2019, 17:42
RE: Cloud app - by fruitmans - 06.03.2019, 17:51

Forum Jump: