GithubHelp home page GithubHelp logo

rpi-uv-controller's People

Contributors

asitkm76 avatar federicotartarini avatar

Watchers

 avatar  avatar

rpi-uv-controller's Issues

PIR issues

This is to keep track of the PIR false positives issue.

As of now, I tried blocking off their domes and checking if any of them still gave signals (false positives).
ID2 did. ID1 did not.
Implied ID2 may have a fault.
I tried to check yesterday inside ID2 and see something was loose.

Can the points where the wires are soldered to the sensor tangle up to send false signals?

Dashboard for the controls output

Suggestion from Zuraimi, again maybe for next gen

His suggestion was the kind of display we see now on the terminal (regarding light state or control signal state) can that be condensed into a dashboard - aesthetics.

Automated information to occupant

A suggestion from Stefano:
Can the control system inform the occupant that if they keep out for another x minutes, there will be a 99.9% disinfection?

it would be interesting to think of this but maybe in the next generation of the work, if there is more funding.

US scanner malfunction?

Traceback (most recent call last):
File "beacon_scanner.py", line 63, in
scan_beacons()
File "beacon_scanner.py", line 38, in scan_beacons
devices = scanner.scan(VARIABLES.beacon_scanning_interval)
File "/usr/local/lib/python3.7/dist-packages/bluepy/btle.py", line 852, in scan
self.start(passive=passive)
File "/usr/local/lib/python3.7/dist-packages/bluepy/btle.py", line 800, in start
self._mgmtCmd(self._cmd())
File "/usr/local/lib/python3.7/dist-packages/bluepy/btle.py", line 312, in _mgmtCmd
raise BTLEManagementError("Failed to execute management command '%s'" % (cmd), rsp)
bluepy.btle.BTLEManagementError: Failed to execute management command 'scan'
/usr/lib/python3/dist-packages/gpiozero/input_devices.py:997: DistanceSensorNoEcho: no echo received
warnings.warn(DistanceSensorNoEcho('no echo received'))

It seems there is something stopping the beacon scanner?

Checked with beacon out, no beacon registered, with me inside room.:

2020-09-22 08:31:40,425 INFO pir_sensor -- 2020-09-22T08:31:40.425184 - id: 2, value: 1
2020-09-22 08:32:29,954 INFO ultrasonic -- 2020-09-22T08:32:29.954511 - dist: 0.5493, std: 0.0
2020-09-22 08:32:40,175 INFO ultrasonic -- 2020-09-22T08:32:40.174930 - dist: 0.5143, std: 0.0943
2020-09-22 08:32:50,210 INFO ultrasonic -- 2020-09-22T08:32:50.210365 - dist: 0.7644, std: 0.1208
2020-09-22 08:33:00,351 INFO ultrasonic -- 2020-09-22T08:33:00.351456 - dist: 0.6343, std: 0.1818
2020-09-22 08:33:10,386 INFO ultrasonic -- 2020-09-22T08:33:10.386786 - dist: 0.7874, std: 0.1766
2020-09-22 08:33:20,422 INFO ultrasonic -- 2020-09-22T08:33:20.422490 - dist: 2.5, std: 0.7426
2020-09-22 08:33:30,456 INFO ultrasonic -- 2020-09-22T08:33:30.456289 - dist: 2.5, std: 0.9038
2020-09-22 08:33:40,490 INFO ultrasonic -- 2020-09-22T08:33:40.490194 - dist: 2.5, std: 0.9593
2020-09-22 08:33:50,525 INFO ultrasonic -- 2020-09-22T08:33:50.524965 - dist: 2.5, std: 0.9748
2020-09-22 08:34:00,890 INFO ultrasonic -- 2020-09-22T08:34:00.890422 - dist: 2.5, std: 0.9722
2020-09-22 08:34:11,263 INFO ultrasonic -- 2020-09-22T08:34:11.263863 - dist: 2.5, std: 0.9609
2020-09-22 08:34:21,300 INFO ultrasonic -- 2020-09-22T08:34:21.300556 - dist: 2.5, std: 0.9452
2020-09-22 08:34:31,764 INFO ultrasonic -- 2020-09-22T08:34:31.764318 - dist: 2.5, std: 0.9258
2020-09-22 08:34:41,808 INFO ultrasonic -- 2020-09-22T08:34:41.808166 - dist: 2.5, std: 0.8558
2020-09-22 08:34:51,845 INFO ultrasonic -- 2020-09-22T08:34:51.844989 - dist: 2.5, std: 0.7552
2020-09-22 08:35:01,888 INFO ultrasonic -- 2020-09-22T08:35:01.888236 - dist: 2.5, std: 0.5211
2020-09-22 08:35:11,923 INFO ultrasonic -- 2020-09-22T08:35:11.923554 - dist: 2.5, std: 0.1431
2020-09-22 08:35:22,288 INFO ultrasonic -- 2020-09-22T08:35:22.288302 - dist: 2.5, std: 0.0

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.