Repository for hass.io addons.
Broadlink S1C Addon : working
RF Receiver Addon : working
starting version 3.2.4
Collecting broadlink
Using cached broadlink-0.8.tar.gz
Collecting pycryptodome==3.4.11 (from broadlink)
Downloading pycryptodome-3.4.11.tar.gz (6.7MB)
Collecting PyCRC (from broadlink)
Using cached PyCRC-1.21.tar.gz
Installing collected packages: pycryptodome, PyCRC, broadlink
Running setup.py install for pycryptodome: started
Running setup.py install for pycryptodome: still running...
Running setup.py install for pycryptodome: finished with status 'done'
Running setup.py install for PyCRC: started
Running setup.py install for PyCRC: finished with status 'done'
Running setup.py install for broadlink: started
Running setup.py install for broadlink: finished with status 'done'
Successfully installed PyCRC-1.21 broadlink-0.8 pycryptodome-3.4.11
Traceback (most recent call last):
File "/share/s1c.py", line 14, in
sens = devices.get_sensors_status()
File "/share/broadlink.py", line 551, in get_sensors_status
_name = str(bytes(sens[4:26]).decode())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)
hi I tried to install this addon on new HassOs 32 and 64 bit images on Raspberry pi 3 b with no success. Error I'm getting is that:
/data/venv/lib/python3.6/site-packages/rpi_rf/rpi_rf.py:167: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.IN)
Traceback (most recent call last):
File "/share/rpi-rf_receive.py", line 34, in
rfdevice.enable_rx()
File "/data/venv/lib/python3.6/site-packages/rpi_rf/rpi_rf.py", line 168, in enable_rx
GPIO.add_event_detect(self.gpio, GPIO.BOTH)
RuntimeError: Failed to add edge detection
I.m not a programer and I can't fix it myself. Could I have some help please.
Thank You
On latest Hassio, the addon can not install. It gives error Failed to install addon, [object Object]
I hope for update or some advice.
Thanks!
starting version 3.2.4
Requirement already up-to-date: broadlink in /usr/lib/python2.7/site-packages
Requirement already up-to-date: pyaes==1.6.0 in /usr/lib/python2.7/site-packages (from broadlink)
Traceback (most recent call last):
File "/share/s1c.py", line 1, in
import broadlink
File "/share/broadlink.py", line 609, in
sock.sendto(payload, ('255.255.255.255', 80))
NameError: name 'sock' is not defined
Line 609 in the broadlink.py file lacks two spaces
Added the repo to hassio and hit install..... after a while it stops loading and the install buttton is active again.
Hopefully the dev will respond to this?
Hey, not sure what's going on and I don't know python well enough to figure out why this is coming up, but the plugin is claiming there is a syntax error with rpi-rf_receive.py. Here's what I'm getting:
File "/share/rpi-rf_receive.py", line 25
format='%(asctime)-15s - [%(levelname)s] %(module)s:
^
SyntaxError: EOL while scanning string literal
Hey,
I get the following error when trying to download and install the rep:
19-10-21 20:16:32 INFO (MainThread) [hassio.store.git] Clone add-on https://github.com/pantomax/hassio-addons/tree/master/rpi-rf-receiver repository 19-10-21 20:16:33 ERROR (MainThread) [hassio.store.git] Can't clone https://github.com/pantomax/hassio-addons/tree/master/rpi-rf-receiver repository: Cmd('git') failed due to: exit code(128) cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/pantomax/hassio-addons/tree/master/rpi-rf-receiver /data/addons/git/e536d8b9 stderr: 'Cloning into '/data/addons/git/e536d8b9'... fatal: repository 'https://github.com/pantomax/hassio-addons/tree/master/rpi-rf-receiver/' not found '. 19-10-21 20:16:33 ERROR (MainThread) [hassio.store] Can't load from repository https://github.com/pantomax/hassio-addons/tree/master/rpi-rf-receiver 19-10-21 20:16:33 INFO (MainThread) [hassio.store] Load add-ons from store: 60 all - 0 new - 0 remove
Anyone knows how to fix it?
Log
starting version 3.2.4
Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /data/venv/bin/python3
Also creating executable in /data/venv/bin/python
Installing setuptools, pip, wheel...done.
Collecting broadlink
Using cached broadlink-0.6.tar.gz
Collecting pycrypto==2.6.1 (from broadlink)
Using cached pycrypto-2.6.1.tar.gz
Building wheels for collected packages: broadlink, pycrypto
Running setup.py bdist_wheel for broadlink: started
Running setup.py bdist_wheel for broadlink: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/e1/51/b5/211b9e763738e7f68ce82c7195020894e6bb0c8fa7725f6e10
Running setup.py bdist_wheel for pycrypto: started
Running setup.py bdist_wheel for pycrypto: still running...
Running setup.py bdist_wheel for pycrypto: still running...
Running setup.py bdist_wheel for pycrypto: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce
Successfully built broadlink pycrypto
Installing collected packages: pycrypto, broadlink
Successfully installed broadlink-0.6 pycrypto-2.6.1
File "/share/s1c.py", line 26
print time.ctime() + ": Door closed: " + str(se['status'])
^
SyntaxError: invalid syntax
Hi,
Hopefully you can help me with this.
I installed everything and it seems to work, because I receive all kind of codes, even if I'm not pressing any key on my remote.
I keep refreshing the log and there are a lot of codes, but not really when I push a button. Also not the same code when I do push a button. (sometimes it is the same code, but not often enough)
Do you have any idea how I can get my receiver to work properly? (I tried 5v and 3v, but there wasn't really a big difference)
I don't want to do this with trail and error checking all codes I receive :p
Thanks in advance.
Info:
I got a Raspberry Pi3 with Hassio and the following receiver/transmitter:
http://wiki.seeed.cc/Grove-433MHz_Simple_RF_Link_Kit/
A few lines from my addon log:
2017-12-20 23:45:10 - [INFO] rpi-rf_receive: 1 [pulselength 257, protocol 1]
2017-12-20 23:45:10 - [INFO] rpi-rf_receive: 4 [pulselength 609, protocol 2]
2017-12-20 23:45:11 - [INFO] rpi-rf_receive: 4 [pulselength 352, protocol 3]
2017-12-20 23:45:11 - [INFO] rpi-rf_receive: 4 [pulselength 558, protocol 5]
2017-12-20 23:45:12 - [INFO] rpi-rf_receive: 33 [pulselength 732, protocol 2]
2017-12-20 23:45:12 - [INFO] rpi-rf_receive: 480 [pulselength 128, protocol 3]
2017-12-20 23:45:12 - [INFO] rpi-rf_receive: 254126 [pulselength 521, protocol 5]
2017-12-20 23:45:13 - [INFO] rpi-rf_receive: 254126 [pulselength 515, protocol 5]
2017-12-20 23:45:13 - [INFO] rpi-rf_receive: 2350661 [pulselength 514, protocol 5]
2017-12-20 23:45:13 - [INFO] rpi-rf_receive: 8 [pulselength 1270, protocol 4]
2017-12-20 23:45:14 - [INFO] rpi-rf_receive: 2913223 [pulselength 512, protocol 5]
2017-12-20 23:45:14 - [INFO] rpi-rf_receive: 131072 [pulselength 1233, protocol 4]
2017-12-20 23:45:14 - [INFO] rpi-rf_receive: 16 [pulselength 1207, protocol 4]
2017-12-20 23:45:15 - [INFO] rpi-rf_receive: 1048576 [pulselength 1316, protocol 2]
2017-12-20 23:45:15 - [INFO] rpi-rf_receive: 2136727 [pulselength 511, protocol 5]
2017-12-20 23:45:15 - [INFO] rpi-rf_receive: 2136727 [pulselength 510, protocol 5]
2017-12-20 23:45:15 - [INFO] rpi-rf_receive: 2136727 [pulselength 508, protocol 5]
2017-12-20 23:45:15 - [INFO] rpi-rf_receive: 2136727 [pulselength 528, protocol 5]
2017-12-20 23:45:16 - [INFO] rpi-rf_receive: 8192 [pulselength 262, protocol 3]
2017-12-20 23:45:23 - [INFO] rpi-rf_receive: 2 [pulselength 1012, protocol 4]
2017-12-20 23:45:24 - [INFO] rpi-rf_receive: 1 [pulselength 1722, protocol 4]
2017-12-20 23:45:24 - [INFO] rpi-rf_receive: 32 [pulselength 677, protocol 2]
2017-12-20 23:45:25 - [INFO] rpi-rf_receive: 16384 [pulselength 1199, protocol 2]
2017-12-20 23:45:25 - [INFO] rpi-rf_receive: 393216 [pulselength 374, protocol 3]
2017-12-20 23:45:26 - [INFO] rpi-rf_receive: 8 [pulselength 1613, protocol 4]
2017-12-20 23:45:26 - [INFO] rpi-rf_receive: 8200 [pulselength 524, protocol 1]
As you can see, there is also quite some noise. the codes in the 210k range are from the remote I think.
Edit:
It seems I do get the same code when I hold a button. And again when I release and hold it again, only I get a different key for a while. every time I hold the key it looks like a different code...
Edit2:
This is a video of someone with the same problem:
https://www.youtube.com/watch?v=MQC-3xLh9Y4
Cannot add local Media Player to Hassio
19-10-17 07:15:18 WARNING (MainThread) [hassio.store.data] Can't read /data/addons/git/de3cd379/hc-sr04/config.json: required key not provided @ data['arch']. Got None
19-10-17 07:15:18 WARNING (MainThread) [hassio.store.data] Can't read /data/addons/git/de3cd379/dasshio/config.json: required key not provided @ data['arch']. Got None
19-10-17 07:15:18 WARNING (MainThread) [hassio.store.data] Can't read /data/addons/git/de3cd379/local_audio_player/config.json: required key not provided @ data['arch']. Got None
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.