Go to advanced search

by atux_null
Thu Jul 04, 2019 9:23 am
Forum: Automation, sensing and robotics
Topic: Thermometer, relay & raspberry
Replies: 1
Views: 167

Thermometer, relay & raspberry

In a pi zero w i have a DHT11 module and by making use of the adafruit's libray i read the temperature/humidity in a room. I use the following code to write in a csv file. So far so good. I am looking to attach a relay and switch on/off the aircondition if the temperature is out of a predefined rang...
by atux_null
Sat Jun 01, 2019 4:49 pm
Forum: General discussion
Topic: youtube-dl cannot extract to mp3
Replies: 2
Views: 254

Re: youtube-dl cannot extract to mp3

I using the following format youtube-dl --extract-audio --ignore-errors --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/playlist?list=PwhateverName and i am getting the following error [download] Downloading video 2 of 36 [youtube] R4rM-6eQMlc: Downloading webpage [youtube] R4rM-6e...
by atux_null
Wed May 29, 2019 7:56 am
Forum: General discussion
Topic: youtube-dl cannot extract to mp3
Replies: 2
Views: 254

youtube-dl cannot extract to mp3

Hi. In a RPI 2 that i have, i am running youtube-dl. I updated it to latest version and i am trying to download my list from youtube as mp3. Unfortunately it downloads as webm.
is there anything that i could do to fix that please?
by atux_null
Thu May 02, 2019 2:12 am
Forum: Automation, sensing and robotics
Topic: Mqtt tasks
Replies: 2
Views: 258

Mqtt tasks

In my rpi zero w i am running a mqtt broker with mqtt dashboard. It interfaces an esp8266 that has a relay on it. The relay controls a lamp. I would like to schedule tasks and switch on/off the relay on a week basis. For example: -Monday set it to on at 18:00 and off at 07:00 -Tuesday set it to on a...
by atux_null
Tue Jan 22, 2019 8:58 am
Forum: Networking and servers
Topic: multiple wifi & static IP
Replies: 2
Views: 385

multiple wifi & static IP

Hi. i have a rpi 0 w and i have a list of wifi networks (work1, work2, home, etc) and depending where i am it connects and gets static IP. so far so good. I would like to have a static IP based on which network i get connected to. -At work1 get 192.168.1.127/24 with gateway/dns 192.168.1.1 -At work2...
by atux_null
Wed Jan 16, 2019 4:00 pm
Forum: Beginners
Topic: mount permanently 2nd partition
Replies: 3
Views: 214

Re: mount permanently 2nd partition

I did that, and only root has access to that partition. Nobody else. I am not looking for an easy answers ;))
by atux_null
Wed Jan 16, 2019 12:15 pm
Forum: Beginners
Topic: mount permanently 2nd partition
Replies: 3
Views: 214

mount permanently 2nd partition

i have a SD card and it has 10GB for the OS and the installation. The rest of the SD (~20GB) is available and i would like to have it permanently mounted and the user pi and everyone else on the system to read/write on that. i created a new directory in /mnt and it is /mnt/2ndPartition. i would like...
by atux_null
Wed Jan 16, 2019 7:37 am
Forum: Automation, sensing and robotics
Topic: rpi cam with motion & usb cameras
Replies: 8
Views: 1007

Re: rpi cam with motion & usb cameras

thanks a lot for the reply. i have a motion.conf and 2 files one for each camera, as it is stated in the motion documentation. In each camera file i have a different stream_port. the issue is that i get on 8081 the first camera (onboard) to work fine and on 8082 the second camera to state unable to ...
by atux_null
Tue Jan 15, 2019 9:54 am
Forum: Automation, sensing and robotics
Topic: rpi cam with motion & usb cameras
Replies: 8
Views: 1007

Re: rpi cam with motion & usb cameras

i failed to see the second camera. I have motion working working with the onboard camera and i added a usb camera (Microsoft lifecam HD3000) and it is recongised from the system since i can manually see with the software fswebcam. /dev/video0 is the onboard camera /dev/video1 is the usb camera i hav...
by atux_null
Mon Jan 14, 2019 12:51 pm
Forum: Automation, sensing and robotics
Topic: rpi cam with motion & usb cameras
Replies: 8
Views: 1007

Re: rpi cam with motion & usb cameras

