stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
126 stars 40 forks source link

Add multi-PZEM support - 3-phase support #20

Closed stefanbode closed 5 years ago

stefanbode commented 6 years ago

In Germany all houses are connected through a three phase power connection. To measure the complete energy usage it is required to measure all three phases. Instead of using 3 ESP8266 and PZEM-004T there is some convenience to connect all 3 PZEM to one ESP.

The trick is to use 3 TX lines communicating all over ONE RX line, because the ESP does not support more.

On Hardware wire you have to remove resistor R15 at TWO of the three devices. Please see: https://github.com/apreb/eNode/issues/1#issuecomment-354369777

roblad commented 6 years ago

Hi,

Do you plan to came back with that ?

stefanbode commented 6 years ago

Yes, I have the devices already on my table and made some initial changes to support multiple devices already. My plan is to finalize and test at the weekend. I will use them productive also personally.

roblad commented 6 years ago

Hi, I am still waiting from China

stefanbode commented 6 years ago

Really nasty. I got one working smoothly but still not successful getting values from the second one. As soon as there are TWO devices connected no more responses on the RX. Still debugging.

roblad commented 6 years ago

Hi,

Probably you need to plug 3 of them

stefanbode commented 6 years ago

Hi rob, due to toooooo many problems I will not include this into my branch. To many side effects I do not understand.

roblad commented 6 years ago

Hi,

Any progress ?

stefanbode commented 6 years ago

No, currently I would classify it with too complex for me. I will cancel this and measure the e phases with three wemos minis.

roblad commented 6 years ago

Hi,

Then me to :-)

roblad commented 6 years ago

Hi,

Have seen that ?

https://github.com/arendst/Sonoff-Tasmota/issues/2315#issuecomment-384643624

May be there is an solution n ?

roblad commented 6 years ago

Work is going :-)

https://github.com/arendst/Sonoff-Tasmota/issues/2315#issuecomment-385266151

stefanbode commented 5 years ago

Fully included in master firmware