Go to advanced search

by PhatFil
Sat Feb 29, 2020 2:03 am
Forum: General discussion
Topic: What OS should I choose?
Replies: 19
Views: 1200

Re: What OS should I choose?

i run the full desktop version of raspbian on my headless pi-0-w s
It has no observable impact on performance and provides a vnc server should i ever want to open a remote gui session (never needed yet beyond testing tho,,) but one day?? :mrgreen:
by PhatFil
Fri Feb 28, 2020 3:14 pm
Forum: Troubleshooting
Topic: First (and all subsequent) boot fails
Replies: 4
Views: 241

Re: First (and all subsequent) boot fails

i had a w/end of fun n games when i bought 3x 16gb sandisk sdhc cards via amazon saving about £5 the cards are identical (as far as my cataract ridden eyes can tell) to genuine cards But they were NOT!! I now buy cards from brick and mortar sellers who have a supply chain they have confidence in so ...
by PhatFil
Wed Feb 26, 2020 11:17 pm
Forum: Troubleshooting
Topic: First (and all subsequent) boot fails
Replies: 4
Views: 241

Re: First (and all subsequent) boot fails

I would start by, #1 check the download with its SHA256 checksum https://geektechstuff.com/2019/09/30/sha256-file-hash-values-and-how-to-check-them-raspberry-pi-mac-os-x-powershell/ #2 validate your sd card iirc H2testw is a good tool for this on a windows puter. #3 repeat the sd card write using ba...
by PhatFil
Wed Feb 26, 2020 10:57 pm
Forum: Beginners
Topic: Auto Boot USB (batch file) to update files in home folder
Replies: 2
Views: 121

Re: Auto Boot USB (batch file) to update files in home folder

if you use the same usb drive with a KNOWN UUID or a small set of usb drives? you can set it to auto mount and run a script to check a directory for contents and if found execute a copy. https://gist.github.com/etes/aa76a6e9c80579872e5f Should give you what you need to auto mount a drive using its U...
by PhatFil
Wed Feb 26, 2020 10:44 pm
Forum: Weather station
Topic: Recommendations for weatherstation sensor hardware in uk
Replies: 4
Views: 621

Re: Recommendations for weatherstation sensor hardware in uk

DIY annometers and rain guages might be the way to go as a little google led me places like https://www.weathershop.co.uk/shop/accessories which indicate a pretty generouse budget might be needed for off the shelf solutions.
by PhatFil
Wed Feb 26, 2020 10:14 pm
Forum: Python
Topic: event detection response
Replies: 7
Views: 369

Re: event detection response

by PhatFil
Wed Feb 26, 2020 10:09 pm
Forum: Automation, sensing and robotics
Topic: TCP Smart Bulbs
Replies: 8
Views: 745

Re: TCP Smart Bulbs

imho Tasmota is the best option for smart plug/device control https://tasmota.github.io/docs/#/Home
compatible h/w is listed in the wiki docs
by PhatFil
Wed Feb 26, 2020 4:09 pm
Forum: General discussion
Topic: Can a 12v relay be run using inputs from a different sensor.
Replies: 6
Views: 262

Re: Can a 12v relay be run using inputs from a different sensor.

Fyi i use the bluetooth sensors detailed in this project https://zsiti.eu/xiaomi-mijia-hygrothermo-v2-sensor-data-on-raspberry-pi/ with my pi, but as i use node red i also use the xiaomi-ble-node to query my sensors rather than python.. At circa £10-12 they are pretty good vfm imho and as they broad...
by PhatFil
Wed Feb 26, 2020 12:51 pm
Forum: Beginners
Topic: FTP(S) Server with Raspberry Pi Zero
Replies: 4
Views: 226

Re: FTP(S) Server with Raspberry Pi Zero

How many concurrent client requests do you expect? if a private server for your use and limited concurrent requests Its worth the time to test and confirm. my own limited lan testing of a pi-0-w would suggest that 10mb/s is a reasonable expectation
by PhatFil
Tue Feb 25, 2020 11:25 pm
Forum: Beginners
Topic: How to transmit data trough an access point without protocol
Replies: 11
Views: 346

Re: How to transmit data trough an access point without protocol

Most command line commands that produce cli output and terminate can have their output (stdout) redirected to a file for further programmatic analysis Using the ">" and ">>" redirect operators ">" will overwrite/create the file while ">>" will append to an existing file and create it if not there.. ...
by PhatFil
Tue Feb 25, 2020 3:10 pm
Forum: General discussion
Topic: Can a 12v relay be run using inputs from a different sensor.
Replies: 6
Views: 262

Re: Can a 12v relay be run using inputs from a different sensor.

If using to manage conditions for valuable contents i would suggest looking at more robust and reliable sensors than dht22. or at least consider the expected life and easy replacement of the sensor you use.. https://raspberrypi.stackexchange.com/questions/51139/dht22-raspberry-pi-2-3-questionable-hu...
by PhatFil
Tue Feb 25, 2020 8:36 am
Forum: Other
Topic: Error while trying to connect to mqtt using paho-mqtt [KALI]
Replies: 4
Views: 454

Re: Error while trying to connect to mqtt using paho-mqtt

To rule out problems with your creds you can try installing and hosting mosquitto mqtt broker and executing your connection and publications or/and subscriptions without the complication of the security.
by PhatFil
Tue Feb 25, 2020 7:02 am
Forum: Beginners
Topic: How to transmit data trough an access point without protocol
Replies: 11
Views: 346

