Git Product home page Git Product logo

nexa-controller-rpi's People

Contributors

vinnyspb avatar

Stargazers

 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

nexa-controller-rpi's Issues

Internal Server Error

Hi!

So I just got myself a Nexa WT2, and I'm trying to get this to work. I realize it's a pretty old repo, but I hope you could help me anyway.

I get an "Internal Server Error" when I try to get to the web server.

Error on the Pi;

2019-12-28 15:43:57,012 * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
2019-12-28 15:44:14,146 Exception on / [GET]
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "web_interface.py", line 24, in ini_editor
config = Config()
File "/root/Downloads/nexa-controller-rpi/controller_config.py", line 23, in init
self.read_config(file_name)
File "/root/Downloads/nexa-controller-rpi/controller_config.py", line 33, in read_config
self.EARLIEST_ENABLE_HOUR = int(config.get('TIME', 'EARLIEST_ENABLE_HOUR'))
File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
NoSectionError: No section: 'TIME'
2019-12-28 15:44:14,154 192.168.0.13 - - [28/Dec/2019 15:44:14] "GET / HTTP/1.1" 500 -

error usting manual_switch.py

Hi
manual_switch.py is generating an error message:

pi@octopi:~/nexa-controller-rpi $ python manual_switch.py on 15 14072974,16
Traceback (most recent call last):
File "manual_switch.py", line 9, in
switcher = NexaSwitcher(data_pin=int(sys.argv[2]), transmitter_code=int(sys.argv[3]))
ValueError: invalid literal for int() with base 10: '14072974,16'

15 = pin,
14072974 = TransmitterID (is working with arduino)
16 = channel to set on

looking forward to receive your feedback!

TX443N transmission problem

I have a problem with a question of my TX443N and with nexa-controller-rpi. This might not be an issue with this project, but with a hardware but since I am not familiar with setup, I'll post this an as issue here.

I recently got my hands on TX443N and setup proper wiring, noticing two things: First, manual_switch.py using I was unable control or register to my Nexa Outlets (Date code: 1603) and second, TX443N caused radio interference to any other Nexa (remote controls (Date code: 1603 also) in the ~10-20 meters area preventing them working.

I have triple-checked wiring and circuit, so could this problem be of a faulty TX443N or is this some sort antenna-issue. I have tried varying length on 15 to 30 cm (optimal calculated is ~30cm).

I am running most recent rasbian on a Raspberry Pi 3. Any clues or experience of similar problems?

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.