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

Review: The machine simulator needs to generate every 10 sec new machine - machine identity - has machine name, location, etc. #288

Open
jerwest opened this issue Mar 12, 2020 · 1 comment
Assignees
Labels
iot team Assigned team test task Test another person's code/work
Milestone

Comments

@jerwest
Copy link
Collaborator

jerwest commented Mar 12, 2020

No description provided.

@jerwest jerwest added test task Test another person's code/work iot team Assigned team labels Mar 12, 2020
@jerwest jerwest added this to the Milestone #5 milestone Mar 12, 2020
@rbeeler
Copy link

rbeeler commented Mar 24, 2020

Testing was done remotely over a zoom video due to the fact that Peter has the raspberry pi.
Also, when trying to log in to the database I receive an error similar to the one I receive when trying to connect my simulated device to the Iot-Hub (I will post at the bottom of this page*).

These are the task steps completed when we tested:

  1. log into Azure and and into the database
  2. open the CLI in azure
  3. type: az extension add --name azure-cli-iot-ext
  4. type: az iot hub monitor-events --hub-name Iot-Hub-S3 --consumer-group test --device-id MyPythonDevice
  5. Have Peter plug in the Py. and notice the new information showing up in the CLI.
  6. Have Peter stop and set the Py. program to show a new location and restart.
  7. Notice new information in the CLI and the change in the database plus the change on the website.
  8. Peter runs it in the command line on the Py:
    sudo killall python3.710. sudo shutdown -h now

*The error I receive is copied below. Though I have not fixed this issue, if someone else gets it I recommend looking at your firewall settings and making sure port 8883 is open because I feel confident it is the main issue. Others suggest checking your proxy settings. When I did this I found mine were set correctly, so this was not the issue for me. I also tried turning my Windows Firewall Defender completely off, but this did not help either.

Error:
A connection to the server 'yoz-sql-server-task2.database.windows.net' could not be established. This might indicate an issue with your local firewall configuration or your network proxy settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iot team Assigned team test task Test another person's code/work
Projects
None yet
Development

No branches or pull requests

2 participants