vinnyspb / nexa-controller-rpi Goto Github PK
View Code? Open in Web Editor NEWRemote controller for Nexa devices using Raspberry Pi
License: MIT License
Remote controller for Nexa devices using Raspberry Pi
License: MIT License
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 -
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!
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?
Hi, do you reckon it would be difficult/time consuming to add support for Nexa transmitters like this one?
http://www.clasohlson.com/se/R%C3%B6relsevakt-utomhus-Nexa-LMDT-810/Pr364914000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.