Go to advanced search

by PhatFil
Fri Aug 30, 2019 1:20 am
Forum: Troubleshooting
Topic: How can I make blink1-tool connect to ifttt for a notification system?
Replies: 8
Views: 248

Re: How can I make blink1-tool connect to ifttt for a notification system?

sorry thought you were asking for where to get and install the tool which is in the above link along with links to using the gui and cli versions of the tool. To use an IFTTT event or service you need a ifttt a/c and then when you select an event or service follow the online instructions to link you...
by PhatFil
Thu Aug 29, 2019 11:46 pm
Forum: Other projects
Topic: Pushbutton multiple inputs
Replies: 12
Views: 518

Re: Pushbutton multiple inputs

Will that wiring cause interrupts to be triggered? Do you advise 5V+divider+SW pull down or GND+SW Pull Up? OR JUST USE THE +3.3v pin as the +v source like everyone else.. Only when using more sophisticated modules that provide a 5v signal should you need to supply 5v and use a voltage divider or l...
by PhatFil
Tue Aug 27, 2019 3:58 pm
Forum: Networking and servers
Topic: MQTT without internet
Replies: 18
Views: 1089

Re: MQTT without internet

you can only read new data to which you subscribe as and when its published. Mqtt brokers can be configured to retain payloads but that will just provide the last data published. You could publish on demand by responding to a Request mqtt publication but thats counter intuitive to how the protocol i...
by PhatFil
Tue Aug 27, 2019 3:35 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero W - Wifi issues
Replies: 4
Views: 306

Re: Raspberry Pi Zero W - Wifi issues

Unless you NEED buster for something? Perhaps look at using Stretch for now as thats tried and tested, Give it a few weeks till the usual distro upgrade path is tested and recommended before shifting to Buster, Buster is only NECESSARY if running on a Pi4.. With regular Pi4 centric fixes going on at...
by PhatFil
Tue Aug 27, 2019 3:17 pm
Forum: Python
Topic: Bluetooth RSSI
Replies: 6
Views: 592

Re: Bluetooth RSSI

its on my todo list, but i found existing projects to simply copy to access the sensors i use.. But i have the following bookmarked for later digestion..
http://www.raspberry-pi-geek.com/Archiv ... (offset)/1

Hope its a useful starting point.
by PhatFil
Tue Aug 27, 2019 2:55 pm
Forum: Beginners
Topic: Code for multiple ultrasonic sensors ROS related
Replies: 2
Views: 107

Re: Code for multiple ultrasonic sensors ROS related

Hi, I have 7 ultrasound sensors (hc-sr04) on my robot wired on the raspberry pi. I wanted to write a node that would first trigger only 4 of them and publish each on its own topic. Only the code down here gives me negative travel time and so on negative distance. Can you tell me what mistakes I've ...
by PhatFil
Mon Aug 26, 2019 12:28 am
Forum: Beginners
Topic: Simutaniously Runing HA-Bridge and HomeGenie
Replies: 4
Views: 174

Re: Simutaniously Runing HA-Bridge and HomeGenie

an alternative solution to controlling x10 433mhz rf devices is to flash a £10 sonoff rf bridge with tasmota firmware, and then install further firmware upgrades and sniff the relevant codes... (its a convoluted but documented procedure) https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridg...
by PhatFil
Mon Aug 26, 2019 12:01 am
Forum: Wanted
Topic: I'll pay to create a raspberry pie os!
Replies: 18
Views: 1892

Re: I'll pay to create a raspberry pie os!

buy a copy of "Modern Operating systems" by AS Tanembaum. 20+ years ago it was the goto text book for O/S 101 classes. The source code for what became linux (minix) is in the appendix Minix = linux minus networking, tho there is a bit more to it ;) Job done for the cost of a 2nd use £5 text https://...
by PhatFil
Sun Aug 25, 2019 1:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Simple Thermostat ON/OFF Control Wiring
Replies: 10
Views: 852

Re: Simple Thermostat ON/OFF Control Wiring

YES BE CAREFUL !! A quick google of "Unitec sq3 rf" provides a manual
https://www.elementa.rs/files/55275-a.pdf

while i cant read it the picture on page 2 does strongly suggest your 2 thin wires carry 230v A/C at 50-60 hz
by PhatFil
Sun Aug 25, 2019 1:36 pm
Forum: Troubleshooting
Topic: [SOLVED] LAN or Wifi - nogo
Replies: 22
Views: 641

Re: LAN or Wifi - nogo

https://www.raspberrypi.org/documentati ... -config.md

Start the utility in a terminal window with the command
sudo raspi-config
#1 CHECK and confirm the localisation options are correct FIRST!! (Menu option #4) as if the country is set incorrectly it will hamper wifi operation.
by PhatFil
Sun Aug 25, 2019 1:22 pm
Forum: Automation, sensing and robotics
Topic: Garden automation inquiries
Replies: 9
Views: 651

Re: Garden automation inquiries

