Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout too short, leading to spurious resets #10

Open
0xCAFEDECAF opened this issue Sep 22, 2017 · 3 comments
Open

Timeout too short, leading to spurious resets #10

0xCAFEDECAF opened this issue Sep 22, 2017 · 3 comments

Comments

@0xCAFEDECAF
Copy link

#define TIMEOUT 12000 // * 5ms = 1 minute

When using an Ethernet Shield based on W5500 hardware, a timeout of 1 minute is too little. With W5500 hardware (and possibly others), connect operations can take up to 31.8 seconds (see #9 ) so then the 1 minute is easily reached. My proposal would be to set this timeout to 36000 (3 minutes).

@Gertjezzz
Copy link

Did the setting of 3 minutes in timeout help you in recieving less resets?
After adding another S0 Meter (have 2 for usage and 1 for PV) I now recieve more resets.
Usually i have to reset the arduino several times after an software update to run it for months. But now I cant get it running a whole day without a reset.

@Dylantje
Copy link

What arduino u use?
And what pins??

Perhaps take a look on my git i forked this solarmeter in to a simple version

@Gertjezzz
Copy link

Gertjezzz commented Mar 28, 2020

I use an Adruino uno with an ethernetshield (W5100). Had for, i believe, 1 a 2 years now 2 sensor setup. Yesterday I added an extra sensor and reconfigured the setup to:

  • Pin 2: S0 Meter PV
  • Pin 6: S0 Meter Consumption 1
  • Pin 7: S0 Meter Consumption 2

I got the setup fully working but have some minor issues.

  • Arduino gets stuck after some running time, so monitor and manually reset
  • Missing the temperature readout (I tend to use PVoutput as less as possible, all my recordings are on exosite) I know the temp can bet fetched with a get of push message. If this isn't possible anymore with Buienradar I will look for another option, possibly adding an own sensor.

Your fork of the Harold software is running smootly? Does it have Exosite upload?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants