Skip to content

This HMI lets you control an industrial generator, adjust heating settings, and save your setups. It has cool features like live data and different control modes....but without real hardware, a PLC, and the right IP address, it won’t do a thing. Still reading? Congrats, you just wasted 17.84 seconds.

License

Notifications You must be signed in to change notification settings

hariravi15/HMI_Pannel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heating Control System

A Streamlit-based application for controlling and monitoring industrial heating systems with OPC UA integration.

Features

  • User Authentication: Secure login system using Streamlit Authenticator
  • Dual Control Modes:
    • Simple Mode: Control heating with basic power and time parameters
    • Advanced Mode: Fine-tune with voltage, current, and frequency settings
  • Real-time Monitoring: View system parameters including temperature, current consumption, and cooling metrics
  • Configuration Management: Save, load, and delete heating configurations
  • OPC UA Integration: Connect to industrial control systems via OPC UA protocol
  • SQLite Database: Store configurations persistently

Screenshots

Login Screen

Login Screen

Simple Control Mode

Simple Mode

Advanced Control Mode

Advanced Mode

Dependencies

Installation

  1. Clone this repository:

    git clone git clone https://github.com/destrohr/HMI_Pannel
    cd HMI_Pannel
  2. Install required packages:

    pip install -r requirements.txt
  3. Set up your access.yaml file for authentication:(optional)

    credentials:
      usernames:
        username1:
          email: user1@example.com
          name: User One
          password: hashedpassword1
        username2:
          email: user2@example.com
          name: User Two
          password: hashedpassword2
    cookie:
      name: heating_system_auth
      key: your_signature_key
      expiry_days: 30
  4. Configure your OPC UA server settings:

    • Edit the OpcServerUrl variable in the code to point to your OPC server
    • Verify the node IDs match your OPC UA server structure

Usage

  1. Run the application:

    streamlit run Web.py
  2. Log in using credentials from your access.yaml file

  3. Select operation mode (Simple/Advanced)

  4. Configure heating parameters and toggle system state

  5. Start/Stop heating process and monitor parameters

  6. Save configurations for future use

System Requirements

  • OPC UA Server running and accessible
  • Python 3.7+
  • Modern web browser

Development

The application structure follows a modular approach with separate functions for:

  • Database management
  • OPC UA communication
  • UI rendering
  • Configuration handling

If extending the application, follow the established pattern for new features.

About

This HMI lets you control an industrial generator, adjust heating settings, and save your setups. It has cool features like live data and different control modes....but without real hardware, a PLC, and the right IP address, it won’t do a thing. Still reading? Congrats, you just wasted 17.84 seconds.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages