User Tools

Site Tools


technik:pow-hvm6.2m_with_tasmota

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technik:pow-hvm6.2m_with_tasmota [2024/11/16 10:55]
ich [OLED display]
technik:pow-hvm6.2m_with_tasmota [2025/11/04 10:49] (current)
marten
Line 34: Line 34:
 #define USE_UNIVERSAL_DISPLAY                // new driver with display.ini file  #define USE_UNIVERSAL_DISPLAY                // new driver with display.ini file 
 </file> </file>
 +
 +Many FW upload tools failed for my ESP32C3, but the direct USB upload from VS Code worked well.
  
 ===== OLED display ===== ===== OLED display =====
Line 41: Line 43:
 {{:technik:option_a_3.png?200|}} {{:technik:option_a_3.png?200|}}
  
- Now I started the display with the following commands on the console. +The display has another ON/OFF buttom on Tasmotas main screen. Now I started the display with the following commands on the console. 
  
 <code txt console commands> <code txt console commands>
Line 48: Line 50:
 DisplayModel 17       (new driver with display.ini file and OptionA3) DisplayModel 17       (new driver with display.ini file and OptionA3)
 </code> </code>
 +
 +Example display: [[https://de.aliexpress.com/item/1005006895921013.html?|1.3inch OLED]]
 ===== Tasmota ModBus Script ===== ===== Tasmota ModBus Script =====
  
-I needed the script to access my Modbus based solar inverter PowMr. PowMr inverter are all very similar. Luckily +I needed the script to access/read my Modbus based solar inverter PowMr. PowMr inverter are all very similar. Luckily 
   * [[https://github.com/leodesigner/powmr_comm]]    * [[https://github.com/leodesigner/powmr_comm]] 
 investigated already on the registers for these PowMr inverters. investigated already on the registers for these PowMr inverters.
  
-This Tasmota Scripting was the most ugly part of the project.+HW: GPIO20/21(Rx,Tx) configured as ''None'' where used. 
 + 
 +Tasmota Scripting was the most ugly part of the project.
  
   - Section >M needs to define Tx and Rx-Mask at different lines and locations which makes the code unreadable   - Section >M needs to define Tx and Rx-Mask at different lines and locations which makes the code unreadable
Line 153: Line 159:
  
 {{:technik:config_pzem.png?200|}} {{:technik:config_pzem.png?200|}}
 +
 +===== Tasmota-Berry ModBus Script =====
 +The above script lacks the possibility of changing values on the modbus device (just reading is possible).
 +
 +Dies sind Ideen für ein schöneres Berry Script. Dafür muß in der Pin configuration für pin20/21 statt ''None'', ''ModBr Rx/Tx'' ausgewählt werden, um das ''ModBusSend'' Kommando auf der Console zu ermöglichen.
 +
 +<code txt console commands>
 +ModbusBaudrate 2400
 +ModBusSend {"deviceaddress": 1, "functioncode": 4, "startaddress": 4501, "type": "uint16", "count": 1}
 +</code>
 +
 +Zunächst antwortet dieses Kommando nicht mit ''ModBusReceive'' .
 +
 +Andere User schreiben, dass dieser Berry Mode leider Crash gefährdet ist.
 +
 +
 +
technik/pow-hvm6.2m_with_tasmota.1731750955.txt.gz · Last modified: 2024/11/16 10:55 by ich