This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cron email
#6
Thanks Jim and PaddyB. 

Jim - I saw in your comments re MOB marker in OpenCPN that your bilge alarm sends an email every time it boots. Mine is set up the same way - send a WET alarm email when the bilge pump turns on, send a DRY email when it turns off - ie the normal condition. So in testing at the house I would get 1 DRY email when the Pi rebooted, but when I took it to the boat, it was sending a DRY email every 3 minutes - like  clockwork.  I have the Pi wifi connected to my iphone hotspot. I have a Wyze cam also connected to the iPhone hotspot with no connectivity issues - even video playback. 

I was powering the pi with a cigartette lighter USB 2.5 amp adapter. Its likely my house batteries are 13.5v on a sunny day - so maybe this combination was causing the reboots? Have you seen that? Would a 12v-5v buck converter provide a more stable power range?

A timer, that what I was hoping to accomplish by using cron. Cant think of a way to use gpio to effect a timer. Maybe I'll setup a light sensor on a gpio to send that morning checkup email - that would still be multiple emails - but probably not every 3 minutes... 

Regarding node-red - I have to confess. I had trouble with v1.0 network connections reliability so I set it aside and pulled out an old Openplotter 0.8.0 that has always run without issues when quickly cobbling this monitoring system together. I hadn't installed node-red on that 0.8.0 sd though I did get up to speed w v1.1 and node-red - impressive. Time to revisit 1.x. Is  Pi 3B+ working for both ap and internet connectivity or better to stick with Pi3B for now? 

Thanks.

Hank
Reply


Messages In This Thread
cron email - by svtgd - 2019-01-16, 11:04 PM
RE: cron email - by jim321 - 2019-01-17, 03:26 AM
RE: cron email - by svtgd - 2019-01-17, 03:59 PM
RE: cron email - by jim321 - 2019-01-17, 04:25 PM
RE: cron email - by PaddyB - 2019-01-17, 11:06 PM
RE: cron email - by svtgd - 2019-01-19, 05:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)