reef-pi :: An opensource reef tank controller based on Raspberry Pi.

@theatrus I have two routers connected to each other. My ISP router serves as the makeshift DMZ. This where my reefpi resides. This router has port forwarding turned on for 443 all the time and 22 is normally off but I turned it on today because I Wanted to poke around in the terminal. My second router connects to the main router and is where my home network is.

Actually thats not a bad setup but your still exposing reef-pi to anyone that wants to knock on the door, honestly I haven't poked much at the code or tried to bypass stuff but not something I would recommend. Even though it doesn't contain personal information or allow lateral movement, I'm not sure if someone hacked into it I'd want them to be able to mess with my aquarium, turn up the heaters etc...
 
@theatrus I have two routers connected to each other. My ISP router serves as the makeshift DMZ. This where my reefpi resides. This router has port forwarding turned on for 443 all the time and 22 is normally off but I turned it on today because I Wanted to poke around in the terminal. My second router connects to the main router and is where my home network is.

I assume you changed the default raspberry pi password for the pi account? :)
 
Hey I assume you back up and things are back to a working condition, congrats. :)
Yes all turned back over to the pi for control. I haven't looked at logs but seems good this far.

If the Archon had the speed of the reef pi it would have been way better.
 
Reboots can be Linux kernel panics, or power issues.

Do you port forward just 443 or put the device in a DMZ (is port 22 also exposed to the internet?)

I assume you changed the default raspberry pi password for the pi account? :)

That made me laugh, I even add nologin to the pi account. :)

Lol. I do Infosec also. More plans and policy these days so I’m rusty on the technical aspect. But we had a surprise pen test years ago. The network team left the default password on a riverbed appliance they where doing a demo on. It was pretty ugly lol
 
Does anyone know what this HTML error refers to? I get it several times per day. Seems harmless but just would like to know.

2/12/2019, 9:32:59 PM UI ERROR {"error":"strconv.Atoi: parsing \"150\\n\": invalid syntax"} | HTTP 404
 
Does anyone know what this HTML error refers to? I get it several times per day. Seems harmless but just would like to know.

2/12/2019, 9:32:59 PM UI ERROR {"error":"strconv.Atoi: parsing \"150\\n\": invalid syntax"} | HTTP 404
Something is trying to cast a string ("150") to an integer, and it seems to be failing because of the trailing newline character (\n). Just a guess it's probably on the UI side rather than the underlying logic... check around any user input boxes on the page when you see the error and look for any stray whitespace after a 150.
 
Does anyone know what this HTML error refers to? I get it several times per day. Seems harmless but just would like to know.

2/12/2019, 9:32:59 PM UI ERROR {"error":"strconv.Atoi: parsing \"150\\n\": invalid syntax"} | HTTP 404
Where you have set 150? PWM frequency or something else? You have a new line character in that field. Delete it an type 150 and hit save/update.
 
Hardware question ... the last connector I need to get for my case is a BNC connector for the pH probe. Why do the probes use BNC? Is it for positive-action on the connection itself (IOW - a 'twist lock' so that it doesn't work it's way loose), or do they actually require the shielding provided by the cable? I ask because I'd rather not fuss with crimping BNC connectors if I don't have to (I have the crimper already from other projects, but...blah).

I'm hoping to be able to get a "thin" BNC cable (like this one: https://www.amazon.com/CablesOnline-1ft-RG316-Cable-RF-BC101/dp/B078SNS7C6/) and just 'nip the tip' and solder to the panel mount connector. Anyone see this as a problem, or should I try to find a panel-mount (F) with the cable going to a male end, if such a beast exists?
 
Hang on...found these:
https://www.arrow.com/en/products/031-4803-rfx/amphenol-r

Which is the correct one? The only difference that I can see is the impedance. @theatrus , any idea? or does it not matter for this application?

Did some digging, on the other reef site I found a thread where there was no consensus and they didnt think it mattered. The neptune rep was quoted as saying:
"The impedance of the cable doesn't matter. Don't extend the cable too much and use proper BNC connectors as the signal is very high impedance and extremely small."

Someone else mentioned bnc connectors from radio shack worked fine.

Have not been able to find specs on what type ph probes use.

However, the atlas scientific extension cables for their ph probes are 75 ohm cables.

I think it wont matter much for our application, impedance matching is more important for a high speed signal transmission. I think the shielding is the important thing because we are reading very small voltages which is prone to interference from other equipment or cables in close proximity.
 
Last edited:
Did some digging myselfm...the connector on the pico board is a 50 ohm Amphenol
Read above i edited my post. But we are not transmitting a highly variable signal so impedance probably doesnt matter, its more having the cable shielded that does matter.
 
Hardware question ... the last connector I need to get for my case is a BNC connector for the pH probe. Why do the probes use BNC? Is it for positive-action on the connection itself (IOW - a 'twist lock' so that it doesn't work it's way loose), or do they actually require the shielding provided by the cable? I ask because I'd rather not fuss with crimping BNC connectors if I don't have to (I have the crimper already from other projects, but...blah).

I'm hoping to be able to get a "thin" BNC cable (like this one: https://www.amazon.com/CablesOnline-1ft-RG316-Cable-RF-BC101/dp/B078SNS7C6/) and just 'nip the tip' and solder to the panel mount connector. Anyone see this as a problem, or should I try to find a panel-mount (F) with the cable going to a male end, if such a beast exists?
I don’t know the exact reasoning, but all ph probes I’m aware of (atlas scientific, American marine, milawukee) uses bnc, hence we went with it
 
Where you have set 150? PWM frequency or something else? You have a new line character in that field. Delete it an type 150 and hit save/update.

Nothing that I can locate on active modules is set to 150. Is it possible that its picking this up for a hidden module that I am not using.
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 26 57.8%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 19 42.2%
Back
Top
Home
Post thread…
Market
What's new