Thanks a lot for the reply, but i will not go to MotionEyeOS for this project. Currently the system has the rpi cam on /dev/video0 and it is working with motion.conf to get snapshots and see it in the browser (http://IP:8081). The usb camera (microsoft lifecam HD3000) is on /dev/video1 and it can ta...
by atux_null
Fri Jan 11, 2019 5:18 pm
Forum: Automation, sensing and robotics
Topic: rpi cam with motion & usb cameras
Replies: 8
Views: 1007

Re: rpi cam with motion & usb cameras

Hi. That link has only details for one camera ( the onboard). Apart from the onboard, i would like to use an extra or two usb cameras.
by atux_null
Fri Jan 11, 2019 2:10 pm
Forum: Automation, sensing and robotics
Topic: rpi cam with motion & usb cameras
Replies: 8
Views: 1007

rpi cam with motion & usb cameras

i do have a RPI with rpi cam and by using the software motion it can motion(dah) detect movement. It records it as video and still images. Also it provides in http://IP_ADDRESS:8081 a stream. I would like to add another one or two usb cameras (Microsoft lifecam HD 3000) and motion detect from all th...
by atux_null
Tue Jan 08, 2019 6:43 am
Forum: Automation, sensing and robotics
Topic: MQTT send alert
Replies: 11
Views: 1228

Re: MQTT send alert

i will try to reinstall the image and build it from scratch. I've tried everything, but still it resists to work. I imagine that something broke in my system. A fresh install will reveal if it's the case.
by atux_null
Mon Jan 07, 2019 9:24 pm
Forum: Automation, sensing and robotics
Topic: MQTT send alert
Replies: 11
Views: 1228

Re: MQTT send alert

it seems to work

Code: Select all

root@Rpi2: ~ $  mosquitto_sub -v -t '#' -h localhost
test/topic test message

so why the mqtt-launcher is not working?
by atux_null
Mon Jan 07, 2019 9:08 pm
Forum: Automation, sensing and robotics
Topic: MQTT send alert
Replies: 11
Views: 1228

Re: MQTT send alert

hi. if i execute the command to manually run mosquitto to listen to all topics root@Rpi2: ~ $ mosquitto_sub -v -t '#' -h localhost ^C root@Rpi2: ~ $ it works. also root@Rpi2: ~ $ netstat -tlnp | grep 1883 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 310/mosquitto tcp6 0 0 :::1883 :::* LISTEN 310/mosquitto ...
by atux_null
Mon Jan 07, 2019 2:06 pm
Forum: Automation, sensing and robotics
Topic: rpi camera on python
Replies: 3
Views: 271

Re: rpi camera on python

being honest with u, i have lost it where to start with. :oops:
by atux_null
Mon Jan 07, 2019 11:01 am
Forum: Automation, sensing and robotics
Topic: rpi camera on python
Replies: 3
Views: 271

rpi camera on python

Hi. trying to implement rpi camera with Python and i have followed the following https://geek-university.com/raspberry-pi/motion-detector/ and it stores the images when image detected. So far so good. I would like to: -create a folder for each day in /home/pi/camera_images/ and then have one folder ...
by atux_null
Sat Jan 05, 2019 7:03 pm
Forum: General discussion
Topic: Rpi zero w and camera on battery.
Replies: 7
Views: 634

Re: Rpi zero w and camera on battery.

Thanks a lot for the replies. It is a rpi camera attached and wifi is enabled. At the moment it only records during daylight hours only. I M thinking to attach a solar panel and batteries. When sunny the batteries will charge and in the night it will run from batteries. Also some days there might be...
by atux_null
Fri Jan 04, 2019 4:19 pm
Forum: General discussion
Topic: Rpi zero w and camera on battery.
Replies: 7
Views: 634

Rpi zero w and camera on battery.

Hi. Looking to find the requirements for a rpi zero w with camera to run on batteries or powerbank. The rpi0w all it has is motion detection and it stores the images. It needs to be in an area that electicity is not an option. Has anyone got any ideas how to make it run in AA batteries or powerbank,...
by atux_null
Mon Dec 31, 2018 12:21 pm
Forum: Automation, sensing and robotics
Topic: MQTT send alert
Replies: 11
Views: 1228

Re: MQTT send alert

hi. i am coming back since i have given a try and i cannot make it work. Up to know i have a RPI that acts as broker. all i did is apt-get install mosquitto mosquitto-clients -y pip install paho-mqtt then i edited the /etc/mosquitto/mosquitto.conf and it has pid_file /var/run/mosquitto.pid persisten...
by atux_null
Wed Oct 31, 2018 8:12 am
Forum: Automation, sensing and robotics
Topic: MQTT send alert
Replies: 11
Views: 1228

MQTT send alert

Hi. i running my custom made home alarma by making use MQTT broker in a RPI zero W and ESP8266 with different modules. Each module publishes to a particular topic in MQTT broker and from an android app like mqtt dash i can see the status. i would like to take it a step further and make the system to...
by atux_null
Mon Oct 01, 2018 1:31 pm
Forum: Networking and servers
Topic: mesh networking 4 sites
Replies: 1
Views: 510

mesh networking 4 sites

Hi. i am looking to connect 4 different sites an i would like some guidance please. All sites have the same setup but with different subnet. SiteA -IP:192.168.0.0/24. Router 192.168.0.1. RPI:192.168.0.2, rest of PCS:192.168.0.10-49 SiteB -IP:192.168.1.0/24. Router 192.168.1.1. RPI:192.168.1.2, rest ...
by atux_null
Fri Aug 17, 2018 6:10 am
Forum: Networking and servers
Topic: send ip on boot
Replies: 3
Views: 1059

Re: send ip on boot

thanks for your reply. here is the code for my pi 0 w __author__ = 'Cody Giles' __license__ = "Creative Commons Attribution-ShareAlike 3.0 Unported License" __version__ = "1.0" __maintainer__ = "Cody Giles" __status__ = "Production" import subprocess import smtplib from email.mime.text import MIMETe...
by atux_null
Thu Aug 16, 2018 9:07 am
Forum: Networking and servers
Topic: send ip on boot
Replies: 3
Views: 1059

send ip on boot

Hi. i am trying to make a setup on the system to send an email with its IP on boot. i have ssmtp in the system and i can send email from the cli by issuing echo "Hello world email body" | mail -s "Test Subject" recipientname@domain.com then i am trying to follow the code from https://elinux.org/RPi_...
by atux_null
Thu Aug 16, 2018 7:50 am
Forum: Networking and servers
Topic: multiple wifis for portability
Replies: 0
Views: 244

multiple wifis for portability

i have a raspberry pi 0 w and i move it around for different jobs. i have configured it to be able to connect to different wifis and get an IP from DHCP. I would like to alter it a bit and have the following setup: -connect with priority. if 2 or wifis are present, then connect by priority to a cert...

Go to advanced search