DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Moderator: leecollings
-
- Posts: 12
- Joined: Tuesday 12 February 2019 14:57
- Target OS: OS X
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
I don't remember exactly what the manual tells but it's the same way to connect this wifi module than ITEAD SONOFF modules. And they are running with an ESP8266 too.
-
- Posts: 35
- Joined: Monday 12 November 2018 14:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
I have checked tonight for open ports and I can report that none are found.
The unit is connected to the cloud, so I guess it closes all listening ports after configuration.
The unit is connected to the cloud, so I guess it closes all listening ports after configuration.
-
- Posts: 35
- Joined: Monday 12 November 2018 14:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Could you open the unit and take some pictures?telectroboy wrote:Hello Guys,
I've bought the same smart meter with wifi connection.
I've opened it and YES it's works on ESP8266.
I'm not able to find the source files and I, first, had the project to add an ESP32 to the RS485 ModBus in order to retrieve datas.
For me, Wisen software works great but no power history are saved.
So I want to get rid of this software and build an internet page. So tonight I'll open this smart meter and post some pictures of the inside.
Perhaps together we could understand how it works to build a new software.
See U
I would like to take a look At the internals and how the interface is connected.
Thanks
-
- Posts: 35
- Joined: Monday 12 November 2018 14:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Any new findings or updates?
I cannot make the historical data to work on the Wisen app, which kind of makes useless the system.
I cannot make the historical data to work on the Wisen app, which kind of makes useless the system.
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Thank you for this information.
That mean that we really need to do a backup of the firmware before doing anything.
The ESP inside seam to be the DFRobot WT8266-S1 card.
Everything is soldered on my unit.
I can't unmount the ESP, neither the display...
The GPIO0 is not connected to external button, so we need to pull down manually to start in the bootloader.
I tried again and again to associate the device to my local apps, it never work.
But now the main goal is to do a backup of the firmware.
I saw a MAX1308 5EESA chip on the board (the RS485 interface).
It seam that all the calculation is done by the board, not the ESP.
I guess that the ESP only read values through the serial bus.
I saw 2 GPIO connected : the first one to the led "COM" (can't see which gpio) and the second to the "Setting" button (GPIO13).
@Gaudi:
Have you try to analyze the traffic between your device and the cloud?
Is it in HTTPS?
-
- Posts: 35
- Joined: Monday 12 November 2018 14:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
I am willing to collaborate. I am familiar with the Wireshark software features, but have never used it. If you could point me how to capture, filter and export the packages I will readily provide the information.Djoe wrote: @Gaudi:
Have you try to analyze the traffic between your device and the cloud?
Is it in HTTPS?
As i have never done any packet sniffing, I am unaware if my current network topology will allow for it.
I am using a Ubiquiti USG, managed switch and Wireless AP. I have not set up any special VLAN.
Also, if there any other tools, I can work them out. I have a current installation of Kali in a multiboot setup in my notebook, so can resort to other way of packet capturing.
Thanks
-
- Posts: 12
- Joined: Tuesday 12 February 2019 14:57
- Target OS: OS X
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Hi guys,
I've opened it.
Behind LCD there is a G80F924 I think that everything is made here...
You can find a chinese datasheet here:
http://www.dycmcu.com/data/upload/201506/111111471.pdf
Close to it you can find a Soic 8 marked with 4G04. Regarding the wiring it looks like and I2C EEPROM.
BR24G04
http://rohmfs.rohm.com/en/products/data ... 04-3-e.pdf
Does the main firmware is inside??? I don't know. Perhaps is there a pin to link to ground or VCC to select from internal or external memory?
I'll post some pisctures later.
I've opened it.
Behind LCD there is a G80F924 I think that everything is made here...
You can find a chinese datasheet here:
http://www.dycmcu.com/data/upload/201506/111111471.pdf
Close to it you can find a Soic 8 marked with 4G04. Regarding the wiring it looks like and I2C EEPROM.
BR24G04
http://rohmfs.rohm.com/en/products/data ... 04-3-e.pdf
Does the main firmware is inside??? I don't know. Perhaps is there a pin to link to ground or VCC to select from internal or external memory?
I'll post some pisctures later.
-
- Posts: 12
- Joined: Tuesday 12 February 2019 14:57
- Target OS: OS X
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
OK so the main MCU is especially made for energy measurement.
It's based on a 8051 µC.
I've got some programmers like superpro, labtool... I'll try to read it and 24G04.
It's based on a 8051 µC.
I've got some programmers like superpro, labtool... I'll try to read it and 24G04.
Last edited by telectroboy on Tuesday 05 March 2019 9:16, edited 1 time in total.
-
- Posts: 12
- Joined: Tuesday 12 February 2019 14:57
- Target OS: OS X
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Bad news...
I've got DataMan, SuperPro and LabTool but none of them is able to read the content of the G80F924...
Does someone has a good idea?
I've got DataMan, SuperPro and LabTool but none of them is able to read the content of the G80F924...
Does someone has a good idea?
-
- Posts: 12
- Joined: Tuesday 12 February 2019 14:57
- Target OS: OS X
- Domoticz version:
- Contact:
-
- Posts: 12
- Joined: Tuesday 12 February 2019 14:57
- Target OS: OS X
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
I'll try to backup the ESP8266 with Esptool https://github.com/espressif/esptool
And spy the RS232 transmission between MCU and ESP.
In order to make a webpage displaying historic and actual power value.
-
- Posts: 35
- Joined: Monday 12 November 2018 14:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Thank you.telectroboy wrote:
I'll try to backup the ESP8266 with Esptool https://github.com/espressif/esptool
And spy the RS232 transmission between MCU and ESP.
In order to make a webpage displaying historic and actual power value.
I am not even close to your skills, and am following your posts closely to find updates.
My impression is that best will be to flash a generic firmware to interface it directly to Domoticz server.
Regards
-
- Posts: 2
- Joined: Tuesday 12 March 2019 21:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
I think the WISEN App is built using HEKR SDK which is open source. I spent some time trying to figure out how it works and it seems like the communication between the meter and the App is happening via UDP Port 10000
Here is the link to HEKR SDK Source Code: https://github.com/HEKR-Cloud/HEKR-ANDROID-SDK
Here is the source code of an app built using HEKR SDK: https://github.com/HEKR-Cloud/HEKR-ANDROID-APP
I still haven't received the smart meter and the shipping is painfully slow. I might receive it within two weeks and I am excited!
Here is the link to HEKR SDK Source Code: https://github.com/HEKR-Cloud/HEKR-ANDROID-SDK
Here is the source code of an app built using HEKR SDK: https://github.com/HEKR-Cloud/HEKR-ANDROID-APP
I still haven't received the smart meter and the shipping is painfully slow. I might receive it within two weeks and I am excited!
-
- Posts: 2
- Joined: Tuesday 12 March 2019 21:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Look what I just found! You will need google translate!
https://goo.gl/eZWN3E
HEKR module serial port transparent transmission protocol: https://goo.gl/eQuw32
Hardware Module Documentation: https://goo.gl/8KRdmX
More Juicy Info: http://docs.hekr.me/protocol/
In general, everything you guys have been looking for is available in http://docs.hekr.me/v4/ but the language is going to be a problem!
Good luck!
https://goo.gl/eZWN3E
HEKR module serial port transparent transmission protocol: https://goo.gl/eQuw32
Hardware Module Documentation: https://goo.gl/8KRdmX
More Juicy Info: http://docs.hekr.me/protocol/
In general, everything you guys have been looking for is available in http://docs.hekr.me/v4/ but the language is going to be a problem!
Good luck!
-
- Posts: 35
- Joined: Monday 12 November 2018 14:47
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Has anyone done any progress into interfacing this unit with Domoticz?
Or any other way of gathering data without using the wired RS485 interface?
Thanks
Or any other way of gathering data without using the wired RS485 interface?
Thanks
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Hi Guys, I'm new here. I bought the smart meter DDS238 4 W and installed it succesfully to measure solarpower. I installed the Wisen App on my telephone and that worked well also.The seller told me historical data is not available in the European region. So far so good.
Now about my problem. In the Wisen app there is a button where you can swich off the DDS238 4 W. I used that button to test it and know it's impossible to power on the DDS238 4 W. It has no reset button. So my question is , how can I power on the DDS238 4 W again.
Now about my problem. In the Wisen app there is a button where you can swich off the DDS238 4 W. I used that button to test it and know it's impossible to power on the DDS238 4 W. It has no reset button. So my question is , how can I power on the DDS238 4 W again.
-
- Posts: 843
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
@Willem1
Is something useful available in the Description in the bottom part of this Link @ AlieX?
What happens if you 'toggle' the subject Off-button in the App?
[Because in above-mentioned description the text under the 'blue picture titled Smart-Meter' says 'Knop: gebruikt voor controle on/off van meter output']
Is something useful available in the Description in the bottom part of this Link @ AlieX?
What happens if you 'toggle' the subject Off-button in the App?
[Because in above-mentioned description the text under the 'blue picture titled Smart-Meter' says 'Knop: gebruikt voor controle on/off van meter output']
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
@ Toulon7559
Thank you for your reaction. I used the OFF button as you can see in your link from the blue picture.
After I swiched off the DDS238 4 W in the Wisen app it's impossible to use the app because the app says "The device is offline , Please try again later " I swiched OFF the WiFi to. The app is useless at the moment.
I contacted the seller and hope to here from him soon.
Thank you for your reaction. I used the OFF button as you can see in your link from the blue picture.
After I swiched off the DDS238 4 W in the Wisen app it's impossible to use the app because the app says "The device is offline , Please try again later " I swiched OFF the WiFi to. The app is useless at the moment.
I contacted the seller and hope to here from him soon.
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
@ Toulon7559
I know what the problem is. I made a mistake. I connected the powerplug site in connection 2 an 4 and the solar site in 1 and 3. That's the reason it looked dead.
I know what the problem is. I made a mistake. I connected the powerplug site in connection 2 an 4 and the solar site in 1 and 3. That's the reason it looked dead.
-
- Posts: 843
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
@Willem1
That is the risc of connection of 4 wires to 4 terminals .......
Sometime Mr. Murphy is in the vicinity.
That is the risc of connection of 4 wires to 4 terminals .......
Sometime Mr. Murphy is in the vicinity.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Who is online
Users browsing this forum: No registered users and 1 guest