Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowagent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node-red
flowagent
Commits
8e0457e5
Commit
8e0457e5
authored
Aug 12, 2021
by
Chavee Issariyapat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support feed
parent
18ebc7d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
coordinator.js
+5
-1
package.json
+1
-1
No files found.
coordinator.js
View file @
8e0457e5
module
.
exports
.
create
=
create
module
.
exports
.
create
=
create
const
DEBUG
=
tru
e
;
const
DEBUG
=
fals
e
;
const
events
=
require
(
'events'
);
const
events
=
require
(
'events'
);
const
cache
=
require
(
'./cache'
);
const
cache
=
require
(
'./cache'
);
...
@@ -226,6 +226,10 @@ const Coordinator = function(param={}) {
...
@@ -226,6 +226,10 @@ const Coordinator = function(param={}) {
payload
:
payload
payload
:
payload
});
});
}
}
else
if
(
topic
.
startsWith
(
'@feed/data/updated'
))
{
that
.
flowemitter
.
pub
(
`flow:feed:
${
jsonpayload
.
deviceid
}
`
,
jsonpayload
);
}
});
});
}
}
...
...
package.json
View file @
8e0457e5
{
{
"name"
:
"
flowagent
"
,
"name"
:
"
flowagent
"
,
"version"
:
"1.2.
2
"
,
"version"
:
"1.2.
3
"
,
"description"
:
""
,
"description"
:
""
,
"main"
:
"flowagent.js"
,
"main"
:
"flowagent.js"
,
"scripts"
:
{
"scripts"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment