Go to advanced search

by tony power
Mon Oct 16, 2017 7:29 pm
Forum: Beginners
Topic: Raspberry Pi signage solution/operating system?
Replies: 4
Views: 2890

Re: Raspberry Pi signage solution/operating system?

Please give suggestions PiPresents and Minimal Kiosk Browser are two more options for Digital Signage. For further options, a search with an internet search tool for a string like "raspberry pi digital signage" will return a number of hits worth investigating. I did it without any os for ...
by tony power
Sat Oct 14, 2017 5:26 pm
Forum: Beginners
Topic: Raspberry Pi signage solution/operating system?
Replies: 4
Views: 2890

Raspberry Pi signage solution/operating system?

:twisted: I need a good solution to play videos/media offline saved on raspberry pi on signage but can be managed from lan using ip of raspberry pi connected to LAN. Also I want it to boot automatically and play videos depending on settings configured. I found screenly but from description I can tel...
by tony power
Thu Jan 19, 2017 3:39 am
Forum: General discussion
Topic: run raspistill continuously
Replies: 7
Views: 3448

Re: run raspistill continuously

use uv4l for stream and capture and ability to change resolution

it is a good streaming server
by tony power
Thu Aug 18, 2016 6:53 pm
Forum: Python
Topic: Comparing text variable including emoji utf-8 code?
Replies: 7
Views: 4655

Re: Comparing text variable including emoji utf-8 code?

I got it working now

Code: Select all

 ## this code works now on python2.7        
# -*- coding: utf-8 -*-
cmd = message.text
        if (cmd.encode('utf-8') == 'CAPTURE \xF0\x9F\x93\xB7' ):
            ## do something
by tony power
Thu Aug 18, 2016 4:52 pm
Forum: Python
Topic: Comparing text variable including emoji utf-8 code?
Replies: 7
Views: 4655

Re: Comparing text variable including emoji utf-8 code?

Can you post the result of type(message.text) That will say what type of string message.text is encoded as. <type 'unicode'> the library should work on python3 too according to the description I reinstalled it from git not using pip but the shapes of buttons messed up and not showing emoji and cras...
by tony power
Thu Aug 18, 2016 4:19 pm
Forum: Python
Topic: Comparing text variable including emoji utf-8 code?
Replies: 7
Views: 4655

Re: Comparing text variable including emoji utf-8 code?

This code worked for me ### \xF0\x9F\x93\xB7 is camera emoji message = 'CAPTURE \xF0\x9F\x93\xB7' # first comparsion try # message.text entered by user if(message == u'CAPTURE \xF0\x9F\x93\xB7' ): print(True) ### do something # second comparsion try if(message == 'CAPTURE \xF0\x9F\x93\xB7' ): print...
by tony power
Thu Aug 18, 2016 4:07 pm
Forum: Python
Topic: Comparing text variable including emoji utf-8 code?
Replies: 7
Views: 4655

Comparing text variable including emoji utf-8 code?

Hi I am new to Python. I have python telegram bot on my raspberry pi. The bot displays markup keyboard buttons these buttons contains emoji and text and some of them only emoji. http://i.imgur.com/BBbKm9k.png How can I compare text in Python which includes emoji Bytes (utf-8) with text entered by us...
by tony power
Thu Aug 18, 2016 9:04 am
Forum: Beginners
Topic: PHP telegrambot to execute http get/post requests
Replies: 1
Views: 1430

Re: PHP telegrambot to execute http get/post requests

Solved the problem using manual getUpdates polling api of telegram API. webhook is a better way but I cannot use it because I cannot pass http get requests throught telegram servers and cannot get public ip of web server on raspberry pi and reachable to the internet. because my ISP is blocking portf...
by tony power
Wed Aug 17, 2016 9:06 pm
Forum: Beginners
Topic: PHP telegrambot to execute http get/post requests
Replies: 1
Views: 1430

PHP telegrambot to execute http get/post requests

I set up PHP telegramBot successfully on hosting website using webhook with https link this is the library https://github.com/TelegramBot/ I want it when I user sends a command on telegramBot conversation, then the php page of telegrambot to execute http get or post to the webserver installed on ras...
by tony power
Fri Jul 15, 2016 7:49 am
Forum: Beginners
Topic: gpio ir sender/receiver circuit or no?
Replies: 5
Views: 4412

Re: gpio ir sender/receiver circuit or no?

You need to measure the voltage at the output of the IR receiver. Arduinos mostly have GPIO which can handle 5V. The Pi doesn't. you have to check the output of the receiver. If it's an open collector output, it's ok (this means that it can work only if you pull up the line to 3,3V) if it is not, y...
by tony power
Fri Jul 15, 2016 6:20 am
Forum: Beginners
Topic: gpio ir sender/receiver circuit or no?
Replies: 5
Views: 4412

Re: gpio ir sender/receiver circuit or no?

The sender will be fine as that is an output. You need to measure the voltage at the GPIO used to receive the IR signal. It should be 3V3. If it is more you run the risk of damaging the Pi. Could you post links to the IR modules you are using? the link from aliexpress http://m.aliexpress.com/item/3...
by tony power
Fri Jul 15, 2016 5:48 am
Forum: Beginners
Topic: gpio ir sender/receiver circuit or no?
Replies: 5
Views: 4412

gpio ir sender/receiver circuit or no?

Hi I have raspberry pi 3 and 2.5A/5V power supply. there are gpio ir sender and ir receiver connected directly to pins and they work very well both using LIRC software or controlling ir signals. Each connected to 5v pins as shown in the image below. http://i.imgur.com/vA8QNuC.png original size http:...
by tony power
Mon Jul 11, 2016 7:53 pm
Forum: Networking and servers
Topic: Allow apache to download image inside server directory?
Replies: 3
Views: 978

Re: Allow apache to download image inside server directory?

please any suggestions

I will only allow download from same local server not from the internet.
from video stream server (snapshot) to apache server.

I need to allow creation on one folder only
var/www/html/photos
by tony power
Mon Jul 11, 2016 5:32 am
Forum: Networking and servers
Topic: Allow apache to download image inside server directory?
Replies: 3
Views: 978

Re: Allow apache to download image inside server directory?

Its not a good plan to download anything into the apache directory; which makes it extremely vulnerable. Download to another directory, or sandbox, and then host it out from there.... marcus I am still beginner can you give me some instruction to do it in anothet way. you mean download it outside a...
by tony power
Mon Jul 11, 2016 4:29 am
Forum: Other programming languages
Topic: PHP exec() not working as expected
Replies: 8
Views: 2737

Re: PHP exec() not working as expected

I think this will solve your issue

Code: Select all

sudo chmod 777 /dev/vchiq
sudo chown www-data:www-data -R /var/www
by tony power
Mon Jul 11, 2016 3:51 am
Forum: Networking and servers
Topic: Allow apache to download image inside server directory?
Replies: 3
Views: 978

Allow apache to download image inside server directory?

Hi I am running u4vl live video streaming server on port 8080 to stream from camera board and apache server on port 80. I have a website using PHP and I want to show captured image from stream and save it locally in apache direcory. I can view snapshot of stream as image be going to link or embeding...
by tony power
Sat Jul 09, 2016 4:38 pm
Forum: Camera board
Topic: how do I live stream pi camera
Replies: 6
Views: 5171

Re: how do I live stream pi camera

successfully done it using uv4l
by tony power
Thu Jul 07, 2016 1:57 am
Forum: Camera board
Topic: how do I live stream pi camera
Replies: 6
Views: 5171

Re: how do I live stream pi camera

Hi I want to live stream pi camera module using offcial OS Raspian with reasonable delay. I dont want to use OS images for streaming. I want easy and recent method not old and slow one. I searched and found methods by installing much packages I didn't like and got confused. and I want to be able to...
by tony power
Thu Jul 07, 2016 1:56 am
Forum: Camera board
Topic: how do I live stream pi camera
Replies: 6
Views: 5171

Re: how do I live stream pi camera

Hi I want to live stream pi camera module using offcial OS Raspian with reasonable delay. I dont want to use OS images for streaming. I want easy and recent method not old and slow one. I searched and found methods by installing much packages I didn't like and got confused. and I want to be able to...
by tony power
Wed Jul 06, 2016 9:11 pm
Forum: Advanced users
Topic: Linux kernel is now 4.4
Replies: 114
Views: 77448

Re: Linux kernel is now 4.4

my rpi 3. raspistill stopped working after kernel upgrade but raspivid still works sudo rpi-update reboot here is error message. # raspistill -o img.jpg raspistill: error while loading shared libraries: libbrcmGLESv2.so: cannot open shared object file: No such file or directory . I want to fix this...
by tony power
Wed Jul 06, 2016 9:10 pm
Forum: Troubleshooting
Topic: raspistill stopped working after kernel update
Replies: 7
Views: 3552

Re: raspistill stopped working after kernel update

dom wrote:Actually I've pushed an update, Can you report it another "rpi-update" fixes it?
thank you, fixed after rpi-update
by tony power
Wed Jul 06, 2016 4:47 am
Forum: Advanced users
Topic: Linux kernel is now 4.4
Replies: 114
Views: 77448

Re: Linux kernel is now 4.4

my rpi 3. raspistill stopped working after kernel upgrade but raspivid still works sudo rpi-update reboot here is error message. # raspistill -o img.jpg raspistill: error while loading shared libraries: libbrcmGLESv2.so: cannot open shared object file: No such file or directory I want to fix this is...
by tony power
Wed Jul 06, 2016 4:34 am
Forum: Troubleshooting
Topic: raspistill stopped working after kernel update
Replies: 7
Views: 3552

raspistill stopped working after kernel update

Hi I have rpi 3 I cannot capture images with raspistill but I can save video with raspivid after kernel update. I did this sudo apt-get update sudo apt-get dist-upgrade reboot after this step everything works fine but after updating kernel, raspistill stopped working after doing this below. sudo rpi...
by tony power
Mon Jul 04, 2016 3:25 pm
Forum: Camera board
Topic: how do I live stream pi camera
Replies: 6
Views: 5171

how do I live stream pi camera

Hi I want to live stream pi camera module using offcial OS Raspian with reasonable delay. I dont want to use OS images for streaming. I want easy and recent method not old and slow one. I searched and found methods by installing much packages I didn't like and got confused. and I want to be able to ...

Go to advanced search