I recently changed from 1-wire counter to MySensors to log my power consumption (counting led).
Before, Domoticz had to do the conversion. I have 10 000 imp/kWh. Setting the divider in settings to 10000 gave me correct values.
Now, the MySensors sensor report watt and kWh to Domoticz (#1. V_WATT (4386), V_KWH (70.0002)).
Domoticz added the sensor as "General, kWh" and the calculation is set to "From device".
However, Domoticz still use the divider in settings. The graphs was showing the wrong usage and the widget was showing the total kWh usage both for the main value and the "Today" value even when the day changed.
I changed the divider to the standard 1000 and now everything shows up correct but why does that matter?
By looking at the devices and the data sent by the MySensors sketch (adapted to my settings), it is reporting current watt usage and consumption correct (V_KWH 70.0002). I have used 70kWh since going from 1-wire to MySensors. What data is the divider.... dividing?

This is correct with the divider set to 1000 (graphs correct): This one is wrong with the divider set to the old 10000 value (graphs wrong):