Giter Club home page Giter Club logo

esphome-dps's People

Contributors

antfurn avatar syssi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

esphome-dps's Issues

Add start and stop voltage setting

Monitor the input/battery voltage and go into a Standby mode if the stop voltage is reached. Go back to the Normal mode if the battery gets charged and the start voltage is reached again.

Alternatve Firmware Profimax 4.3 issue

Hello,
I have installed the DPS firmware versin 4.3 from Profimax (very good firmware for this device). So I testet it with this esphome software. After changing the uart speed to 115200 I was able to communicate with my power supply.
Unfortunately I am only able to read the values, but I can't write anything.
There is a ESP01 installed. When I use my own Arduino firmware everything works fine. So the wiring is correct.

Do someone have any advice?
Tanks in advance.
Bernd

Add XY6020 support

https://github.com/kbs3056/XY6015L_pyGUI
#19 (comment)

Baud rate: 115200

[18:30:22][I][dps:063]: Status frame received
[18:30:22][D][text_sensor:064]: 'dps device model': Sending state 'DPS21'
[18:30:22][D][sensor:094]: 'dps voltage setting': Sending state 25.00000 V with 2 decimals of accuracy
[18:30:22][D][number:012]: 'dps voltage setting': Sending state 25.000000
[18:30:22][D][sensor:094]: 'dps current setting': Sending state 0.20900 A with 3 decimals of accuracy
[18:30:22][D][number:012]: 'dps current setting': Sending state 0.209000
[18:30:22][D][sensor:094]: 'dps output voltage': Sending state 25.00000 V with 2 decimals of accuracy
[18:30:22][D][sensor:094]: 'dps output current': Sending state 0.00100 A with 3 decimals of accuracy
[18:30:22][D][sensor:094]: 'dps output power': Sending state 0.02000 W with 2 decimals of accuracy
[18:30:22][D][sensor:094]: 'dps input voltage': Sending state 48.26000 V with 2 decimals of accuracy
[18:30:22][D][text_sensor:064]: 'dps protection status': Sending state 'Normal'
[18:30:22][D][sensor:094]: 'dps backlight brightness': Sending state 20.00000 % with 0 decimals of accuracy
[18:30:22][D][sensor:094]: 'dps firmware version': Sending state 1.50000 with 1 decimals of accuracy
[18:30:22][W][component:214]: Component modbus took a long time for an operation (0.14 s).
[18:30:22][W][component:215]: Components should block for at most 20-30ms.
[18:30:22][D][uart_debug:158]: <<< "\x01\x03\x1A\t\xC4\x00\xD1\t\xC4\x00\x01\x00\x02\x12\xDA\x00\f\x00\x00\x00\xFA\x00\x00\x00\x01\x00\x15\x00\x0F\x91}"

Not working:

  • Output switch
  • Firmware version

Different contents of the status frames:

XY6020: https://github.com/kbs3056/XY6015L_pyGUI/blob/master/source_files/dps_modbus.py#L135-L147
DPS5005: https://github.com/lambcutlet/DPS5005_pyGUI/blob/master/source_files/dps_modbus.py#L135C1-L145

Different registers:

XY6020: https://github.com/kbs3056/XY6015L_pyGUI/blob/master/source_files/dps_modbus.py#L67C1-L104
DPS5005: https://github.com/lambcutlet/DPS5005_pyGUI/blob/master/source_files/dps_modbus.py#L67-L133

@creepystefan

DPS3005 no response

image

I have connected a ESP32 (NodeMCU-32 V1.3) to a DPS3005. Mine came without a connector, but i just soldered some cables to it.

I double-checked all connections, tried to switch RX and TX, tried different Pins but still, it does not work...

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.