Go to advanced search

by dj_janker
Sat May 07, 2016 3:52 pm
Forum: General programming discussion
Topic: Strange behavior bash script
Replies: 5
Views: 930

Re: Strange behavior bash script

Yes, you have reason. Some lines are too long and didn´t copy completly. :oops: :oops:
Finaly I used Filezilla to copy the file and the problem solved.

Thanks.

Best regards
by dj_janker
Fri May 06, 2016 5:45 am
Forum: General programming discussion
Topic: Strange behavior bash script
Replies: 5
Views: 930

Strange behavior bash script

Hi, I have this bash script running without problems in one Rpi since several months ago. #!/bin/bash base="http://192.168.1.13:80/core/api/jeeApi.php?api=" key="xxxxxxxxxxx" type="virtual" diaactual=`date +%d` mesactual=`date +%m` anyoactual=`date +%Y` watios=$(sqlite3 -csv eagleowl.db "select year...
by dj_janker
Thu Mar 24, 2016 6:49 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 250
Views: 66008

Re: DHT11 readings onto a web page!

Ok, I solved the inserv problem, but now my DHT11 is reading wrong values... :shock: temp:512.0 Celsius humidity:1100.8% 1 1100.8 512.0 0.20 0 0 0 0 2 1100.8 512.0 0.20 0 0 0 0 3 1075.2 512.0 0.19 0 0 0 0 4 1100.8 512.0 0.20 0 0 0 0 5 1075.2 512.0 0.19 0 0 0 0 6 1075.2 512.0 0.20 0 0 0 0 7 1075.2 51...
by dj_janker
Tue Mar 22, 2016 8:02 am
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

Perfecto!
era simplemente lo que comentabas. He editado el archivo, cambiando "rgb" por "rbg" y todo funciona como debería ;) ;)

Mil gracias!!!!

Saludos.
by dj_janker
Mon Mar 21, 2016 7:03 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 250
Views: 66008

Re: DHT11 readings onto a web page!

Hi @danjperron,
I updated my system to Jessie and I have this error when y try to load the pigpio script:

Code: Select all

[email protected]:~# sudo update-rc.d pigpiod defaults 9
insserv: warning: script 'resizesd' missing LSB tags and overrides
What can I do? :(

Thanks

Best regards
by dj_janker
Mon Mar 21, 2016 11:32 am
Forum: Raspbian
Topic: HOWTO: Install Kodi on Raspbian
Replies: 152
Views: 423722

Re: HOWTO: Install Kodi on Raspbian

Edit May, 1st, 2015: modified for recent 14.2 version. Kodi is now also in the Raspbian repository, but I'll stay with Michaels repository, as it also contains newer versions of libcec and libtag, If you want to have the best of both worlds (Raspbian and XBMC, now called Kodi) without having to ins...
by dj_janker
Mon Mar 21, 2016 9:42 am
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

Bueno, por fín llegó la nueva tira de led´s y ya está todo funcionando correctamente. ;) ;) ;) Muchas gracias por el tutorial. Lo único que he notado es que hay un poco de variación en los colores que reflejan el "ambilight" respecto a los que hay en pantalla. Se ven como más azulados. Me explico: C...
by dj_janker
Thu Mar 03, 2016 12:18 pm
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

Perfecto!
no sé porqué motivo no tenía Java instalado.....
Ahora ya si puedo verlo sin problemas.

Ahora me queda esperar que llegue la tira de led para instalarlo.


Muchas gracias

Un saludo.
by dj_janker
Thu Mar 03, 2016 7:29 am
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

Mi duda es que no sé donde se ejecuta Hypercron. Entiendo que es una aplicación java que se puede ejecutar desde Windows y que según lo que parametricemos nos genera un archivo .json que hay que pasar a la rpi.... El problema es que el archivo Hipercon.jar que descargo de github no contiene ningún a...
by dj_janker
Mon Feb 29, 2016 7:04 pm
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

Ok, acabo de pedir una como la tuya en Aliexpress. Aprovecho el mensaje pues me he quedado perdido en esa parte de la configuración.... Podrías especificar los comandos que debemos ejecutar para configurar Hypercon, para configurar los leds, por favor? Soy novato y con esta parte no he conseguido ej...
by dj_janker
Mon Feb 29, 2016 5:05 pm
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

no, la mía no llevan ese chip.
Como esta:

http://www.muchosleds.com/455-thickbox_ ... b-ip65.jpg
by dj_janker
Mon Feb 29, 2016 4:45 pm
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

No tengo ni idea del chip que tiene mi tira de leds. No sé donde se mira... :oops: Mi tira tiene 4 cables: Negro-Verde-Rojo-Azul. En el lugar correspondiente al negro, grabado sobre la tira indica +12V. Luego en orden G-R-B He hecho algunas pruebas: He conectado 12 V entre negro-azul y se queda ence...
by dj_janker
Mon Feb 29, 2016 11:05 am
Forum: Español
Topic: Ambilight casero con Hyperion y RaspberryPi
Replies: 91
Views: 100010

Re: Ambilight casero con Hyperion y RaspberryPi

Hola, enhorabuena por este estupendo tuto. Una duda, sabes si se podría usar una tira de led de 12V, evidentemente alimentándolos a 12V en lugar de 5? Tengo una tira de 12V por casa, y había pensado que si es posible, intentar aprovecharla para esto. En caso negativo, algún sitio recomendable donde ...
by dj_janker
Fri Jan 08, 2016 9:04 am
Forum: Raspbian
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 745
Views: 558338

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Ok, you have the reason... :oops:

