Automation virtual commissioning : PLCSIM advanced 2.0 with C#

This is is a short demonstration of a co-simulation between Siemens PLCSIM Advanced and C#.
The goal is simple : have the ability to conditionally change inputs.
We’ll do a proof of concept with a small exemple for a safety relay monitored by a feedback.  

Co-simulation : PLCSIM Advanced with C#
Continue reading Automation virtual commissioning : PLCSIM advanced 2.0 with C#

Monitor a host from a Zabbix Agent (ping / ICMP)

Monitoring my Raspberry Pi network behind NAT is easy using OpenVPN and Zabbix agent/server.

In a few cases, I need to monitor hosts without any possibilities to install OpenVPN and Zabbix agent on it (switchs, routers, wemos, arduinos…).


Continue reading Monitor a host from a Zabbix Agent (ping / ICMP)

Monitor a Raspberry Pi using Zabbix Agent on Raspbian

Once the server is ready, we can start to configure our agents.

Install the zabbix-agent :

Edit the configuration file :

Continue reading Monitor a Raspberry Pi using Zabbix Agent on Raspbian

Raspberry pi backup using Rsync server and OpenVPN

1. Server setup

1.1 Initial setup

Initial steps :
OpenVPN server
OpenVPN client
Rsync server

Then we are ready for this step !

1.2 Directories

Create folders for our daily backups for “bart” :

Continue reading Raspberry pi backup using Rsync server and OpenVPN

Rsync server on Debian


Create/edit the Rsync server configuration file :

Here is my configuration file:

Continue reading Rsync server on Debian

Secure http traffic with Let’s Encrypt on Debian

Configuring HTTPS on debian with Nginx and Let’s Encrypt is now really easy.

Let’s install required software :

Then start the configuration process :

Continue reading Secure http traffic with Let’s Encrypt on Debian

Zabbix server on Debian

1. Installation

2. Configuration

Continue reading Zabbix server on Debian