Go to advanced search

by dcaccount
Wed Apr 03, 2019 5:53 am
Forum: Beginners
Topic: How to backup SD card without removing
Replies: 3
Views: 193

Re: How to backup SD card without removing

Get a spare SD card and a USB adaptor. Use the SD Card Copier from the desktop menu (under Accessories). That will make you a ready-to-run backup card and will adjust the size of the contents to ft the card. Thanks but I do not have the GUI, just Raspian Jessie with command line. How can I do? Dan
by dcaccount
Wed Apr 03, 2019 4:45 am
Forum: Beginners
Topic: How to backup SD card without removing
Replies: 3
Views: 193

How to backup SD card without removing

Hello, I have been using for years a Rpi 3 as media and web sever and everything works fine. From time to time, I perform a backup by removing the SD card and flashing its image. I am wondering, is there a way to perform a full bootable backup of the SD card from within the system without having to ...
by dcaccount
Wed Mar 20, 2019 2:08 pm
Forum: Automation, sensing and robotics
Topic: Monitor Legrand UPS Niki S
Replies: 19
Views: 2162

Re: Monitor Legrand UPS Niki S

I have this UPS connected to my PI for a while, works well. Here is parts of the code I use. You have to resend the init command several times, then works fine. import time import serial def __open_port(ser): ser.baudrate = 2400 ser.timeout = 3 ser.writeTimeout = 3 ser.parity = serial.PARITY_NONE s...
by dcaccount
Thu Jun 21, 2018 4:39 am
Forum: Automation, sensing and robotics
Topic: Best relay board
Replies: 4
Views: 722

Re: Best relay board

rickyh89 wrote:
Mon Jun 18, 2018 11:51 pm
https://www.sequentmicrosystems.com/ ... plug and play into Rpi. i am using them with 12v solenoids without issues. super easy python code to work with
Thanks, is there anyone selling it in Europe?
by dcaccount
Sun Jun 03, 2018 7:51 pm
Forum: Automation, sensing and robotics
Topic: Best relay board
Replies: 4
Views: 722

Best relay board

Hello,
I need a 8 relay board fully compatible with my Rpi3.

Can you please advise your recommendations?

Thanks,
Dan
by dcaccount
Sun Jun 03, 2018 10:11 am
Forum: Automation, sensing and robotics
Topic: Software to control a watering system
Replies: 7
Views: 635

Re: Software to control a watering system

You might check opensprinkler.com. They started with RPi controllers and have branched out. You'll find a wealth of information on the open source project. I installed one a few years ago as a replacement for an existing controller. Worked well from the start and my wife loved being able to program...
by dcaccount
Sat Jun 02, 2018 5:35 pm
Forum: Automation, sensing and robotics
Topic: Software to control a watering system
Replies: 7
Views: 635

Software to control a watering system

Hello, A have a watering system made of a few electrical valves that once opened through a 24VAC signal give water to the different garden areas. I would like to control them through my Rpi3 and of course a relay board. Is there a sotware made for Raspberry that would allow me to control them via a ...
by dcaccount
Tue May 08, 2018 4:25 am
Forum: Raspbian
Topic: Question on inotifywait
Replies: 1
Views: 252

Question on inotifywait

Hello,
I would need to use inotifywait and I am wondering about its CPU usage on my Raspberry pi3.

Does it use a lot of resources or can I use it with no issues?

Thanks,
Dan
by dcaccount
Mon May 07, 2018 11:06 am
Forum: Raspbian
Topic: Log file monitoring
Replies: 3
Views: 416

Re: Log file monitoring

Hi Dan, Script below checks if a file time stamp has updated in the last 10 minutes and sends an email if it hasn't Script is called by cron Is that the sort of thing you are looking for? #!/usr/bin/python import os from datetime import datetime, timedelta file_name = "/var/1w_files/test" file_mod_...
by dcaccount
Sat May 05, 2018 8:18 pm
Forum: Raspbian
Topic: Log file monitoring
Replies: 3
Views: 416

Log file monitoring

Hello,
Is there a way to continuously monitor a log file and to trigger an action, for instance send an email, upon detecting any change?

Thnaks,
Dan
by dcaccount
Tue May 01, 2018 5:29 am
Forum: Advanced users
Topic: Homebridge best plugin to open close garage door
Replies: 2
Views: 666

Re: Homebridge best plugin to open close garage door

drgeoff wrote:
Mon Apr 30, 2018 8:27 pm
Are you asking about the mechanical actuator? What sort of garage door - up and over, roll-up, sliding etc? Or are you asking about sensors and power switch for use with appropriate actuator?
I am asking about Honebridge plugin, nothing to do with the electric layout
by dcaccount
Mon Apr 30, 2018 8:04 pm
Forum: Advanced users
Topic: Homebridge best plugin to open close garage door
Replies: 2
Views: 666

Homebridge best plugin to open close garage door

