2019-01-19, 05:28 PM
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
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