Skip to content
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

certificate and history #91

Merged
merged 6 commits into from
Sep 21, 2020

Conversation

wellitonSouza
Copy link
Contributor

@wellitonSouza wellitonSouza commented Sep 17, 2020


To be able to execute the command of the example video it is necessary to be in the same directory as the 3 files attached. Command used in the example:

mosquitto_pub -h 10.50.11.192 -p 8883 -t admin: 4302d4 / attrs -m '{"humidity": 7}' --cert "admin 4302d4.crt" --key "admin 4302d4.key" --cafile ca. crt
Copy link
Collaborator

@mprevide mprevide Sep 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add .. code:: bash

.. code:: bash

   mosquitto_pub -h 10.50.11.192 -p 8883 -t admin: 4302d4 / attrs -m '{"humidity": 7}' --cert "admin 4302d4.crt" --key "admin 4302d4.key" --cafile ca. crt

Generating device history report
------------------

In this section, how to generate a device history report will be lost. The report is able to show data for one or more attributes of the respective device. For this, it is necessary to select the desired attributes, define the period and click on “generate”.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

report will be lost?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted

mosquitto_pub -h 10.50.11.192 -p 8883 -t admin: 4302d4 / attrs -m '{"humidity": 7}' --cert "admin 4302d4.crt" --key "admin 4302d4.key" --cafile ca. crt
.. code:: bash

mosquitto_pub -h 10.50.11.192 -p 8883 -t admin: 4302d4 / attrs -m '{"humidity": 7}' --cert "admin 4302d4.crt" --key "admin 4302d4.key" --cafile ca. crt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove spaces in topic
change to -t admin:4302d4/attrs

Copy link
Collaborator

@mprevide mprevide Sep 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chanto cafile ca.crt

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mprevide mprevide requested review from eduardogmisiuk and a team September 17, 2020 20:04

.. code:: bash

mosquitto_pub -h 10.50.11.192 -p 8883 -t admin: 4302d4/attrs -m '{"humidity": 7}' --cert "admin 4302d4.crt" --key "admin 4302d4.key" --cafile ca.crt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone reading, this IP is meaningless, unless you explain that the IP is that of the dojot host...
could this IP be the loopback interface (127.0.0.1)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I switched to localhost

thiagodpf
thiagodpf previously approved these changes Sep 18, 2020
@@ -463,6 +463,39 @@ msgstr ""
"Note que, em cada etapa, são exibidos o status e o resultado da aplicação"
" da imagem. "

#: ../../source/using-web-interface.rst:247
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question ... Are you adding manually,by hand?
If so I believe it would cause some problems ....
Are you generating the html in pt BR and checking everything?

Copy link
Collaborator

@mprevide mprevide Sep 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only ask because msgid is a single line, but when we use make gettext it breaks the lines.

Copy link
Collaborator

@mprevide mprevide Sep 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But if you generate the html in pt BR and It works fine that already enough ...

Copy link
Collaborator

@mprevide mprevide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants