Setup:
M30 AC energy meter connected to Home-assistant server running in virtual machine with windows host, the M30 connected to pc through onboard USB debugging port and RS485 to USB converter (COM 3 & COM 4) and connected to same network as pc through Ethernet
Problem:
-- the Home Assistant frontend dashboard shows the board current readings: m30_1,2,3_current_1--10 = 0.357 A , Watt: 140.3W, 4,771.0 kWh, 5,141.0 kWh, tps_1,2,3 = 4,574.6 °C the CT sensors is not connected to any active load ? -- when connect the CT sensors to load the reading did not change ? -- Connecting modbus pull with same configuration as in yaml file { uart: id: modbus_uart rx_pin: 32 tx_pin: 33 baud_rate: 115200 stop_bits: 1 data_bits: parity: NONE} it shows timeout error with no readings?
Required: -- How to reset the CT sensors current readings and energy reading to Zero when there is no loads or the sensors not connected, remove the un wanted history and start fresh. please show example of any modifications needed in yaml file. all sensors are brand new and never used before. -- Why there is no reading when i connect the CT sensor to an active load ? did i mess something? -- Why i cant read the sensors trough modbus pull from register 3 ? how to fix timeout error ? -- Noticed when using the yamal file posted that we can not use Ethernet and WIFI at the same time? why? -- I tried with another M30 board the current reading 0.220 A watt zero but also the reading did not change when i connect the CT sensor to active load? any reason? -- why TPS shows very high readings? what does it means? -- Period readings = 457.8 Hz ? can you explains? -not realistic readings-
Note: Attached the yaml used in the configuration, the dashboard for home assistant before and after connecting the CT to load, the modbus error
1. Fix the problem that mqtt custom port does not take effect
2. Fix the problem of missing comma separator when mqtt returns json
3. Fix the problem that the mqtt command does not support the simultaneous processing of multiple commands
4. Fixed mqtt instructions run_rf, run_ir, set_beep returning wrong json format
v2.2.7 improvement:
1. Fix the problem that the mqtt command does not support the simultaneous processing of multiple commands
2. Fixed mqtt instructions run_rf, run_ir, set_beep returning wrong json format
Salve,ho comprato questa scheda.
Ho installato il firmware tasmota e funziona ingressi e uscite.
Volevo chiedervi se è possibile avere il codice per farla comunicare da PC rs232 o con USB tramite comandi seriali.
Esempio:
Rs232 relè1on invio
E avere tutti gli stati input sempre in via seriale
In modo tale da visualizzarlo con visual basic.
Grazie
I am new here... I have uploaded the digital input code to the KC868-a8s-v2 from the knowledge base. SEE BELOW. When I test the voltage on the input with nothing connected, there is 11.2v read from all of the inputs.
Why is this happening?
How do I use the digital inputs?
#include "Arduino.h"
#include "PCF8574.h"
// Set i2c address
PCF8574 pcf8574(0x22,4,5);// 0x22 is address, IO4 is SDA IO5 is SCL
unsigned long timeElapsed;
void setup()
{
Serial.begin(115200);
delay(1000);
I use the j-link tool and it can't connect to the component. I installed the driver and connected everything according to the manual, what am I doing wrong? I am attaching pictures of the processor and the error
I am trying to connect KC868-AIO to ESPHome. Home Assistant and ESPHome are installed on my QNAP server in separate docker containers. I connected KC868-AIO to my computer with a USB data cable but it does not show up in the list of the available ports. What is wrong?
Hi,
Can I use the DI8 input to detect a DC signal in the range of 0.8 to 1.5 V? I previously used an Arduino Mega, which could read voltage levels on its digital I/O pins. Now, I’m looking to replace the Arduino with an ESPHome solution that can accomplish the same task.
The goal is for the signal to be represented as an On or Off input in Home Assistant.
Is this setup feasible? Or are there better methods to bring 0.8 to 1.5 V DC signals into Home Assistant?
Thank you!
I am configuring the KC868-M30 to monitor a split-phase residential electrical system in the United States, which consists of two hot legs: L1 and L2 with a total of 30 spaces. I seek clarification on the assignment of the 30 CT clamp sensor inputs. Specifically, I would like to know if there is a required mapping between the sensor inputs and the two-phase legs. Should the inputs be organized as follows:
Inputs 1–10 assigned to Phase A (L1)
Inputs 11–20 assigned to Phase B (L2)
Inputs 21–30 left unassigned or used for other purposes
Or is it permissible to connect the CT clamps to any input channel, regardless of the phase they are monitoring, as long as the configuration in the software accurately reflects the phase association for each input?
Understanding the correct procedure is crucial for ensuring accurate phase identification and power calculations. Your guidance on this matter would be greatly appreciated.