-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation and daemon installer for discovery node #1010
Conversation
@@ -0,0 +1 @@ | |||
venv/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just venv/ -- no need for the trailing star
|
||
`sudo ~/venv/bin/python3 main.py` | ||
`vendor` discovery family is a counter which increments every second |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a note to say that if the discovery node does a vendor
discovery is actually a counter
for i in itertools.count(1):
if self.cancelled:
return
result = DiscoveryEvent(
generation=self.generation, scan_family=self.scan_family, scan_addr=i
)
self.publisher(result)
time.sleep(1)
```json | ||
{ | ||
"mqtt": { | ||
"device_id": "GAT-1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indent
|
||
```json | ||
{ | ||
"mqtt": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be dandy if this bit matched the schema of schema/configuration_endpoint.json -- but, we can track that with some future work. That's fundamentally what this is...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, I do agree with that and something I plan to do
No description provided.