Giter Club home page Giter Club logo

iotdevicesdev / ps4iot-v1-homeassistant-esphome-example Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 254 KB

IoT-devices PS4IoT_V1 Smart Power Supply Unit Module Home Assistant server with ESPHome plugin Basic Setup Example in "managed by MCU mode".

Home Page: https://iot-devices.com.ua/en/product/ps4iot-smart-power-module/

License: Apache License 2.0

ps4iot ups pmic psu iot hass esphome esphomeyaml-config homeassistant homeassistant-config internet-of-things home-assistant esphome-config esphome-devices charger battery power-supply battery-monitor battery-management-system tindie

ps4iot-v1-homeassistant-esphome-example's Introduction

Stand With Ukraine

PS4IoT_V1 Home Assistant with ESPHome setup example

PS4IoT_V1 Smart Power Supply Unit Module is tested under Home Assistant server with ESPHome plugin specially deployed test environment. The PS4IoT_V1 demo setup is placed in "managed by MCU mode" using ESP8266 as the MCU.

I sell on Tindie

Hackaday Project Page: https://hackaday.io/project/183099-ps4iotv1-smart-power-supply-unit-module

PS4IoT_V1 Ports

Documentation

What's in example files

To enable the module in its full capacity, you need to create a yaml configuration script in ESPHome.

  • nodemcu-ps4iot-v1.yaml - contains ESPHome node-side configuration script example

In addition, you must add a synthetic battery voltage rate sensor to the Home Assistant server's general 'configuration.yaml' configuration file:

  • configuration.yaml - contains Home Assitant server-side configuration script example

PS4IoT in managed by MCU mode setup example

Managed mode setup example

Node-side (ESPHome plugin node config) entities:

The configuration must include the following entities:

  • sensor.nodemcu_battery_voltage_level
  • sensor.battery_voltage_change_per_hour
  • binary_sensor.nodemcu_ps4iot_external_power_supply_detector
  • switch.nodemcu_ps4iot_bat_charge_enable
  • binary_sensor.nodemcu_ps4iot_red_charge_in_progress
  • binary_sensor.nodemcu_ps4iot_blue_charge_completed

Server-side (Home Assistant general config) entities:

  • sensor.battery_voltage_change_per_hour

Additional server-sided text state sensors:

  • sensor.nodemcu_ps4iot_battery_level_text_state
  • sensor.nodemcu_ps4iot_charge_text_state
  • sensor.nodemcu_ps4iot_numeric_battery_level_value

Install

  1. Download .yaml example files
  2. Under ESPHome plugin menu in your Home Assistant Server instance create new ESP8266 or ESP32 node.
  3. Make all needed modifications and additions to your node's yaml-file.
  4. Compile and use
  5. Also you may add server-aided additional state sensors using configuration.yaml file as in examples.

Resulting Home Assistant dashboard basic widget example

HA Dashboard Widget

Buy PS4IoT_V1 Smart Power Supply Unit Module:

On Tindie: https://www.tindie.com/products/iotdev/ps4iot-smart-power-supply-unit-module/

IoT-devices Online Shop: https://iot-devices.com.ua/en/

Watch PS4IoT_V1 under Home Assistant / ESPHome demo video

Watch the video

ps4iot-v1-homeassistant-esphome-example's People

Contributors

iotdevicesdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.