Hello, I have successfully installed and set up Honebridge on my Rpi3 and I am able to switch on and off some lights through Homekit/Siri. I would like know to implement the possibility to open and close my garage door. I have noticed that there are a few plugin available. My question is what one is...
by dcaccount
Thu Apr 12, 2018 5:01 pm
Forum: General discussion
Topic: Question on username and port for Homebridge
Replies: 1
Views: 241

Question on username and port for Homebridge

Hello, I have installed Homebridge and in the configuration file, both username and port number have to be specified. As I need to set up two different Homebridge servers in the same LAN, I am wondering if user name and port can not be the same in the two servers, or yes, being they different ones. ...
by dcaccount
Thu Apr 12, 2018 12:01 pm
Forum: General discussion
Topic: How to configure some GPIO pins as output
Replies: 8
Views: 1741

Re: How to configure some GPIO pins as output

Yes. You'd probably still want to do it in your program in case something else was touching the GPIO. You should be able to use the /boot/config.txt gpio directive (NOT the wiringPi gpio command) which may be used to set the GPIO as OUTPUTs at the earliest possible moment in the boot process. Can y...
by dcaccount
Thu Apr 12, 2018 11:58 am
Forum: General discussion
Topic: How to configure some GPIO pins as output
Replies: 8
Views: 1741

Re: How to configure some GPIO pins as output

Sounds clear, thanks for the attention!
by dcaccount
Thu Apr 12, 2018 11:48 am
Forum: General discussion
Topic: How to configure some GPIO pins as output
Replies: 8
Views: 1741

Re: How to configure some GPIO pins as output

joan wrote:
Thu Apr 12, 2018 11:44 am
You can't. All the GPIO are set to INPUT mode when power is applied to the Pi.
But can I add the instruction to /etc/rc.local?

Thanks for responding,
dan
by dcaccount
Thu Apr 12, 2018 11:14 am
Forum: General discussion
Topic: Question on pull up resistor
Replies: 5
Views: 407

Re: Question on pull up resistor

Thanks!
by dcaccount
Thu Apr 12, 2018 11:13 am
Forum: General discussion
Topic: How to configure some GPIO pins as output
Replies: 8
Views: 1741

How to configure some GPIO pins as output

Hello,

I have connected my GPIO to a relay board and to trigger it, I need to configure some GPIO pins as output.

I would do

Code: Select all

gpio -1 mode XX out
My question is, how can I do to avoid redoing it every reboot? Please advise.

Thanks,
dan
by dcaccount
Thu Apr 12, 2018 5:53 am
Forum: General discussion
Topic: Question on pull up resistor
Replies: 5
Views: 407

Re: Question on pull up resistor

When a GPIO is configured for Output, the pull resistors serve no purpose. Best to set them to "Off". They only have real purpose when the GPIO is set to "Input". Thanks, clear! Should I configure some pins of GPIO to Input, what does the pull up state mean? Does it set the state if the Input chann...
by dcaccount
Thu Apr 12, 2018 4:42 am
Forum: General discussion
Topic: Question on pull up resistor
Replies: 5
Views: 407

Question on pull up resistor

Hello, I have connected my RPI GPIO to a relay board that I would like to control via following plug in or Homebridge: https://github.com/rsg98/homebridge-gpio-wpi2 In the configuration of the plugin, I need to set the configuration for the built in Pi pull up resistor that can be high, low or off. ...
by dcaccount
Wed Apr 11, 2018 7:05 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Question on Sainsmart relay board
Replies: 5
Views: 504

Re: Question on Sainsmart relay board

If it is a 5V relay board then connect pin 2 (5V) of RPi to the relay board VCC. If not 5V relay board then you will need to use a external power supply to match ie 12V Connect ground of RRi to ground on board. Choose an input of 1 relay and connect to GND on the RPi. The relay should activate and ...
by dcaccount
Wed Apr 11, 2018 6:40 pm
Forum: Advanced users
Topic: Question on Homebridge port
Replies: 0
Views: 221

Question on Homebridge port

Hello, I have installed Homebridge on one Raspberry and everything works smoothly. Now I need to install it on a second Raspberry and I have one question. Shall I change the default door where they are working or being different servers, can I keep the same door (default one) on both ? By the way, I...
by dcaccount
Wed Apr 11, 2018 3:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Question on Sainsmart relay board
Replies: 5
Views: 504

Re: Question on Sainsmart relay board

Hello, I have just bought a Sainsmart relay board. I have just gone through a few articles where is written that no direct interface between RPI 3 ans the relay board is possible but that an interface circuit is necessary. Have I read correctly or is a direct connection possible? Thanks. Dan There ...
by dcaccount
Tue Apr 10, 2018 11:55 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Question on Sainsmart relay board
Replies: 5
Views: 504

Question on Sainsmart relay board

Hello,
I have just bought a Sainsmart relay board.

I have just gone through a few articles where is written that no direct interface between RPI 3 ans the relay board is possible but that an interface circuit is necessary.

Have I read correctly or is a direct connection possible?

Thanks.
Dan

Go to advanced search