To seal your sensor .. Nail Varnish from the $/£ shop any colour, but avoid sparkelly stuff just in case its metal and could possibly short out connections, (If likely however im sure there would be utubes about painting/printing circuits with nail varnish) Or use a long sausage type ballon as a 'co...
by PhatFil
Thu Aug 22, 2019 2:15 pm
Forum: General programming discussion
Topic: send email from one pi when another goes down
Replies: 7
Views: 761

Re: send email from one pi when another goes down

A Pi-0-w or perhaps an even less sophisticated soc dev board such as an esp8266 could handle this job.
But considering the cost of a Pi-zero-w and the common o/s that would be my choice,
by PhatFil
Wed Aug 21, 2019 3:45 am
Forum: Python
Topic: Strings in a directory path
Replies: 9
Views: 437

Re: Strings in a directory path

by PhatFil
Tue Aug 20, 2019 8:37 pm
Forum: Troubleshooting
Topic: PIR motion sensor repetition
Replies: 25
Views: 6160

Re: PIR motion sensor repetition

fwiw i had fun n games with similar sensors, never got to a happy conclusion with the sensor. after giving up and buying $5 433mhz alarm kit battery operated pir sensors which work fine, i came across the following How to utube nominating a sensor option that proved easier to use. https://www.youtub...
by PhatFil
Tue Aug 20, 2019 2:13 am
Forum: Beginners
Topic: How to combine two infrared sensor codes for one program?
Replies: 3
Views: 315

Re: How to combine two infrared sensor codes for one program?

currently you have

Code: Select all

init first thing
while true
	do first thing

init second thing	
while true
	do Second thing
how about something like

Code: Select all

init first thing
init second thing
while true
       do first thing 
       do second thing
by PhatFil
Sun Aug 18, 2019 4:03 pm
Forum: Beginners
Topic: Laser Sensor Plate Counter
Replies: 3
Views: 726

Re: Laser Sensor Plate Counter

can you provide a link to the laser sensor you want to use? or is this a more basic general enquiry looking for h/w ideas too. a laser solution is a bit extreme for a beginner Lots of safety considerations best avoided imho.. mechanical switches or magnetic reed switches or perhaps exploiting the co...
by PhatFil
Sun Aug 18, 2019 1:57 pm
Forum: Networking and servers
Topic: Raspberry Pi as storage server?
Replies: 3
Views: 765

Re: Raspberry Pi as storage server?

For a roadmap to follow search for key words NAS (network attached storage), and remote web access..

https://raspberrypi.stackexchange.com/q ... r-internet
by PhatFil
Sat Aug 17, 2019 11:37 pm
Forum: General programming discussion
Topic: Power Timer App
Replies: 6
Views: 1867

Re: Power Timer App

Sounds like a great getting started project.. Python is probably the best programming language to get started with, Lots of online resources too. the information your interested in is already contained in the syslog (a file you can find in the directory /var/log) you can use the cat or tail commands...
by PhatFil
Fri Aug 16, 2019 2:43 pm
Forum: Automation, sensing and robotics
Topic: RPI Zero W and two DHT11 confusion
Replies: 5
Views: 1341

Re: RPI Zero W and two DHT11 confusion

everyone was a beginner, some of us remain in the state perpetually.. #1 are you 100% sure dht11 sensor #2 works ok? try replacing it with #1 sensor in your pi circuit and running the original working with 1 sensor script to validate it.. You can always pop over to the github page for the adafruit p...
by PhatFil
Thu Aug 15, 2019 9:17 pm
Forum: Beginners
Topic: kiosks for dummies?
Replies: 5
Views: 786

Re: kiosks for dummies?

A kiosk system lets the users have some interaction via keyboard/mouse or touchscreen with the interface.

If you only want to display a single page without providing keyboard/mouse input, HIde them or dont connect them.
and just start up chrome with the --fulscreen switch instead of --kiosk
by PhatFil
Wed Aug 14, 2019 12:21 pm
Forum: Beginners
Topic: Rpi as external device to monitor relay switch states
Replies: 3
Views: 157

Re: Rpi as external device to monitor relay switch states

Just a thought.. there is often a led on relay circuits that indicates the relay state. If present on your h/w you could just use a light sensitive resistor to detect the led state and avoid all direct connection issues.
by PhatFil
Wed Aug 14, 2019 1:43 am
Forum: Advanced users
Topic: Creating a SD image suitable for Balena Etcher
Replies: 10
Views: 1294

Re: Creating a SD image suitable for Balena Etcher

etcher wants an image file so a quick google for how to create an image file from a SD card revelled under windows win32diskimager is the tool to use and under *nix the dd command in the format

Code: Select all

dd if=/dev/sdc/ of=/home/sdcard.img 
should do it?
by PhatFil
Wed Aug 14, 2019 1:32 am
Forum: Troubleshooting
Topic: Kernel panic- Pi Zero W
Replies: 2
Views: 135

Re: Kernel panic- Pi Zero W

Genuine SD card? New install or did a running system just fall over? #1 eliminate any media issues by using a new genuine sd card and download a fresh copy of the os and validate the downlaod with the sha checksum (not described on the downlaod page but look here https://www.raspberrypi.org/forums/v...

Go to advanced search