Re: How to transmit data trough an access point without protocol

you will probably have to employ some protocols, but you can probably not need to get too involved with the mechanics unless you want to mqtt would probably be the easiest to implement and use. you would only need to install a broker and some tools with a couple of apt install commands. Using a pyth...
by PhatFil
Sat Feb 22, 2020 4:32 pm
Forum: General discussion
Topic: Creating a light timer
Replies: 1
Views: 135

Re: Creating a light timer

To avoid the very real risks of connecting mains power to your pi may i suggest you consider looking at reprogramming an off the shelf smart switch to respond to your Pi rather than the manufacturers server and phone app. The Tasmota firmware is compatible with a number of commercial devices off the...
by PhatFil
Fri Feb 21, 2020 11:55 am
Forum: General discussion
Topic: Of canaries and backdoors
Replies: 15
Views: 918

Re: Of canaries and backdoors

Not paranoid, just rude, what makes you think any backdoors exist? have you monitored suspicious traffic? if so where is the evidence.. Thats how a rational person would start such a conversation. "Hey I found this suspicious traffic from my pi any ideas??" for example if i asked loudly "how many ch...
by PhatFil
Fri Feb 21, 2020 10:46 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 211

Re: IoT WebServer

If your collecting masses of data like temperatures every few seconds for real time analysis and reaction for pid controlled heating for example, long term archiving of every record may not be ideal, and rather than working on complex selective deletion of redundant data perhaps you may want to cons...
by PhatFil
Fri Feb 21, 2020 8:58 am
Forum: General discussion
Topic: Pi Zero W VT100 Terminal
Replies: 5
Views: 279

Re: Pi Zero W VT100 Terminal

forgive the question but have you switched the com lines so Rx on the Pi connects to Tx on your host device and Tx connects to Rx? I only ask as afaik VT100 is one of the basic standard terminal types that ALL emulators should be able to mimic and decode the control chars and data. tty is the termin...
by PhatFil
Thu Feb 20, 2020 12:50 am
Forum: General discussion
Topic: PI Power - Commercial battery source
Replies: 28
Views: 1291

Re: PI Power - Commercial battery source

Posted in wrong thread in error..
by PhatFil
Tue Feb 18, 2020 1:31 am
Forum: Off topic discussion
Topic: My kid is using a Raspberry Pi - should I call the police???
Replies: 33
Views: 3570

Re: My kid is using a Raspberry Pi - should I call the police???

the bottom left logo looked a bit suspect..
by PhatFil
Tue Feb 18, 2020 1:12 am
Forum: Off topic discussion
Topic: My kid is using a Raspberry Pi - should I call the police???
Replies: 33
Views: 3570

Re: My kid is using a Raspberry Pi - should I call the police???

Hope its not a joke.. as i have sent an email requesting copies :twisted:
by PhatFil
Tue Feb 18, 2020 12:23 am
Forum: Troubleshooting
Topic: RPi Zero 4 Channel Relay ?
Replies: 3
Views: 146

Re: RPi Zero 4 Channel Relay ?

try something like https://www.amazon.co.uk/Outlets-AOFO-Protector-Individual-Assistant/dp/B07MZSH3CF/ref=pd_aw_sbs_60_5/260-0050849-9113507?_encoding=UTF8&pd_rd_i=B07MZSH3CF&pd_rd_r=88d3d246-a842-4b62-8bee-0fcb87ef2a9a&pd_rd_w=5Huyx&pd_rd_wg=mCubq&pf_rd_p=15216146-4434-47f5-99d9-56240c85bf4d&pf_rd_...
by PhatFil
Mon Feb 17, 2020 11:45 pm
Forum: General discussion
Topic: Remote power button or reset button?
Replies: 10
Views: 531

Re: Remote power button or reset button?

for a hard reset and avoiding most complications of mains power you could look at one of the plug inline smart switch options that can be reprogrammed with open source firmware to remove reliance on commercial possibly not free or alive forever servers and phone apps.. an OTA rewrite is even possibl...
by PhatFil
Mon Feb 17, 2020 4:31 am
Forum: Beginners
Topic: Switching from Arduino to RPi, what parts to buy
Replies: 5
Views: 300

Re: Switching from Arduino to RPi, what parts to buy

I might need I2C and maybe single wire transfer so can you please send me a link for what type of level shifter I should buy your pretty safe buying from the far east portals, these are very cheap and dont use components worth counterfeiting so while you may get a few duds in a batch the fact you c...
by PhatFil
Mon Feb 17, 2020 4:12 am
Forum: General discussion
Topic: Remote power button or reset button?
Replies: 10
Views: 531

Re: Remote power button or reset button?

with a similar set up as @jbudd above (mosquitto/nodered) and my favorite $10 chinese bargain a tasmota-ised sonoff rf bridge.. https://github.com/arendst/Tasmota/wiki/Sonoff-RF-Bridge-433 which echos any 433mhz RF signal it can decode as a mqtt topic/payload. This allows the use of many cheap butto...
by PhatFil
Mon Feb 17, 2020 3:43 am
Forum: General discussion
Topic: Cash Register w/ RPI
Replies: 3
Views: 170

Re: Cash Register w/ RPI

your right.. perhaps this might be more useful.. https://electronics.stackexchange.com/questions/251478/kicking-rj11-cash-drawer-via-pcs-serial-port looks like you need to supply 1a @ 24v for a few ms 200-500? just make sure you isolate your vulnerable pi from the 1a 24v power used to drive the draw...

Go to advanced search