Giter Club home page Giter Club logo

picambot's People

Contributors

krohmium avatar scaidermern avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

picambot's Issues

python3: AttributeError: 'bytes' object has no attribute 'encode'

Exception in thread Image watch:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/Downloads/SecuritySys/piCamBot-master/piCamBot.py", line 398, in fetchImageUpdates
notify.add_watch(watch_dir.encode('utf-8'))
File "/home/pi/.local/lib/python3.5/site-packages/inotify/adapters.py", line 93, in add_watch
path_bytes = path_unicode.encode('utf8')
AttributeError: 'bytes' object has no attribute 'encode'

ValueError: No JSON object could be decoded

Hey guys, Im sorry.. i have error with my raspberrypi..

Traceback (most recent call last):
File "piCamBot.py", line 480, in
bot.run()
File "piCamBot.py", line 61, in run
self.config = json.load(open('config.json', 'r'))
File "/usr/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Require old versions of dependencies to work

I have followed your instructions in a new raspbian installation because my old SD card went wrong.
To make it work, I needed old versions of two dependencies.
pip3 install python-telegram-bot==10.1.0
pip3 install inotify==0.2.8

Maybe you want to note it on README.md

Queue messages on network failures

Messages should be queued and if network errors occur. Active probing should ensure that queued messages get delivered as soon as the network becomes accessible again.

Make GPIO support optional

Currently piCamBot fails if module RPi.GPIO is not installed. The module is only needed for controlling a PIR sensor or buzzer. piCamBot could be used without it for image capturing purposes only.

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.