Now I solved the cec problem, but I can´t play video.
I only have sound. I uncheck the hardware acceleration [mmal y omxplayer], but I haven´t success
For play a local video file is necesary install any add-on?
Excuse me for the questions, but I´m a newbie....
by dj_janker
Thu Jan 07, 2016 7:59 pm
Forum: Raspbian
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 745
Views: 558338

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

I receive this error: [email protected] ~ $ cd kodi-15-jessie [email protected] ~/kodi-15-jessie $ sudo dpkg -i * dpkg-deb: error: `install' is not a debian format archive dpkg: error processing archive install (--install): subprocess dpkg-deb --control returned error exit status 2 (Reading database ... 1...
by dj_janker
Thu Jan 07, 2016 3:23 pm
Forum: Raspbian
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 745
Views: 558338

Re: Kodi 15 Packages for Raspbian Wheezy & Jessie for RPi2

Hi, I installed kodi on jessie following the steps of the first post and it works ok. The problem is that my tv control remote don´t works.... I tried to install libcec3, but I receive this message: [email protected] ~ $ sudo apt-get install libcec3 Reading package lists... Done Building dependency tre...
by dj_janker
Thu Jan 07, 2016 2:49 pm
Forum: Raspbian
Topic: Kodi (repos-version)
Replies: 14
Views: 2465

Re: Kodi (repos-version)

Today I´m trying to install kodi, but i receive this message: [email protected] ~ $ wget http://steinerdatenbank.de/software/kodi-15-jessie.tar.gz --2016-01-07 15:47:37-- http://steinerdatenbank.de/software/kodi-15-jessie.tar.gz Resolving steinerdatenbank.de (steinerdatenbank.de)... 85.25.144.201 Conne...
by dj_janker
Thu Nov 12, 2015 3:09 pm
Forum: Español
Topic: La Raspberry no se reconecta
Replies: 10
Views: 1673

Re: La Raspberry no se reconecta

Hola rescato este antiguo post, pues en él no se da una solución concreta y yo tengo el mismo problema. Tengo varias raspberry pi conectadas por la casa para control domótico de ciertos aspectos, y estoy encantado con ellas. El problema es que cada vez que hay un fallo en el suministro de internet, ...
by dj_janker
Mon Oct 26, 2015 8:44 am
Forum: Español
Topic: existe image sd raspbian+quemu?
Replies: 5
Views: 754

Re: existe image sd raspbian+quemu?

pero esto es justamente para lo contrario, no?
Es para emular Raspbian en un sistema anfitrión Windows.
Yo necesito lo contrario, emular windows en raspbian.
by dj_janker
Sun Oct 25, 2015 10:38 am
Forum: Español
Topic: existe image sd raspbian+quemu?
Replies: 5
Views: 754

existe image sd raspbian+quemu?

Hola, me gustaría saber si existe algún link donde poder descargar una imagen de raspbian con quemu instalado, para facilitar las cosas :lol: :lol: :lol: Necesito hacer unas pruebas para correr windows xp o 7 en Rpi2, y no tengo mucho tiempo para complicarme instalando quemu. Si alguien ha adelantad...
by dj_janker
Tue Oct 20, 2015 12:54 pm
Forum: Python
Topic: Sending attached images (last 5 created) by e-mail
Replies: 10
Views: 2641

Re: Sending attached images (last 5 created) by e-mail

How are you currently saving the snapshots? i.e. is there a template that the file names currently use? Hi, I have a domotic system where I have installed a ip doorbell. When somebody push de doorbell the camera take 5 snapshots (1 every second) and save them here: /usr/share/nginx/www/tmp/camera_r...
by dj_janker
Mon Oct 19, 2015 4:44 pm
Forum: Python
Topic: Sending attached images (last 5 created) by e-mail
Replies: 10
Views: 2641

Re: Sending attached images (last 5 created) by e-mail

In the script I need to add the paht to attachments: # List of attachments attachments = ['FULL PATH TO ATTACHMENTS HERE'] The path where de snapshots going saving it´s: /usr/share/nginx/www/tmp/camera_records/cam1 It would be possible to use a varible filename to send the snapshot saved in the actu...
by dj_janker
Sun Oct 18, 2015 4:03 pm
Forum: Python
Topic: Sending attached images (last 5 created) by e-mail
Replies: 10
Views: 2641

Re: Sending attached images (last 5 created) by e-mail

I still think this is the issue: http://stackoverflow.com/questions/27882100/python-sending-a-mail-fails-when-inside-a-with-block i don't know what version of python 3 you've got installed but, if it isn't python 3.3 or later, you can just rewrite the code to open and close the connection yourself....
by dj_janker
Sun Oct 18, 2015 1:41 pm
Forum: Python
Topic: Sending attached images (last 5 created) by e-mail
Replies: 10
Views: 2641

Re: Sending attached images (last 5 created) by e-mail

Are you running the script in Python 2? Using the "with" context manager was, I think, only added to smtplip.SMTP in Python 3. Try re-running in Python 3. I have the same error: [email protected] ~ $ sudo python3 snapshotmail.py Unable to send the email. Error: <class 'AttributeError'> Traceback (most...

Go to advanced search