Go to advanced search

by Boca
Wed Dec 18, 2019 9:28 am
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Re: Problem using SSmtp email send

OOps... sorry for omission.. Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l Oh my, why are you still running Jessie (probably with no security patches)? The time to upgrade to Buster is NOW! Thanks for the heads-up. This is an embarrassing oversight on my part. On my dai...
by Boca
Tue Dec 17, 2019 7:42 pm
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Re: Problem using SSmtp email send

ssmtp has been "orphaned" since 2019-03-19: https://wiki.debian.org/sSMTP Looks like you're running Stretch, so not sure what the failure mechanism is. Regardless, it's probably a good idea to switch to msmtp, the new default smtp package starting with Buster, AFAIK. Thank you, I haven't used the P...
by Boca
Tue Dec 17, 2019 7:41 pm
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Re: Problem using SSmtp email send

Using another test reveals a more comprehensive error message.. tony@raspberrypi:~ $ ssmtp -au pi@gmail.com -ap password -ap user @gmail.com < mail.txt ssmtp: Authorization failed (535 5.7.8 https://support.google.com/mail/?p=BadCredentials a5sm3776980wmb.37 - gsmtp) I can log- into the pi gmail ac...
by Boca
Tue Dec 17, 2019 6:46 pm
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Re: Problem using SSmtp email send

ssmtp has been "orphaned" since 2019-03-19: https://wiki.debian.org/sSMTP Looks like you're running Stretch, so not sure what the failure mechanism is. Regardless, it's probably a good idea to switch to msmtp, the new default smtp package starting with Buster, AFAIK. Thank you, I haven't used the P...
by Boca
Tue Dec 17, 2019 6:13 pm
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Re: Problem using SSmtp email send

Using another test reveals a more comprehensive error message.. tony@raspberrypi:~ $ ssmtp -au pi@gmail.com -ap password -ap user @gmail.com < mail.txt ssmtp: Authorization failed (535 5.7.8 https://support.google.com/mail/?p=BadCredentials a5sm3776980wmb.37 - gsmtp) I can log- into the pi gmail acc...
by Boca
Tue Dec 17, 2019 6:01 pm
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Re: Problem using SSmtp email send

OOps... sorry for omission..
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l
by Boca
Tue Dec 17, 2019 5:52 pm
Forum: Beginners
Topic: Problem using SSmtp email send
Replies: 12
Views: 322

Problem using SSmtp email send

I have set up to email my temperature sensor reading every hour. This was working fine but the email has suddenly stopped working I have checked File: /etc/ssmtp/revaliases File: /etc/ssmtp/ssmtp.conf and these are correct ( as originally installed). when I try a dummy email I get this error tony@ra...
by Boca
Fri Mar 23, 2018 12:56 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Hi RDS, The python to read the device is shown below and is from https://www.raspberrypi-spy.co.uk/2013/03/raspberry-pi-1-wire-digital-thermometer-sensor/ #!/usr/bin/python #-------------------------------------- # # ds18b20.py # Read DS18B20 1-wire temperature sensor # # Author : Matt Hawkins # Dat...
by Boca
Fri Mar 23, 2018 7:15 am
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Hi RDS, the crontab entry which sends the hourly email is in brackets in my earlier post. The W1_slave content is below with the last 5 digits being the temperature (*1000). tony@raspberrypi:~ $ cat /sys/bus/w1/devices/28-051702709dff/w1_slave 1b 01 4b 46 7f ff 0c 10 4e : crc=4e YES 1b 01 4b 46 7f f...
by Boca
Thu Mar 22, 2018 3:43 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

quick update.. the probe is now connected and pi is emailing me each hour with the room temperature... so it's achieving the basic functionality I wanted. :D I do, however, have to open each email and read the temperature to make sure it's ok. :roll: (echo " " | mail -s Pi_hourly_heartbeat_with_room...
by Boca
Sat Mar 17, 2018 8:55 am
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Hi,

sorry I should have mentioned that.... I am using ssmtp.

thanks, Tony
by Boca
Fri Mar 16, 2018 7:36 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Hi, I have now received my temperature probe ( it had been lost in the post due to snow!) So I hope to have some time to work on this over the weekend. I have been doing as much of the software as I can while waiting for the probe and have been following this excellent link ( https://www.raspberrypi...
by Boca
Thu Mar 08, 2018 6:17 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Thanks.

I have checked and a ribbon connector from an old desktop pc works a treat. It does not,however, have any mistake-proofing orientation pegs so I will have to mark it and be careful on re-connecting. Also, the wire gauge may make soldering more tricky.

Tony
by Boca
Thu Mar 08, 2018 5:14 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating failure alarm

Hi , a quick update .... then, inevitably, a question.. Pi set up and can now SSH into it. UFW set up Email comms set up to issue an hourly "heartbeat" from Pi's dedicated gmail account. waiting for delivery of probe. Q:- In terms of connecting the probe, is the consensus to solder directly onto the...
by Boca
Sun Mar 04, 2018 10:33 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Hi,

I have started my Pi journey and have now ordered Pi + temp sensor.

Thank for all the suggestions to date.

I may ( will?) be returning to the forum as I embark on this first project.

Thanks, Tony
by Boca
Sun Mar 04, 2018 2:43 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

@Boca Yes, I agree about the detail. The other thing I would do (and I already do this with a Pi I have running 24/7) is to use Crontab to run your program when the Pi boots up. That way, when the power is restored your Pi will automatically start up and run your program. I assume that your router ...
by Boca
Sun Mar 04, 2018 2:03 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

I would use the DS18B20 Temperature sensor, as has already been mentioned. Then for the SMS side, I would be using an old mobile phone with a Pay As You Go simcard and connected (somehow) to the USB on the Pi. Keep the mobile connected to the mains, so that it is always charged up. Incidentally, wh...
by Boca
Sun Mar 04, 2018 1:16 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Since you use electric heating, you'l only need to detect power failure, not ambient temp. Thank you for your suggestions. Unfortunately, I am using gas heating which relies on an electric circulating pump. I would still need temp. detection to detect a failure of the heating system which wasn't re...
by Boca
Sun Mar 04, 2018 10:30 am
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Re: Pi as heating/elec failure alarm

Presumably, in the event of a power failure, even if you have back-up power for the RPi, your LAN will go down and hence your internet connection. If your internet connection is immune (for example, a DSL line) and you are able to back up the entire chain...modem, router and RPi, you could get out ...
by Boca
Sat Mar 03, 2018 5:02 pm
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 2666

Pi as heating/elec failure alarm

Hi, as background, I am a complete newbie to Pi and its capabilities. In the past, I have programmed macros/PLC and currently run a Windoze free household as a Linux Mint advocate. Assuming that I have not burnt bridges with my new community....... :?: I am looking to set up an alarm so that, if the...

Go to advanced search