Search found 1856 matches

by jeanmarc
Thu Nov 14, 2019 5:20 pm
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

So, is it fixed now ? :shifty:
by jeanmarc
Thu Nov 14, 2019 10:06 am
Forum: Off-topic
Topic: Force attacks against SSH
Replies: 1
Views: 46

Re: Force attacks against SSH

Now for SSHGuard , it's another protection that will blocks repeating offenders during a limited amount of time. The default amount of time the offender is banned starts at 120 seconds and increases at each bad request. It can be also be configured to permanently ban. Install sshguard (in arch pacma...
by jeanmarc
Thu Nov 14, 2019 8:23 am
Forum: Off-topic
Topic: Force attacks against SSH
Replies: 1
Views: 46

Force attacks against SSH

Hi, Lately i've been amazed how much attacks i encounter against my SSH port.I've been look at various solution to calm those annoyings intruders :evil: I come up with few goods things that you might also do to protect further your logger : - SSH keys - Sshguard or Fail2ban - Port knocking First, i ...
by jeanmarc
Tue Nov 12, 2019 7:25 am
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

:arrow: Well about UTC value, it should be higher a minute late. If it's the same, there is a problem.
by jeanmarc
Mon Nov 11, 2019 9:53 pm
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

Yup all correct
by jeanmarc
Mon Nov 11, 2019 9:14 pm
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

I'll look later on to avoid getting stuck if a com app don't respond. First time it happen to me.. more /dev/shm/mN_LIVEMEMORY.json {"UTC":1573502999,"Conso1":"228","Gas2":"<font color='#8B0000'>Off<\/font>","Water3":"0","Prod4":"0","EIMP5":"226.9","EE XP6":"0","eselfc7":"0"} UTC is time stamp in ep...
by jeanmarc
Mon Nov 11, 2019 8:19 pm
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

Hard to tell if mN is stuck with a ping, the solution would be to look if time stamp is late in /dev/shm/mN_LIVEMEMORY.json. That say : mN is stable, if a problem arise it should be a com app. About 644, it mean that the user who run it (root) can write, the other can only reads. So please chmod and...
by jeanmarc
Mon Nov 11, 2019 7:10 pm
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

Ok one problem at the time ;) Your script is correct but that better to put 'set_time_limit' on top <?php set_time_limit(20); ... If req_espeasy don't respond it should end up with an error instead of waiting. RpiNotify is still free AFAIK. I believe instant notification are more wise with such app ...
by jeanmarc
Mon Nov 11, 2019 3:59 pm
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

Hi, You have sudo: command not found ? Did you do a ln -s /srv/http/pathto/pingtester.php /usr/bin/pingtester ? So ok, req_espeasy is stuck and mN hold and waiting a return. :idea: I believe the solution is to add CURLOPT_TIMEOUT in the script, do change twice : .. curl_setopt($ch, CURLOPT_CONNECTTI...
by jeanmarc
Sun Nov 10, 2019 7:59 am
Forum: Pulse meters
Topic: espeasy sonoff pulse counter Metern
Replies: 83
Views: 16802

Re: espeasy sonoff pulse counter Metern

Hi, You should run as pi@raspberrypi:/var/www/comapps $ sudo pingtester -start & [1] 13243 13243 is then the process id, please read some tutorials to understand Linux basis (no offence there) :angel: The pingertester is a infinity loop, it check each 5 min if the device respond, you may see the pro...