Coder Social home page Coder Social logo

giffy1 / iot-smart-home-simulation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 84 KB

Distributed Operations Assignment 2 : This is a distributed system of IoT devices, including sensors and smart devices that communicate through a central gateway. Events are ordered using clock synchronization as well as logical clocks.

Python 85.27% TeX 14.73%

iot-smart-home-simulation's Introduction

To run the tests, make sure to run FIRST the gateway AND THEN the backend. Then you can run a test. What I do is open a tab, type the command "python gateway.py". Then open another tab, use command "python backend.py". Then open a final tab and run whichever test. When starting a new test, I always kill all clients first, then kill and restart the server, because of indexing artifacts that occur when keeping the same server running (sorry about that!). When running any of these scripts, you can add the flag -f to suppress debugging output. I'd definitely recommend doing that when running the tests. Specifically you should run tests for example as follows: "python test_sync -f". This will only show the relevant output.

iot-smart-home-simulation's People

Watchers

James Cloos avatar Sean Noran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.